Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

My main projects page is bringing in some data that I have entered in for custom post types. There are basically a few categories like "photo", "video", etc. When you click on one of these it will go to a subpage like /projects/photo/1. How to I go about specifying a template to use for those subpages?

I am using the Ultimate Post-Type Plugin, but that shouldn't really matter since it should work the same way.

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

Have a look at the template hierarchy that WordPress follows. Since the sub page is a single custom post type. You could put the code you require to output for the sub pages in single-[post-type].php

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.