
In blogging, it is useful to be able to display your most popular posts. There’s WordPress plugins to do that, but you don’t need it: This code will display your most popular posts, accordoing to the comments count, without requiring you to use a plugin.














One Response
Since WP 2.9 you can do that by only adding the the query “orderby=comment_count” and you’re good to go
Trackbacks: