0 Replies - 5745 Views - Last Post: 09 September 2015 - 03:14 PM

#1 kayla23   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 28
  • Joined: 19-October 10

How to display lastest 3 child or gran or gran gran child page of ID 1

Posted 09 September 2015 - 03:14 PM

Hi
I can only display latest child page of ID 10 I would like to display latest child or granchild or gran gran child of page ID 10
This is what I have so far but doesn't display granchild


query_posts(array(
   	'orderby' => 'date', 
	'order' => 'DESC', 
	'post_parent' => 10, 
	'post_type' => 'page', 
	'meta_key' => 'extra_menu', 
	'meta_value' => 'portfoliomenu', 
	'showposts' => $posts));
   if (have_posts()) :
      while (have_posts()) : the_post();


Is This A Good Question/Topic? 0
  • +

Page 1 of 1