Auto Menu From Pages Wordpress Plugin - Rating, Reviews, Demo & Download
Plugin Description
A MIGHTYminnow plugin. Enjoy? Consider leaving a 5-star review.
Auto Menu From Pages generates a WordPress navigation menu that matches your page order and hierarchy. Simply click the Sync Auto Menu link in the admin bar to update the auto menu and reflect any changes you make to your pages so it is always current.
The auto menu works just like any other WordPress navigation menu, meaning that you can assign it to any of your theme’s menu locations, output it using the Custom Menu widget, and do anything else that you could normally do to a navigation menu.
Instructions
- Install and activate the plugin.
- Navigate to Appearance > Menus in the WordPress admin and select the “Auto Menu From Pages” menu to edit (this should automatically happen on activation).
- Assign the auto menu to one or more of your theme’s menu locations using the normal “Theme locations” checkboxes, and save the menu.
- Click the Sync Auto Menu link in the admin bar to automatically update your menu to reflect any changes you’ve made to your pages (title, order, etc).
- Note: To hide a page from the auto-menu, check the “Hide from the auto menu” checkbox when editing that page.
Enabling Auto-Syncing
This plugin has the ability to automatically sync your menu after pages are modified, however the feature is turned off by default as it can create significant overhead. To turn it on, use the provided amfp_auto_sync_menu
filter and set it to true, like so:
add_filter( 'amfp_auto_sync_menu', '__return_true' );