Posted By

dloop on 09/12/10


Tagged


Versions (?)

Wordpress: List Only Child Pages of a Specific Parent Page


 / Published in: PHP
 

  1. ID (ID=2 in this case)
  2. <?php wp_list_pages(‘child_of=2&sort_column=post_title&title_li=) ?>
  3.  
  4. Page (MyPageName in this case)
  5. <?php wp_list_pages(‘child_of=MyPageName&sort_column=post_title&title_li=) ?>

Report this snippet  

You need to login to post a comment.