Having some trouble properly displaying Custom Post Types in templates

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

Custom Post Type Posts Not Showing Up in Admin

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

Is it good practice to search for custom posts based on custom field values?

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