WordPress.org

Forums

Category.php not showing all posts from category (5 posts)

  1. sarahfrantz
    Member
    Posted 3 years ago #

    I am having an issue with my category showing all post from that category. My code is here: Category Loop

    I have it set up to show my posts in 3 columns. You can see it in action here. There are like 48 posts that should show up, but for some reason I only get 10.

    Any suggestions?

  2. dtrickky
    Member
    Posted 3 years ago #

    Looks like you need to write a wp_query for the loop on that particular page.

    See this for reference: http://codex.wordpress.org/Class_Reference/WP_Query#Category_Parameters

    My guess is that is it is displaying 10 posts because you have it set to show 10 posts at the most under in the Dashboard Settings. A custom query should overwrite this.

  3. sarahfrantz
    Member
    Posted 3 years ago #

    Thanks! That did the trick, I can't believe I didn't even think of that... feeling rather silly now.

  4. dtrickky
    Member
    Posted 3 years ago #

    Glad to help. Site looks good!

  5. sarahfrantz
    Member
    Posted 3 years ago #

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic