- Listing Custom Post Type Entries with a Short Code
- Automatically Displaying Meta Field Values in Easy Content Types
- Using the Automatic Template Creation System in Easy Content Types
- Displaying Custom Post Types in Widgetized Sidebars
- Controlling Page Layouts with Custom Meta Fields
- Querying Custom Post Types in Your Theme Templates
- Creating a Simple Events System with Easy Content Types
- Adding a Simple Image Gallery with the Repeatable Upload Field
WordPress themes are based entirely on templates. These templates provide a way to customize the layout of your content on different pages and give you total control over how your website functions. Easy Content Types includes a very powerful function that will automatically create new template files for your custom post types and taxonomies based off of those already in existence in your theme. This is an explanation of how to leverage the power this feature provides.
The automatic template creation system makes it much easier for you to customize the way your custom post types / taxonomies are displayed. By each of them having their own template, you can easily change the layout for your “Books” custom post type, while leaving the default posts unchanged.
Related Items

Cool feature.
Just one thing, will these new template files get deleted by the main theme updates?
@Vince – They will only be deleted if you removing the entire theme and reupload it. Simply updating the theme through the WordPress updater should not ever delete them.
Thanks for the nice overview.
Is there a function that can be placed in the single template to link to the archive page. I’ve been trying avoid adding a hard coded link to the single template so it will be a little more reusable and flexible but I haven’t quite been able to figure it out yet.
@Doug – Thanks. Yes, there is a function: get_post_type_archive_link()
I’m embarrassed that I missed that when looking through the codex.
Thanks!
I’m using Geneis with a child theme and when I went into Content Types > Settings there was a message at the top telling me that I had to change the file permissions to 755 or 777. I’ve done that, for both Genesis and my child theme, and although the error message went away at the top of Content Types settings, the new template files have not been created and I’m getting 404 errors when I try to visit my custom post type page or archive. When I view the files in both my Genesis theme and child theme folders, the new archive-books.php, etc. files do not exist. Any idea what may be going on?
Many thanks in advance.
My apologies…I see there’s info about this in the forum. Will check that out.
The template files are most likely not being created because you’re using a child theme (there’s a limitation with the auto templating system and child themes).
To fix the 404s, go to Settings > Permalinks and click Save Changes.