Support » Installing WordPress » Display Category As Front Page WP 2.3.1

  • Resolved pdlr

    (@pdlr)


    It seems like there are several plug-ins for handling this, but not for WordPress 2.3.1.

    Might this easily be done by changing some code in the index.php file? I don’t need a lot of complicated options. Just the display of a certain category on the front page.

    I wish I was a programmer. Thank you for any help.

Viewing 1 replies (of 1 total)
  • This problem can be resolved by adding the code

    <?php query_posts(‘cat=1’); ?>

    (replace with whatever category id number you want to display on the main page) to the index.php file.

    It should be added right after the line

    <?php if (have_posts()) : ?>

    (I am building off the kubrik theme on WP 2.3.1)

Viewing 1 replies (of 1 total)
  • The topic ‘Display Category As Front Page WP 2.3.1’ is closed to new replies.