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 trialOlga Dorovskykh
1,545 PointsComments.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?
Ian Mackenzie
11,062 PointsJust 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
22,237 PointsCopy 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
18,094 PointsThis is so outdated! Only the comments.php in twentyfourteen theme works!
Thanks Mohsen :)
Michael Harper
14,741 PointsMichael Harper
14,741 PointsNot 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.