Help with Twenty Twelve, custom post type and templates
I’m following a Lynda.com course on WordPress and custom post types, there is some critical information which appears to be specific to Twenty Eleven, I was hoping for help in doing this in Twenty Twelve.
I have created a custom post type, and I would like to change the single display page for the post type. The video says to change single.php (but the code is different) and then to create a file called content-<posttype>.php which is the file to make the display changes in.
I don’t know much PHP, but the single.php file in Twenty Twelve seems to already call content-something.php depending on the post type, however I have tried creating a content-posttype.php file and it is ignored.
If anyone could point me in the right direction or give me a link to some reference material it would be greatly appreciated.
- The topic ‘Help with Twenty Twelve, custom post type and templates’ is closed to new replies.