"If you can get along with everyone and everyone loves you, then you don't stand for much. A person who stands his ground for his principles and won't compromise his integrity is not loved by everyone."
- Larry Winget
I had to hack the Top Commenters Widget plugin because it was displaying pingbacks and trackbacks in my top commenters list.
$sql .= “WHERE comment_approved = ‘1′ AND comment_type = ” AND comment_author != ””;
The hack is very easy. Simply edit line 147 to be like my code above.
Tagged As: comments, top commenters, widget, WordPress, wordpress hack
I hacked the Most Commented plugin to make it display only posts with 1 or more comments. I did this because I thought display posts with zero comments in a “most comments” post list was not very smart.
$request .= ” WHERE post_type = ‘post’ AND post_status = ‘publish’ …
Tagged As: comments, most comments, WordPress, wordpress hack