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 From Bootstrap to WordPress Create Bootstrap Styled Theme Templates Creating a Single Blog Listing Page

Olga Dorovskykh
Olga Dorovskykh
1,545 Points

Comments.php needed

Hello! I am getting this message when I put the comments call in:

Notice: Theme without comments.php is deprecated since version 3.0 with no alternative available. Please include a comments.php template in your theme. in /Users/Olga/Sites/bootwp.com/wp-includes/functions.php on line 3437

Not sure what to do with it.. Could you please update the video?

Not sure if this is proper but it seems to work - transfer the entire <div id="respond">...</div> chunk to a separate file called comments.php. WP seems to find it, and include it via the comments_template() function.

Ian Mackenzie
Ian Mackenzie
11,062 Points

Just copy and paste the comments.php file of the latest Wordpress theme, TwentyFifteen and drop it into the root of your theme folder.

2 Answers

Mohsen Qaddoura
Mohsen Qaddoura
22,237 Points

Copy the comments.php file of the twentyfourteen Wordpress theme, and past it into the root of your theme folder (/Users/Olga/Sites/bootwp.com/wp-content/themes/your_theme_folder). I tried first the twentyfifteen one, it didn't work properly.

Andres Ramirez
Andres Ramirez
18,093 Points

This is so outdated! Only the comments.php in twentyfourteen theme works!

Thanks Mohsen :)