"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

Archive for the 'wordpress hack' Tag

Top Commenters Plugin Hack

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: , , , ,

Posted by Vincent on 20 October 2008 8:42 AM in Wordpress Help | 5 Comments |

Most Commented Plugin 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: , , ,

Posted by Vincent on 8:04 AM in Wordpress Help | 3 Comments |