WordPress.org

Ready to get started?Download WordPress

Forums

I want to display the children of a page on the site (1 post)

  1. Wish Web Geek
    Member
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic