ThemeShaper Forums » Thematic


Subpage manu

(3 posts)
  • Started 11 years ago by philbenoit
  • Latest reply from philbenoit
  • This topic is resolved


  1. philbenoit

    Hi all,

    I have found this hack that displays a menu of only sub pages of the page you are on. I wish to have this menu visible on all sub pages but at the moment it goes once you move to the sub page the menu goes.

    ie on page1 there are 3 sub pages, page2 page3 and page4. I wish to have the menu showing page2 page3 and page4 available on all these pages.

    here is the initial code

    $children = wp_list_pages('title_li=&child_of='.$post->ID.'&echo=0');
    if ($children) { ?>
      <?php echo $children; ?>
    <?php } ?>

    any help would be great.


    Posted 11 years ago #
  2. Jamie Mitchell

    hey Phil

    try the

    Sub Pages widget

    (search for it via your add plugins in the wp admin)

    it works a treat, and i use it all the time for the exact same thing as your trying to achieve.


    Posted 11 years ago #
  3. philbenoit

    Thanks heaps Jamie,

    This was perfect and really extends the WP options to look more and more like a standard webpage.

    Thanks again,


    Posted 11 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.