How To Use WordPress 2.7 Threaded and Paged Comments Feature In Your Theme?

by Keith Dsouza | Translate | Print
Thursday, 11th Dec 2008 | Share


Share How To Use WordPress 2.7 Threaded and Paged Comments Feature In Your Theme? on Twitter Share How To Use WordPress 2.7 Threaded and Paged Comments Feature In Your Theme? on Facebook Save How To Use WordPress 2.7 Threaded and Paged Comments Feature In Your Theme? To Delicious Favorites Stumble How To Use WordPress 2.7 Threaded and Paged Comments Feature In Your Theme? Share How To Use WordPress 2.7 Threaded and Paged Comments Feature In Your Theme? on Digg Get Instant Updates as RSS Feeds from Techie Buzz

has been released and its time to start making use of the new features, in our WordPress 2.7 review we had told you about one of the new features available was inbuilt support for threaded and paged comments, however this feature will require you to make changes to your theme.

Here is a simple tutorial you can use to change your current theme to use the inbuilt threaded comments and paged comments feature in WordPress 2.7.

Step 1: your comments.php file, so that if anything goes wrong you can easily revert back to the older version.

Step 2: Download this comments.php file and replace it with your theme’s current PHP file. You may want to modify and replace the code for displaying your comments form and styling the comments itself.

Step 3: Test if the comments are showing up properly, if they are not revert back to the original backed up copy of comments.php.

For more detailed instructions on making use of the latest comment features in WordPress 2.7 check out this handy WordPress 2.7 comments enhancement article by Otto.



Share

5 Responses so far | Share Your Opinions!

  1. Minnesota Attorney
    December 12th, 2008 at 2:40 pm #

    I once tried a threaded comments plugin but it was confusing to install. I’m glad to see this is now integrated in Wordpress. Thanks for the helpful instructions.

    Reply to this comment

  2. sathyabhat
    December 13th, 2008 at 8:15 pm #

    Thanks Keith. You should also mention that nested comment support should be enabled from the Dashboard -> Comment settings, by default its disabled

    Reply to this comment

  3. Sanjay M
    January 18th, 2009 at 7:28 am #

    thanks it worked great!

    Reply to this comment

  4. Sanjay M
    January 18th, 2009 at 7:43 am #

    Any extra info on getting the right style/indentation/shading would be super

    Reply to this comment


Trackbacks

  1. Posts about WordPress Plugins as of December 12, 2008 | The Lessnau Lounge

Leave a Comment

Note: We discourage users from using keywords in their names while posting comments, most of them get caught by spam, also it really would be more fruitful in knowing people who comment by their real name, rather than by using a name no one relates to. In future we reserve the right to delete comments from users using a name other than their own.

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>