WordPress.org

Ready to get started?Download WordPress

Forums

Remove page title from menu bar (8 posts)

  1. hdectro
    Member
    Posted 4 years ago #

    It is possible to remove page titles from the menu bar?

  2. stvwlf
    Member
    Posted 4 years ago #

    yes, you can use an exclude on the wp_list_pages in the header.php template
    http://codex.wordpress.org/Template_Tags/wp_list_pages

    or install a plugin like this one
    http://www.technokinetics.com/plugins/page-lists-plus/

  3. fkaf
    Member
    Posted 4 years ago #

    How can I use this

    <?php wp_list_pages('exclude=17,38' ); ?>
    into
    when I got this header code?

    <ul id="menus">
    
    		<?php
    			if($options['menu_type'] == 'categories') {
    				wp_list_categories('title_li=0&orderby=name&show_count=0');
    			} else {
    				wp_list_pages('depth=2&title_li=0&sort_column=menu_order');
    			}
    		?>
    		<!--<li><a class="lastmenu" href="javascript:void(0);"></a></li>-->
    	</ul>
  4. Rev. Voodoo
    Volunteer Moderator
    Posted 4 years ago #

    probably here:

    wp_list_pages('exclude=17,38&depth=2&title_li=0&sort_column=menu_order');

  5. fkaf
    Member
    Posted 4 years ago #

    Great. Thanks!!!!

  6. Rev. Voodoo
    Volunteer Moderator
    Posted 4 years ago #

    for sure! if that works, go aheada nd mark the topic resolved?

  7. Shane G.
    Member
    Posted 4 years ago #

  8. fkaf
    Member
    Posted 4 years ago #

    I can`t do that, not "my" thread

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.