🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Compte Get it free
Shed Menu icon
Activement maintenu Testé avec WP 7.1 #35 in conditional

Shed Menu

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

Installations actives<10Nouveau
Téléchargements · 30D123▲ +61.8% vs prev. 30d
Évaluation—0 avis
Score de santé64/100Bon
Téléchargements de tous les temps505Depuis mai 2026
Support résolu—Aucun fil de discussion récent
A besoin deWP 6.0PHP 8.1+
Téléchargements · 7j18▼ -76% week over week
Notre verdict

Choix solide

Shed Menu is a solid plugin choice in 2026, with a few things worth checking first. Was last updated 2 weeks ago, and scores 64/100 on our health check.

  • Développé activement — Dernière mise à jour il y a 2 semaines
  • Testé avec le dernier WordPress (7.1)
  • Petite base d'utilisateurs (<10 installations actives)
  • Très peu de critiques jusqu'à présent
  • Nécessite PHP 8.1 ou plus récent

Comment s'accumule-t-il ?

Côte à côte sur les installations, les mises à jour, les évaluations et le support

Téléchargements quotidiens

91827Sep 2Oct 16Nov 30
Hier1
Moyenne quotidienne (1 ans)3
Jour de pointe37Nov 19, 2026
12 Derniers mois505

Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.

Classements

Where Shed Menu stands today

WordPress.org Classements de recherche

Position en direct dans la recherche de plugins, Top 100
Mot-cléPositionPlugins concurrentsCatégorie
conditionnel >100 2,967 Meilleurs plugins conditionnels →
menu >100 10,000 Meilleurs plugins de menu →
la navigation >100 7,102 Meilleurs plugins de navigation →
rôle >100 7,830 Meilleurs plugins de rôle →
visibilité >100 5,927 Meilleurs plugins de visibilité →

About Shed Menu

From the official readme · v0.1.8

Description

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

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

Helper function example

<?php if ( shedmenu_visible( [ 'login' => 'in' ] ) ) : ?>
    <li><a href="/mypage/">My Page</a></li>
<?php endif; ?>

Exemple de shortcode

