Support » Fixing WordPress » Category archive as home page

  • Resolved MultiformeIngegno

    (@lorenzone92)


    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 ‘Category archive as home page’ is closed to new replies.