WordPress.org

Support

Support » How-To and Troubleshooting » Depth in navbar

Depth in navbar

  • Jeanette
    Member

    @huldremor

    I’m having problems with my navbar, can somebody please have a look at it for me?

    I’m running the free version of Revolution Lifestyle, and navbar is by default set to “&depth=3”. Only thing is, it’s not. It’s only 1 level, any deeper than that is not showing, and the site does not reflect any changes I may make.

    <?php wp_list_pages('title_li=&depth=3&include=699,401,1287,1304,370,384,345,1279,1520,564&sort_column=menu_order'); ?>

    Why..?

    Please help?

Viewing 2 replies - 1 through 2 (of 2 total)
  • ryans149
    Member

    @ryans149

    may be it is reflecting the changes and you cant see them.. check the color background etc..

    also, keep in mind that this tag is for pages, not categories..

    Jeanette
    Member

    @huldremor

    Oh my, you’re absolutely right…

    The right tag is this:

    <div id="subnavbar">
    
    	<ul id="subnav">
    		<?php wp_list_categories('sort_column=name&title_li=&depth=3&exclude=1,199,200,201,202'); ?>
    	</ul>
    
    </div>

    Color background etc should be just fine, but still no change…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Depth in navbar’ is closed to new replies.