• Resolved Daniel Deepak

    (@eldanieldeepak)


    I have a created a template with index,style.css, header.php, footer.php.

    In the index.php, I want to list posts when a category is clicked.

    I used the code


    if(is_archive()){
    query_posts('posts_per_page=10');}

    My problem is, this is working for all cateogry, for the page 1. When I click page2,it says, “Oops! This link appears to be broken.”

    Your help is appreciated. Thanks in advance!

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Category Archive’ is closed to new replies.