• 0
Sign in to follow this  
Followers 0

disable grandchild in dropdown

Question

Posted · Report post

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

1 answer to this question

  • 0

Posted · Report post

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  
Followers 0