WordPress.org

Ready to get started?Download WordPress

Forums

Depth in navbar (3 posts)

  1. Jeanette
    Member
    Posted 4 years ago #

    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?

  2. ryans149
    Member
    Posted 4 years ago #

    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..

  3. Jeanette
    Member
    Posted 4 years ago #

    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...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags