WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Category archive as home page

[Resolved] Category archive as home page

  • Hello. I’m trying to have a certain category archive as my home page.
    I found this code but I don’t know where to add it:
    <?php query_posts('cat=X&showposts=X'.get_option('posts_per_page')); ?>

    In loop.php but.. where exactly?

    Thanks in advance!

    P.S.: Child theme of TwentyTen.

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Category archive as home page’ is closed to new replies.
Skip to toolbar