Quantcast
Channel: WordPress.org Forums » All Posts
Viewing all articles
Browse latest Browse all 134600

Jacorre on "Custom Taxonomy Archive shows no posts or paging is broken"

$
0
0

Hi everyone,

I think I've exhausted all I can do to figure this one out. I've also tried searching for answers and nothing has worked.

I have a custom post type of project and a custom taxonomy of projectcat.

I want an archive for my project category taxonomy. So I created a template file taxonomy-projectcat.php.

Am I correct in thinking that I do not have to do any WP_Query or query_posts calls on that template in order to get any posts to appear? Right now if I just keep the normal loop, I get no posts.

If I introduce a query_posts including arguments for post_type=project and projectcat=$term->slug, I see posts, but if I go to page 2 I get a 404?

I have public, publicy_queryable, and has_archive set to true when registering the custom post type.

What am I missing or is there a bug?


Viewing all articles
Browse latest Browse all 134600

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>