[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.

Installation

  1. Upload the shed-menu folder to the /wp-content/plugins/ directory, or install via the Plugins screen in WordPress.
  2. Activez le plugin via l'écran des plugins.
  3. Go to Appearance → Menus, expand any menu item, and configure visibility conditions.

Journal de modifications

Visibility conditions are no longer reset when a menu item is updated without the Shed Menu fields.

0.1.8

  • Fixed: Unchecking both options on the settings screen saved both as ON (the browser sends nothing when both boxes are unchecked, and an empty submission was read as “use the defaults”). An empty submission now means both are OFF.
  • Fixed: Updating a menu item without the Shed Menu fields (for example with WP-CLI, in the Customizer, from another plugin, or with the fields hidden in the settings) reset its saved visibility conditions. The conditions are now kept unless the Shed Menu fields are submitted.
  • Fixed: A menu item whose stored end date was not a valid date was hidden; it is now treated as having no end date, like the shortcode and the block.

0.1.7

  • [doc] Clarified in the description, FAQ, and manual that Shed Menu controls display only, not access — hiding a menu item does not restrict access to the linked page or URL.
  • Confirmed compatibility with WordPress 7.1 (including the block editor changes shipped in 7.1.1).

0.1.6

  • Confirmed compatibility with WordPress 7.0

0.1.5

  • [fix] Block namespace renamed from shed/conditional to shed-menu/conditional for WordPress.org compliance.
  • [fix] Helper function renamed from shed_menu_visible() to shedmenu_visible() for prefix consistency.
  • [fix] Shortcode renamed from [shed_menu_visible] to [shedmenu_visible] for prefix consistency.
  • [fix] readme.txt License field updated to SPDX identifier GPL-2.0-or-later.

0.1.4

  • [perf] Child-item cascade removal now uses O(1) hash lookup instead of O(n) in_array; added circular-reference guard.
  • [fix] Added update_meta_cache() call in filter_menu_items() to prevent N+1 meta queries on large menus.
  • [fix] normalize_datetime() now validates month/day with checkdate() to reject invalid dates like 2026-02-30.
  • [fix] array_filter() applied to roles meta in is_item_visible() to strip empty strings stored in serialized arrays.
  • [fix] Added Domain Path header; renamed wp_localize_script object from wsmData to shedmenuData.
  • [fix] Removed non-standard Description-ja header field.

0.1.2

  • [fix] Constant Shedmenu_PATH renamed to SHEDMENU_PATH to follow WordPress naming conventions (uppercase).
  • [fix] Replaced phpcs:disable/enable blocks with per-line phpcs:ignore in menu item save handler. Added English comment explaining core nonce pre-verification.

Journal des modifications complet sur WordPress.org →

Captures d'écran

Visibility fields added to each menu item in Appearance → Menus.
Visibility fields added to each menu item in Appearance → Menus.
The Conditional block in the Gutenberg editor with sidebar settings.
The Conditional block in the Gutenberg editor with sidebar settings.
Plugin settings screen (Settings → Shed Menu).
Plugin settings screen (Settings → Shed Menu).

Pour les développeurs

Est-ce votre plugin ? Montrez les chiffres.

Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.

Badge d'installations actives Badge Badge de score de santé

Best Shed Menu alternatives

Tous les plugins conditionnels →
Alternatives
Rang Plugin Installations actives Évaluation Mise à jour Santé
1 Visibilité dynamique pour Elementor Visibilité dynamique pour Elementor Show or hide Elementor widgets, containers, columns, and pages based on user role, date… par Dynamic.ooo 40K+ ★★★★★★★★★★ 4.6 (89) il y a 1 mois 74
2 ELE Conditions pour Elementor ELE Conditions pour Elementor Ajoutez des déclencheurs interactifs et une logique d'affichage conditionnelle à n'importe quel élément Elementor — Afficher… par Dudaster 2K+ ★★★★★★★★★★ 4.2 (5) il y a 7 mois 52
3 Visibilité du contenu pour le constructeur Divi Visibilité du contenu pour le constructeur Divi Visibilité du contenu pour Divi Builder. de Jonathan Horowitz 2K+ ★★★★★★★★★★ 4.8 (101) Il y a 2 mois 67
4 Courriels logiques conditionnelles, champs, redirection pour les formulaires Elementor E-mails de logique conditionnelle, champs, redirection pour Elementor fo… Afficher et masquer les champs. Envoyez certains e-mails, n'envoyez pas d'autres personnes. Redirigez vers l'une des nombreuses pages… par Add-Ons.org 2K+ ★★★★★★★★★★ 4.3 (12) Il y a 3 mois 76
5 Popup d'images simples Popup d'images simples A modern popup manager for WordPress with multiple popups, targeting rules, legacy… par MrDigital 1K+ ★★★★★★★★★★ 5 (3) il y a 6 jours 77
6 IF-SO Contenu conditionnel pour Elementor IF-SO Contenu conditionnel pour Elementor Logique conditionnelle pour Elementor. Aucune configuration ou codage requis. Entièrement compatible avec n'importe quel… par IF-So Contenu dynamique 1K+ ★★★★★★★★★★ 5 (1) Il y a 3 mois 73
7 Tarifs d'expédition supplémentaires pour WooCommerce Tarifs d'expédition supplémentaires pour WooCommerce Définissez facilement les tarifs d'expédition en fonction de diverses conditions pour correspondre à votre entreprise… de Viszt Péter 1K+ ★★★★★★★★★★ 5 (3) il y a 4 semaines 66
8 Contrôle de visibilité des menus Contrôle de visibilité des menus Contrôle WordPress Visibilité des éléments de menu en fonction de l'état de connexion, des rôles d'utilisateur, du type d'appareil ou… Par Davis Simiyu Wanyoni 800+ ★★★★★★★★★★ 5 (3) Il y a 2 mois 77
9 Logique de blocs – Commande d'affichage en bloc complet Logique de blocs – Commande d'affichage en bloc complet Block Logic ajoute un champ de "logicage de bloc" à l'éditeur de blocs, qui vous permet d'afficher ou de masquer n'importe quel… par Landwire 300+ ★★★★★★★★★★ 5 (13) Il y a 6 mois 49
10 Affichage pendant le shortcode conditionnel Affichage pendant le shortcode conditionnel Afficher ou masquer le contenu en fonction des plages de dates, des horaires récurrents, ou des horaires personnalisés… de Gabriel Serafini 200+ ★★★★★★★★★★ 5 (3) il y a 6 jours 76

FAQ

Shed Menu: quick answers

Réponses directes, extraites des données en direct WordPress.org.

Source : WordPress.org

Is Shed Menu free?

Yes. Shed Menu is free to download and use from the official WordPress.org plugin directory.

Is Shed Menu safe to use in 2026?

Shed Menu is a solid plugin choice in 2026, with a few things worth checking first. Was last updated 2 weeks ago, and scores 64/100 on our health check.

How many websites use Shed Menu?

Shed Menu is active on <10 WordPress websites and has been downloaded 505 times since it launched in May 2026. It was downloaded 123 times in the last 30 days.

Does Shed Menu work with WordPress 7.1?

Yes. The developer has tested Shed Menu up to WordPress 7.1.5, the latest release. It requires WordPress 6.0 or newer.

What PHP version does Shed Menu need?

Shed Menu requires PHP 8.1 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Shed Menu last updated?

The latest version, 0.1.8, was released on November 19, 2026 (2 weeks ago).

Who makes Shed Menu?

Shed Menu is developed and maintained by teamstaccato.

What are the best alternatives to Shed Menu?

The most popular alternatives to Shed Menu are Dynamic Visibility for Elem… (40K+ installs), Ele Conditions for Elementor (2K+ installs) and Content Visibility for Divi… (2K+ installs).

Propulsé par PageForge

Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.

PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.

  • CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
  • Son propre titre, URL, SEO champs et schéma pour chaque page
  • Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
  • Gratuit sur WordPress.org, pas de carte de crédit

↑↓ bouger↵ ouvrir