[resolved] Category Specific Templates Not Showing On All Pages (3 posts)

  1. Ian
    Posted 6 years ago #

    Here's another weird one:

    Basically, I've got a category that includes "posts" and custom post types. I realized the pagination (using pagenavi) was only showing the amount of pages there would be if you were counting posts only. So I moved the pagination to be called after the "post type any" query and that fixed that.


    But the final few pages, for some reason, aren't showing with my custom category layout.


    I'm guessing this is because wordpress thinks it is done with that category, since it is only counting the "posts" in that category?

    Is there some way to make it so it counts EVERY type of post in the category when figuring out this stuff? I'm not really sure where to start!

  2. Ian
    Posted 6 years ago #

    I figured this out. I just moved the "post type any" query up on the page to above the place where I was calling the headers and it seems to have solved the problem.

  3. Ian
    Posted 6 years ago #

    Still says "Nothing found" in the title which is weird.

Topic Closed

This topic has been closed to new replies.

About this Topic