How To Use WordPress 2.7 Threaded and Paged Comments Feature In Your Theme?
Posted By Keith Dsouza On December 11, 2008 @ 4:31 pm In WordPress Tips and Tricks | 5 Comments
WordPress 2.7 [1] has been released and its time to start making use of the new features, in our WordPress 2.7 review [2] 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: Backup [3] 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 [4] 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 [5] article by Otto.
Article printed from Techie Buzz: http://techie-buzz.com
URL to article: http://techie-buzz.com/wordpress/how-to-use-wordpress-27-threaded-and-paged-comments-feature-in-your-theme.html
URLs in this post:
[1] WordPress 2.7: http://techie-buzz.com/wordpress/wordpress-27-coltrane-finally-released.html
[2] WordPress 2.7 review: http://techie-buzz.com/wordpress/wordpress-27-beta-hands-on-reviews.html
[3] Backup: http://techie-buzz.com/tag/backup
[4] comments.php: http://ottodestruct.com/comments.phps
[5] WordPress 2.7 comments enhancement: http://ottodestruct.com/blog/2008/09/29/wordpress-27-comments-enhancements/
Click here to print.
Copyright © 2006-20011 Techie Buzz. All rights reserved.