Single Page for two custom post types
Please check the post type slug. I think that is different than jazz-festival. If you create single-POST_TYPE_SLUG.php it will work.
Please check the post type slug. I think that is different than jazz-festival. If you create single-POST_TYPE_SLUG.php it will work.
Three questions per post is not typical; however, as they may all be inter-related I’ll try to help step through each one in turn. The first problem may be simple: When I go to mysite.com/success-stories/, it’s using the default archive.php template. However, I have created a template called archive-successstories.php and it’s being totally ignored. The … Read more
Using get_terms() as shortcode attribute
Turned out to be interference from another Flatpack hack I had in place to stop it displaying child CPTs when outputting its widgets. For reference, the damage was being done by a pre_get_posts hook. Worth checking this if you’re similarly stuck.
Diffrent search templates for different post types
Is it possible to create a separate page for custom posts gallery?
When you fiddled, it’s possible that your custom posts were created with your “Shows” post type, not “Gig”. You could check that in the database directly using PHPMyAdmin or whichever tool your host offers. In PHPMyAdmin look for your wp_posts (the wp_ could be different) and look at all of the posts probably clicking on … Read more
display post types alternately
In away, if you change basic functionally of the parent theme then you should not use a child theme. Child themes should be used to extend or override functionality but not change it. How can you tell the difference between extending and changing? You can’t :(. In other words, the best place to ask is … Read more
This sounds like the perfect use case for Custom Taxonomies. And unless you plan to customize the admin backend, the Codepress Admin Columns plugin could be useful for filtering the posts using those new taxonomies. Edit (2014.01.23): Yes, you could build a “search form” where you would list the available taxonomies. The get_categories() function will … Read more