Tagged: Custom Post Type, custom taxonomy
I have a custom taxonomy assigned to a custom post type.
I’ve created a template called ‘taxonomy-gp_categories’, which gets called when I visit a custom taxonomy archive, however when I call the loop in this template, it doesn’t think I have any posts (it skips the if(have_posts()) and executes the else {}).
My custom post type has ‘has_archive’ => true, and when I go to the archive page for the post type I see the archive, it’s just the taxonomy archives that don’t work.
Is there something in the framework or theme that might be causing this?
Thanks in advance for your help.
Hi GusRuss89,
First try switching to something like Twenty Twelve theme or Twenty Eleven and try out your custom post type and category. That way we can see if its a theme integration issue or your code.
Regards,
Devin
I think this is a bug I ran into as well. Check out this thread: kriesi.at/support/topic/14-upgrade-a-bit-wonky#post-108757
This will probably be fixed in the next update. If necessary, I could supply further details on the fix.
Cheers,
Sander