Tagged: custom post Viewing 3 posts - 1 through 3 (of 3 total) Author Posts September 22, 2011 at 10:42 pm #6005 ebsgdosoParticipant I’m using a child theme to create and register a custom post type. I have the back end working correctly, but I can’t work out how to create the different front end views in this template. If the custom post type is treatment, I’d just create files called: single-treatment.php; template-treatment.php etc. however there seems to be a different method used on this theme. Any help you can offer with this would be appreciated. Thanks Marcus September 22, 2011 at 10:56 pm #52554 ebsgdosoParticipant it’s ok – I think I’ve worked this out. I just copied the existing single.php to my child theme; called it single-treatment.php then copied the loop-index.php file into the child theme; and modified line 22 to say: get_template_part( ‘includes/loop’, ‘treatment’ ); All working! September 23, 2011 at 5:25 am #52555 DudeModerator Glad that you found a solution :) Author Posts Viewing 3 posts - 1 through 3 (of 3 total) The topic ‘Custom Post Type template’ is closed to new replies.