Show child Pages of a specific parent Page

February 5, 2010 | Filed Under PHP, Wordpress | Comments Off
you can use below code to   show all child of
 parent who has  id 10.
<?php wp_list_cats('child_of=10'); ?>

you   can also use this

<?php wp_list_pages('child_of=10&
sort_column=post_title&title_li=')?>

Comments

Comments are closed.

© PHPInterviewQuestion.com 2009 - 2012

eXTReMe Tracker