Automatically generate a navigation menu from your page hierarchy.
|Author:||MIGHTYmi (profile at wordpress.org)|
|WordPress version required:||5.3|
|WordPress version tested:||5.3.2|
|Added to WordPress repository:||31-03-2015|
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|Total downloads:||7 095|
Click to start download
How does the menu work?
The menu takes your hierarchy of pages and creates a nav menu item for each page. Every time you make a change to the pages on your site, simply click the Sync Auto Menu link in the admin bar to update your menu. Alternately, you can use the provided
amfp_auto_sync_menu filter (just return true) to turn on auto-syncing, however this can create significant overhead.
Can I exclude pages from the auto menu?
Yes. When editing a page, look for the “Auto Menu From Pages” metabox, and simply check the box for “Hide from the auto menu”.
Why can’t I directly edit the menu?
You’ll notice that the auto menu doesn’t have the same editing abilities (manually adding a menu item, drag-and-drop sorting of menu items, etc) as other menus. That’s because the menu automatically updates to match your page hierarchy, so any manual edits you made to the menu would only be overwritten the next time you edited your pages.
Can I manually add/items to the menu?
At present, no. The menu auto generates based on your page hierarchy, and therefore isn’t able to allow for manually added nav menu items.
- Fix: broken admin animation (thanks @jgonzo127)
- Fix: extract map_page_auto_menu_item_ids() to prevent errors in PHP <= 5.3
- Fix: some pages not being added to menu (issue of more than one page pointing to the same menu item).
- Add support for installs with prefixed databases (solves issue of pages missing from menu).
- Add support to exclude pages from Simple Section Nav plugin.
- Remove testing filter that was setting auto-syncing to on by default.
- Switch to manual Sync Auto Menu link in the admin bar.
- Turn off auto-syncing feature by default, add
amfp_auto_sync_menufilter to turn it on for development.
- Fix admin notice dismiss bug that was redirecting to the incorrect page
- Remove functionality that deletes the menu on plugin deactivation
- Fix bug causing admin CSS to render on non-menu pages, hiding various elements
- First release