Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialBenjamin Ramage
Front End Web Development Techdegree Student 14,104 PointsWhat would you name the single template file for a c
I can't figure this one out. Any help would be much appreciated?
Benjamin Ramage
Front End Web Development Techdegree Student 14,104 PointsHi Rich.
Thanks for your reply it's one of the questions in a Wordpress Development Quiz.
The full question is:
What would you name the single template file for a custom post type named 'music'? .php
3 Answers
Rich Bagley
25,869 PointsHi Benjamin,
The answer would be single-music.
WP Hierarchy is a good site to check against which links through to the relevant Codex page.
Hope that helps
-Rich
Benjamin Ramage
Front End Web Development Techdegree Student 14,104 PointsThanks Rich.
Your the man. Have a great day!!!
Ben
Rich Bagley
25,869 PointsNo problem and thanks you too :)
-Rich
Mohammed Asif Anwar
5,380 PointsWhat would you name the single template file for a custom post type named 'music'? ___.php cant find the answer need help please
Firetoss Firetoss
Courses Plus Student 1,960 Pointssingle-music.php
Rich Bagley
25,869 PointsRich Bagley
25,869 PointsHi Benjamin,
Can you repost the question / point us to it in the course please? Your question title looks to have been cut off.
Thanks
-Rich