Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

WordPress

Good Resource for Creating a "comments.php" Template from Scratch

I've been following along the WordPress Track with Zac Gordon and I'm finally at the stage where I have started to build my own theme. Everything is coming along great, I'm up to the part of creating the blog component of the theme and I was able to successfully display an archive of all the posts as well as the post single. But I am stuck on how to create the comments.php template as they really is no decent look at how it is done, and how I can customize it to suit my needs.

Does anyone have any good references that they use on how to create the comments.php template from scratch as I am so lost on this one.

Thanking you in advance

Stu :)

1 Answer

Have you looked into the comments.php file of default templates? I used Twenty Sixteen's one as a base for mine.