Skip to content


New WordPress widget: Recent Comments

When I wrote post about my palmtops story WordPress added many pingbacks into my older posts (which I linked to). As a result all of them appeared in “Recent Comments” widget. This hide real ones so I decided that it is time to change something.

And thats how “Hrw Recent Comments” widget was created. I took wp-includes/widgets.php file from my WordPress MU installation and extracted original widget. Then one edit of SQL query and everything works like expected — no pingbacks to my blog posts in sidebar.

Download plugin.

License: same as WordPress (as it is WP code mostly).

UPDATE: fixed SQL query to make it really work.

Tagged with , .


5 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. Leanne Boyd says

    I don’t know how you expect people to really use this. ONE file and is it .PHP?? I surmise so. However, how to rename this? ADD the PHP or write over the ” .1 ” extension?

    Vladimir, http://www.prelovac.com/vladimir/wordpress-plugins-i-use, has taken your info off his site. I googled and found you.

    However, I cannot use this without some kind of help file.

  2. Marcin Juszkiewicz says

    @Leanne Boyd: just unpack archive and put contents in wp-content/plugins/ directory of your blog.

  3. Leanne Boyd says

    Hi Marcin… thanks for your reply. I will do this tonight and see how things go. :-) Leanne

  4. Jean says

    Marcin, your Recent Comments widget ROCKS! No more HOME clicks going to my BLOG page! Thank you.

  5. Jenniffer says

    This widget works. There are also other options available such as plugins or simply a code to put into the source code of the blog..whatever works for you..



Some HTML is OK

or, reply to this post via trackback.