Implementing comments


show more Implementing comments provides you with in-depth training on Developer. Taught by Chris Coyier as part of the WordPress 3: Creating and Editing Custom Themes show less
please wait ...

Implementing comments

The commenting system in WordPress is really quite nice. We're going to be looking at enabling comments for our individual blog post articles in our theme. So we just looked at styling an individual article for our theme, but at the bottom of it the article just ends. So that's where we're going to want to enable our comments and get that system going. I have our theme open here as a TextMate project. In the single.php file is the theme file that controls what this page looks like.

You can see on this line here that the comments_template is commented out. That's what these two slashes are here. So if I just remove that from here and save it and reload this page, that's instantly going to enable the commenting functionality of our site. So all the sudden there is this Leave Reply thing. So that's what the comment form looks like. It asks for your name. It asks for your email. It asks for your website. You can type a comment in the box and Submit Comment to show a comme...

Implementing comments
Video duration: 5m 57s 4h 28m Intermediate

Viewers:

Implementing comments provides you with in-depth training on Developer. Taught by Chris Coyier as part of the WordPress 3: Creating and Editing Custom Themes

Subjects:
Developer Web
Software:
WordPress
Author:
please wait ...