Return to Snippet

Revision: 43928
at April 3, 2011 17:23 by alp


Initial Code
if (!function_exists('iweb_reverse_comments')) {
    function iweb_reverse_comments($comments) {
        return array_reverse($comments);
    }
}
add_filter ('comments_array', 'iweb_reverse_comments');

Initial URL
http://wpmu.org/daily-tip-how-to-reverse-wordpress-comment-order-to-show-the-latest-on-top/

Initial Description
place code in functions.php

Initial Title
Reverse WordPress Comment Order to Show the Latest on Top

Initial Tags
wordpress

Initial Language
PHP