First you should rename your comments.php to legacy.comments.php. Download the 2.7-enhanced comments version here:
comments.zip
Edit your functions.php file and add the following lines:
<?php add_filter('comments_template', 'legacy_comments'); function legacy_comments($file) { if(!function_exists('wp_list_comments')) : // WP 2.7-only check $file = TEMPLATEPATH . '/legacy.comments.html'; endif; return $file; } ?>
That’s all.
Tweet
Your email address will not be published. Required fields are marked *
Name *
Email *
Website
Comment
You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
Make Your Comments Backwards Compatible
Chip on December 2, 2008First you should rename your comments.php to legacy.comments.php. Download the 2.7-enhanced comments version here:
Edit your functions.php file and add the following lines:
That’s all.
Tweet