Custom Post Type not in archives or categories.
-
Hello,
I hate to bring this up because there are already so many topics covering this. I know because I have read about 50 of them but I cannot find a resolution. So I am hoping a fresh topic may help.
I have created a custom post type and everything is working great except one small thing: the posts that are created within the custom post type are not showing in the archive list or in the category list it is assigned to.
The odd thing is that the number of posts will show by the category name in the sidebar but when you click on the category, no posts will show.
I did create a single-custompostype.php file and it works fine.
I tried switching to the Twenty Twelve theme and added my custom post type and even that does not work.
There are no plugins activated.
I have has_archive => true with the custom post type as well as the other required settings.
I have tried flush_rewwrite, as well as some other pagination tricks but nothing is working.
I have re-saved the permalinks settings numerous times to no avail.
So… I am at my wits end.
Any help would be appreciated.
Thanks much.
- The topic ‘Custom Post Type not in archives or categories.’ is closed to new replies.