Home›Types Community Support›[Resolved] CPT (Types) with posts assigned returns Sorry, no content matched your criteria.
[Resolved] CPT (Types) with posts assigned returns Sorry, no content matched your criteria.
The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created 9 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.
I am trying to:
1. Create a custom post type. (I will be creating multiple CPTs)
2. Import posts from our current site. Categories and Tags remain attached.
3. Convert imported posts to my new CPT using the Convert Post Types plugin. Categories and Tags remain attached.
4. Created a View that displays list of CPT posts and inserted Views shortcode. View has clickable title and excerpt.
I visited this URL: /category/my-category-name/
I expected to see: Default archive for category called My Category Name.
Instead, I got: "Sorry, no content matched your criteria."
I have added code to my functions.php file that I found in the support forum, but made no difference. I seem to be having the very same issue with the Author archive.
I have found no discover-wp tutorial for dealing with CPT and relationships to WP archives.
I just got it all to work. I have a test CPT called "talk" and found some code on this forum that needed to be added to the functions.php file. I duplicated for my similar issues with Author and Tag archives and now all seems to be working.
Here's what I added. Do you see any issues with this? Anything else I should know about this topic/issue?