tags:

views:

767

answers:

1

Let's say I have three different pages, page1, page2, and page3.

I want page1 and page2 to display on my static front page. Do I restrict the loop to only pull page1 and page2, or do I need to start the loop, test for name="page1" or something like that, and then print? Thanks! -Joe

A: 

I would skip the loop and simply use get_page($id) as described here:

http://codex.wordpress.org/Function%5FReference/get%5Fpage

All you need to know is the ID's of your pages, and you can pull them one at a time anywhere you want.

Eric Meyer