Display specified pages using query_posts
-
Hi all,
I am using query_posts to display 4 of my portfolio items on my homepage. I’ve set my portfolio items up as seperate pages.
Currently I am using:
<?php query_posts(array('showposts' => 4, 'post_parent' => '159', 'post_type' => 'page')); ?>This works great, only could anyone tell me how I can display 4 specific posts as opposed to just the four latest?
Thanks
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Display specified pages using query_posts’ is closed to new replies.