Jump to content
Sign in to follow this  
petegarnish

disable grandchild in dropdown

Recommended Posts

petegarnish    0
petegarnish

Hi, I need to disable the grandchild links from the dropdown navigation in StationPro. That is, I want the dropdowns to only show the parent and child links. Tahnks in advance

Share this post


Link to post
Share on other sites
petegarnish    0
petegarnish

Solved. Edit the header.php and look for this line: <?php wp_list_pages('sort_column=menu_order&depth=3&title_li='); ?> Then simply change the depth=3 to depth=2 Done.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×