Jump to content


Photo

disable grandchild in dropdown


  • Please log in to reply
1 reply to this topic

#1 petegarnish

petegarnish

    Advanced Member

  • Members
  • PipPipPip
  • 46 posts
  • Country: Country Flag

Posted 07 April 2011 - 05:05 AM

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

#2 petegarnish

petegarnish

    Advanced Member

  • Members
  • PipPipPip
  • 46 posts
  • Country: Country Flag

Posted 07 April 2011 - 06:18 AM

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.