• hi,
    i’m working on a site. thermalpackagingsolutions.com/news. if you select “product & services” all of the submenus appear beneath it. then disappear once you select an item. is there anyway to keep the submenu visible as you go through sub menus related to products and services? the same would be true for the other menu items that have submenus. any help would be greatly appreciated. thanks.

Viewing 1 replies (of 1 total)
  • Thread Starter zendar73

    (@zendar73)

    i believe this to be the answer. thanks for the e-mail. i wanted to follow up on the forum.

    <?php
    if($post->post_parent)
    $children = wp_list_pages(“title_li=&child_of=”.$post->post_parent.”&echo=0″);
    else
    $children = wp_list_pages(“title_li=&child_of=”.$post->ID.”&echo=0″);
    if ($children) { ?>

      <?php echo $children; ?>

    <?php } ?>

Viewing 1 replies (of 1 total)
  • The topic ‘Keep submenu visible’ is closed to new replies.