ThemeShaper Forums » Thematic


How to hide certain pages from topmenu

(8 posts)
  • Started 10 years ago by fyrster
  • Latest reply from mrmikeman
  • This topic is not resolved


  1. Hi everybody,

    Im new to Thematic, but i would like to know how i can hide certain pages from the topmenu ?



    Posted 10 years ago #
  2. I haven't worked with this plugin, but it looks like it might do the trick:

    You could also do it through a function in your child theme:

    //  Add a dynamic menu using wp_list_pages
    function childtheme_menu() { ?>
         <div class="menu">
              <ul class="sf-menu">
                    <?php wp_list_pages('exclude=4&title_li='); ?>
    <?php }

    In this case, page id 4 is being excluded. For more info about that, you could read here:

    Posted 10 years ago #
  3. gaillen

    You could also use the pagMash plug-in (I do, with Thematic) as it will both hide specific pages from the top menu and let you re-organize the order of the menu and sub menus.

    I would probably go with the Exclude Pages plug in and using the native Wordpress page order except that the visual interface of pagMash is easier for clients/parents to understand.

    Posted 10 years ago #
  4. This is over a year old but here we go...

    I'm not using a child theme (don't want to), anyway to remove certain pages from the top menu only?


    Posted 9 years ago #
  5. Hmmm... doesn't really make too much sense...

    Is it possible to remove only certain pages from the top menu without removing them from the sidebar?

    I think that's better :)

    Posted 9 years ago #
  6. maybe try using a custom 3.0 menu instead of wp_page_menu

    Posted 9 years ago #
  7. OK nevermind... I just figured out that in appearance >>> menus, all I had to do was create a new menu and select the pages I want in it... Donk!

    Don't know if that's what you meant but a google search for "custom 3.0 menu led me to this simple realisation. LOL

    THANK YOU helgatheviking !! :D

    Posted 9 years ago #
  8. mrmikeman

    you could just use a custom menu, then when you add a new page youll have to manually add that page to the custom menu... how has no one thought of this? oh wait now as i read the rest of the responses i see helga said it :-D

    Posted 9 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.