WordPress plugin intelligence profile

Shed Menu

Show or hide WordPress menu items based on login status, user role, or scheduled date range. Adds conditional visibility to your navigation.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.1
Current version0.1.7
WordPress coverageTested up to WordPress 7.1
Minimum stackWP 6.0 · PHP 8.1
Directory statusactive
Last directory update25 Sept 20261mo ago
Active installationsNewAdoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Shed Menu version 0.1.7 as active, updated 1mo ago and tested up to WordPress 7.1.

Overview

About this plugin

Shed Menu adds visibility conditions to WordPress navigation menu items. You can show or hide each item based on three conditions:

  • Login status (logged in / logged out / everyone)
  • Date range (start datetime, end datetime)
  • User roles (administrator, editor, author, contributor, subscriber, or custom roles)

All conditions are optional and combined with AND logic. This plugin reads the current user’s role information via wp_get_current_user() to evaluate role-based conditions.

Important: this is display control, not access control

Shed Menu hides menu items, blocks, and shortcode content from output. It does not restrict access to the underlying page, post, or URL. A visitor who knows or guesses the direct URL can still open it even if the menu link to it is hidden.

Do not rely on Shed Menu to protect private or paid content — use post visibility settings (Private / Password protected) or a membership plugin for that.

Three ways to use

  • Standard menus — Open Appearance → Menus, expand any item, and set the conditions inline.
  • Hand-coded themes — Use the helper function shedmenu_visible() in your header.php or other template files.
  • Block editor — Wrap any blocks in the “Shed Menu — Conditional” block to show/hide them based on the same conditions.

Helper function example

>

Shortcode example

[shedmenu_visible login="in" start="2026-04-01" end="2026-04-30" roles="administrator"] This content is only visible to administrators between April 1 and April 30. [/shedmenu_visible]

日本語の説明

WordPress 標準ナビゲーションメニューに、メニュー項目単位の表示条件を追加します。

  • ログイン状態(ログイン中 / ログアウト中 / 全員)
  • 表示期間(開始日時・終了日時)
  • ユーザーロール(管理者 / 編集者 / 投稿者 等)

全ての条件は任意で、AND 条件で組み合わされます。

外観 → メニュー画面で各項目に条件を設定できます。テーマで wp_nav_menu() を使わず HTML 直書きしている場合は shedmenu_visible() ヘルパー関数を使ってください。Gutenberg では「Shed Menu — Conditional」ブロックで任意のブロック群を条件表示にできます。

重要: これは「表示の制御」であり「アクセス制限」ではありません。 Shed Menu はメニュー項目・ブロック・ショートコードの内容を出力しないようにするだけで、リンク先のページや投稿・URL 自体へのアクセスを制限するものではありません。メニューを非表示にしても、URL を直接知っている(または推測できる)訪問者はそのページを開けます。非公開にしたい・有料会員限定にしたいコンテンツの保護には、投稿の公開状態(非公開・パスワード保護)や会員制プラグインを使ってください。

Third-Party Services

This plugin does not connect to any external services. All processing happens on your own server.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • conditional
  • menu
  • navigation
  • role
  • visibility
Compatibility & maintenance

Compatibility & maintenance

Tested with WP 7.1

Marked as tested with the current WordPress 7.1 release.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.1
Minimum requirementsWordPress 6.0 · PHP 8.1
Update activity25 Sept 20261mo ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

Version0.1.60.1.7
WordPress compatibility7.0.47.1.2
Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.