• When I create a new static page and set the page attribute to ‘no parent’ then it is added as a menu item to the top bar menu. How can I avoid having this menu item without using the ‘parent’ attribute option? I’m sure this is yet another dumb question of mine, but thanks for any advice!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The answer depends on your theme and how the menu is created.

    The WP Hide Pages plugin, or a similar one might help. Search the WordPress plugins for ‘hide page’.

    If your menu in your theme uses wp_list_pages then you can make use of the exclude parameter in order to exclude pages or alternatively you could make use of the include parameter which means you state the pages you want in the menu and new top level pages won’t appear there.

    If you theme uses the new WordPress menu system you should be able to edit the menu from ‘Appearance’ > ‘Menus’ in the WordPress admin. Try removing the “Automatically add top level pages’ option.

    Thread Starter faustdownunder

    (@faustdownunder)

    Thanks to both of you. I installed WP hide pages, but for some reason it does not appear in the list of my plugins. It is active but I cannot access it.

    I could not find wp_list_pages in my theme, but that does not mean much.
    The “Automatically add top level pages’ option was already unchecked.

    Hmm – I seem to be stuck with this one. I can always create a fake ‘parent page’ but it is not an elegant way of solving this issue.

    Thread Starter faustdownunder

    (@faustdownunder)

    Oops – I found the plugin. It was under ‘Settings’. Yep – that seems to work now. Excellent. thanks again & happy 2011 from Australia

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Page attributes’ is closed to new replies.