WordPress.org

Forums

Changing default category (3 posts)

  1. plebism
    Member
    Posted 8 years ago #

    Im running WP 2.04 and I am trying to do the following ....

    When people goto my domain, I want the blog to load but load with a specicif category, rather than all of them.

    Does this make sense ??

    i.e. http://www.mysite.com would be http://www.mysite.com/?cat=1

  2. MichaelH
    Member
    Posted 8 years ago #

    Well you could make a change to your theme's index.php to only include that category. The Codex example below, though describing exclude, could be useful to you:
    http://codex.wordpress.org/The_Loop#Exclude_Posts_From_Some_Category

  3. plebism
    Member
    Posted 8 years ago #

    How about if I set up a new index.htm page with two frames, top one hidden and the bottom one with http://www.yoursite.com/?cat=1

    Do you think that would work?

Topic Closed

This topic has been closed to new replies.

About this Topic