WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] One category in as a front page (3 posts)

  1. mozey
    Member
    Posted 7 years ago #

    Hello guys,
    I"m trying to get ONE category's post to show up as my default page instead of all posts.

    any idea how i get that done

  2. Zoutesnor
    Member
    Posted 7 years ago #

    Before the loop, use the code
    query_posts("cat=x");
    where x is the number corresponding with the category you want to display. See also:
    http://codex.wordpress.org/Template_Tags/query_posts
    http://codex.wordpress.org/The_Loop

  3. mozey
    Member
    Posted 7 years ago #

    Your quick response is much appreciated hommes.

Topic Closed

This topic has been closed to new replies.

About this Topic