Currently Exploring
compatibilityI have updated 3 of my current themes to work with WordPress 2.7 at full potential. This includes threaded comments, pagination and sticky features. The updated themes are: Whiskey Air [Download id not defined] Whiskey Earth [Download id not defined] Light Constellations [Download id not defined] Visit my themes repository for older versions.
In order to use WordPress 2.7 at its best, a couple of theme modifications are required. They include threaded comments, pagination, and sticky post features (as of WordPress 2.7 Beta 3). It took me about an hour to discover everything and unlock the full potential of version 2.7. First of all, let’s start with the [...]
Make Your Comments Backwards Compatible
by Chip on December 2, 2008 (772 days ago) | No commentsTags: comment, comments, compatibility, theme
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.php’; endif; return $file; } ?> That’s all.