Dec 5, 2008
In order to make use of the new sticky post feature found in WordPress 2.7, you’ll need to modify your index.php, page.php, and single.php to make use of the new post_class() function.
Previous themes would use the following within the loop to identify posts:
<div id="post-<?php the_ID(); ?>" class="post">
Adding support for sticky posts requires dynamic classes using this function:
<?php post_class(); ?>
If there is a specific class that you would like the function to include, you can add it as a parameter: post_class(‘customClass’).
Sorry for not including this feature out of the box by default. These releases are meant to be backwards compatible for WP 2.6 users as well.