Anyone have any idea why this is happening... it's driving me mad!
I've created a custom post type 'videos' using Toolsets 'Types' plugin, but when I go to display these posts on a Category Archive menu page in Gantry, I just get 'Sorry, but there aren't any posts matching your query.' The individual 'video' posts display OK and when I switch to the default 2015 template, the Category page displays fine, so I'm guessing something is missing in the Gantry template layouts for calling category custom posts?
I also turned off all plugins to see if there was a conflict, but still the same outcome.
Can't seem to find any solutions to this on the web, though I've come accross a couple of other posts with the same issue, but with no response.
OK when you do please post your login details here.
For posting sensitive information you hit the Blue Reply Button and then you will see Secure Tab. Post all info that is sensitive in there, only Fellow Mods, Staff and I can see that!
I'm not entirely sure what is being explained on the page link, in general I'm understanding that there is a hierachy of templates. But if I create a custom post type, and don't have an archive template for it, would it not just defer back to the default archive template that is in Gantry for all other post types? So if it's not 'archive-{post_type}.php' it uses just 'archive.php'
Where am I meant to add the 'archive-{post_type}.php' that it states? Is this within the gantry 'html' folder, and can I just copy the archive.php file that is already there and just rename it to the custom post type name e.g archive-videos.php? How do I then assign this to my custom post type?
Can you try like this can you make a new taxonomy for videos and add video category so you don't use the posts category and then we will see if the default archive.php file will pick it up when you link to it from main menu!