FB Page Attributes WP Menu

Description

Automatically keep the page parent structure from page attributes in sync with a menu. Once you select which menu you want to keep in sync, save a page parent, and menu will be automatically updated, or save the menu and the page parent will be automatically updated. You can also add a page to the menu straight from the page attributes area when editing a page.

Screenshots

  • Choose the menu to keep in sync
  • Manage the auto-redirects that are set up when your menu changes change the parent url portions
  • Demo of saving the menu syncing to the page and saving the page syncing to the menu

Installation

  1. Upload fb-page-attributes-menu to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Make sure you have at least one menu at ‘Appearance’ > ‘Menu’
  4. Back up your database; once you decide to keep a menu in sync, saving the menu will update any existing page parent structure or vice versa.
  5. Select the Menu you would like to keep in since via ‘Appearance’ > ‘Menu Sync Settings’
  6. If you have menu items already, resave your menu via ‘Appearance’ > ‘Menu’ to automatically set the parents.

FAQ

Installation Instructions
  1. Upload fb-page-attributes-menu to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Make sure you have at least one menu at ‘Appearance’ > ‘Menu’
  4. Back up your database; once you decide to keep a menu in sync, saving the menu will update any existing page parent structure or vice versa.
  5. Select the Menu you would like to keep in since via ‘Appearance’ > ‘Menu Sync Settings’
  6. If you have menu items already, resave your menu via ‘Appearance’ > ‘Menu’ to automatically set the parents.
If a menu changes, won’t that change my permalink structure?

It may, depending on the permalink structure you chose. If hierarchical and the parent page changes it will. This plugin records those changes and will automatically intercept a 404 not found and redirect to the updated permalink.

Is this plugin right for me?

This allows content editors to quickly modify the menu when they edit a page without having to know (or even have access to) the ‘Appearance’ > ‘Menu’ area.

Can I still use custom links in my menu?

Yes, this does not delete any existing or any new custom menus you add. It only keeps the hierarchy in sync as well as allows you to add and remove pages from the menu from the page edit screen.

Are there any other filters or actions?

You can prevent editors from modifying the top level menu items via an additional filter. This might be useful if you want to make sure you, as an administrator, can update your design when a top-level navigation change needs to make made (for instance for responsive design purposes):

function my_plugin_or_theme_control_top_level( $access ) {
    // Your criteria here. Return true or false.
    return $access;
}
add_filter( 'page_attributes_menu_control_top_level', 'my_plugin_or_theme_control_top_level' );

function my_plugin_or_theme_control_top_level_title( $access ) {
    // Your criteria here. Return true or false.
    return $access;
}
add_filter( 'page_attributes_menu_control_top_level_title', 'my_plugin_or_theme_control_top_level_title' );

Contributors & Developers

“FB Page Attributes WP Menu” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0

  • Initial release