WordPress.org

Support

Support » Plugins and Hacks » I want to display the children of a page on the site

I want to display the children of a page on the site

  • I am trying to display the children of my page grand_canyon_trips on all pages of the site. The only php code I can find is this:

      <?php
      wp_list_pages(‘title_li=&child_of=’.$post->ID.’&show_date=modified
      &date_format=$date_format’); ?>

    But I want to just show the children of post=13 but on all pages.
    Can someone help with what the php code would be. I’m new to php.

    Thank you.

  • The topic ‘I want to display the children of a page on the site’ is closed to new replies.