Linux 软件免费装

Menu Ghost

开发者 sarailoo
更新时间 2025年11月13日 05:52
PHP版本: 8.0 及以上
WordPress版本: 6.8
版权: GPLv2 or later
版权网址: 版权信息

标签

navigation personalization user roles conditional menus menu visibility

下载

1.0.0 1.0.1

详情介绍:

Menu Ghost lets you conditionally display each menu item based on factors like user role, device, date, pages, and more. Design frictionless navigation experiences and boost conversions by only showing relevant menu items to each visitor. Menu Ghost integrates with the native WordPress menu editor and adds a modern conditions interface that feels like it belongs in core. Everything happens inside Appearance → Menus no shortcodes or template edits required.

安装:

  1. Upload the menu-ghost folder to /wp-content/plugins/ or install via the Plugins screen.
  2. Activate Menu Ghost through Plugins → Installed Plugins.
  3. Go to Appearance → Menus, open a menu item, and click Display Conditions to start adding rules.

屏幕截图:

  • Pages tab focused on a single "Exclude date archive" rule for quick toggles.
  • Pages tab showing layered include/exclude rules for archives, authors, and WooCommerce products.
  • Advanced Rules User section overview: User Role, User Device, Login Status, Signup Date and Browser Language.
  • Advanced Rules Date & Time section overview: Days of the Week, Within Date Range and Within Time Window.
  • URL & Campaign summary list highlighting query string and UTM parameter switches.
  • Expanded User panel with role/device/login toggles enabled for desktop, tablet, and mobile.
  • Date & Time editor displaying weekday picker, date range, and time window controls.
  • URL & Campaign detail editor configuring a query parameter and UTM campaign value.

升级注意事项:

1.0.0 First release. Configure your menus after activation to start controlling visibility.

常见问题:

Does this plugin slow down my site?

No. Menu Ghost only evaluates rules when wp_nav_menu() renders, using cached WordPress APIs. Nothing is injected on the front end, and there are no extra tables or cron jobs.

Will it work with my theme or page builder?

Yes. Any theme or builder that leverages the core menu system automatically benefits from Menu Ghost. No template edits, hooks, or shortcodes required.

Can I show or hide links for logged-in customers only?

Absolutely. Enable “Login Status” rules to create separate navigation items for logged-in and logged-out visitors.

Can I schedule menu links for seasonal campaigns?

Use the date range or time window rules to automatically activate/deactivate links without touching menus again.

How do I localize menus for different languages?

Use the browser language condition or query-string parameters (e.g., ?lang=fr) to tailor navigation per locale.

Does Menu Ghost work with WooCommerce or membership plugins?

Yes. As long as the menu item exists in WordPress, you can apply Menu Ghost rules to it—ideal for WooCommerce account links, LMS dashboards, community forums, and more.

Where are the translations stored?

If you upload the plugin to WordPress.org, translations are managed by GlotPress. Custom translations can be placed in wp-content/languages/plugins/menu-ghost-*.mo.

Can I migrate settings between sites?

All data is stored in post meta, so it travels with standard WordPress export/import tools, backup plugins, or site migration services.

更新日志:

1.0.0