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 trial

WordPress The WordPress Template Hierarchy Page and Post Templates in WordPress The Comment Template

comments.php hierarchy

I can't seem to find comments.php listed on the hierarchy chart http://wphierarchy.com.
is that essentially b/c there is no fall-back for it?
I noticed a lot of files are missing from the hierarchy...I'm assuming that is for the same reason?

1 Answer

Hi,

The standard comments template is the same for most themes and doesn't necessarily need a comments.php creating. You can reference an alternative if needed though.

Here's the info from the Codex.

Hope that helps :)

-Rich

Thanks!

No problem once again!

Drop me a best answer if you feel it answered your question :)

-Rich