跳至内容
WordPress.org

China 简体中文

  • 主题
  • 插件
  • 新闻
    • 文档
    • 论坛
  • 关于
  • 获取 WordPress
获取 WordPress
WordPress.org

Plugin Directory

SnapAura Menu Manager

  • 提交插件
  • 我的收藏
  • 登录
  • 提交插件
  • 我的收藏
  • 登录

SnapAura Menu Manager

作者:snapaura
下载
  • 详情
  • 评价
  • 安装
  • 开发进展
支持

描述

SnapAura Menu Manager gives you granular control over when and where your menu items appear. Perfect for creating dynamic navigation that adapts to your visitors’ context.

Features:

  • Login State Control – Show menu items only to logged-in or logged-out users
  • User Role Visibility – Show menu items only to specific user roles (Administrator, Editor, Author, Contributor, Subscriber)
  • Device-Based Hiding – Hide items on mobile, tablet, or desktop devices
  • Current Page Hiding – Automatically hide menu items when viewing that page
  • Works with Any Theme – Compatible with all WordPress themes
  • No Configuration Required – Simple checkboxes in the menu editor

Use Cases:

  • Show “Login” only to logged-out users and “Dashboard” only to logged-in users
  • Show “Edit Posts” only to Editors and Administrators
  • Show “Submit Article” only to Authors and Contributors
  • Hide contact links on mobile to save space
  • Create different navigation experiences for different devices
  • Remove redundant navigation when already on a page

How It Works:

  1. Go to Appearance > Menus
  2. Expand any menu item
  3. Check the visibility options you want
  4. Save your menu

No complicated settings or configuration files. Just simple checkboxes that do exactly what they say.

屏幕截图

  • Menu editor showing visibility checkboxes for each menu item

安装

  1. Upload the plugin files to /wp-content/plugins/menu-visibility-control/, or install through the WordPress plugins screen
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Go to Appearance > Menus to configure visibility for your menu items

常见问题

Does this work with my theme?

Yes! SnapAura Menu Manager works with any WordPress theme that uses standard WordPress menus.

Will this slow down my site?

No. The plugin adds minimal CSS and uses efficient WordPress filters. There’s no JavaScript and no external resources.

Can I hide items based on user roles?

Currently, the plugin supports logged-in vs logged-out visibility. Role-based visibility may be added in a future version.

What are the device breakpoints?

  • Mobile: 767px and below
  • Tablet: 768px to 980px
  • Desktop: 981px and above

Does this work with mega menus or custom menu systems?

It works with any system that uses WordPress’s wp_nav_menu function. Custom menu builders that bypass WordPress’s menu system may not be compatible.

评价

此插件暂无评价。

贡献者及开发者

「SnapAura Menu Manager」是开源软件。 以下人员对此插件做出了贡献。

贡献者
  • snapaura

帮助将「SnapAura Menu Manager」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志。

更新日志

1.1.0

  • Added user role visibility (show menu items only to specific roles)
  • Support for Administrator, Editor, Author, Contributor, and Subscriber roles
  • Role restrictions work with OR logic (show to any checked role)
  • Improved menu organization with role-based access control

1.0.0

  • Initial release
  • Login state visibility (logged in / logged out)
  • Device-based hiding (mobile / tablet / desktop)
  • Current page hiding
  • Full internationalization support

额外信息

  • 版本 1.1.0
  • 最后更新:3 月前
  • 活跃安装数量 不到10
  • WordPress 版本 5.0 或更高版本
  • 已测试的最高版本为 6.9.4
  • PHP 版本 7.4 或更高版本
  • 语言
    English (US)
  • 标签
    loginmenumobileresponsivevisibility
  • 高级视图

评级

尚未提交反馈。

Your review

查看全部评论

贡献者

  • snapaura

支持

有话要说吗?是否需要帮助?

查看支持论坛

  • 关于
  • 新闻
  • 主机
  • 隐私
  • 陈列窗
  • 主题
  • 插件
  • 区块样板
  • 学习
  • 支持
  • 开发者
  • WordPress.tv ↗︎
  • 参与
  • 活动
  • 捐赠 ↗
  • 未来五分计划
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

China 简体中文

  • 关注我们的 X(原 Twitter)账号
  • 访问我们的 Bluesky 账号
  • 关注我们的 Mastodon 账号
  • 访问我们的 Threads 账号
  • 访问我们的 Facebook 公共主页
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
  • 访问我们的 TikTok 账号
  • 访问我们的 YouTube 频道
  • 访问我们的 Tumblr 账号
代码如诗
The WordPress® trademark is the intellectual property of the WordPress Foundation.