Static front page page with select blog posts

Viewing 2 posts - 1 through 2 (of 2 total)
  • #15224
    Kimyoung
    Participant

    im trying to make my front page to be a static page with 3 static posts on it. ive tried following the instructions here http://codex.wordpress.org/Creating_a_Static_Front_Page and tried adding the loop code they use but it just comes up saying no posts to display. right now im getting around this by using infinite scroll and only having the 3 posts but i would prefer it to be static.
    thanks in advance

    #15239
    Daniel Tara
    Keymaster

    Try adding a query of specific IDs, like this:

    query_posts(
    	array(
    		'post__in' => array( 3, 10, 25 ),
    		'ignore_sticky_posts' => 1
    	)
    );
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.