April 12, 2010 by Vincent
Disable Info Panel from CommentLuv
As you probably have already know, SheepTech is now CommentLuv enabled. While it is clearly helpful in increasing the number of comments, it’s also adding clutter that I deem unnecessary, the info panel. It appears whenever you hover your cursor on the little heart next to each CommentLuv link, providing little to no value, in my opinion.
If you are thinking the same, here’s how to disable it. I’m unsure if it’s the best way to do it, but it works at least.
How to disable Info Panel from CommentLuv
1. Go to your “Edit Plugins” page (http://yourdomain.com/wp-admin/plugin-editor.php)
2. Select “CommentLuv” from the dropdown menu. You should be on the “Editing commentluv/commentluv.php (active)” page now.
3. Search for
<span class=”heart_tip_box”>. There are two instance this code will appear in the php file. Do the same for both of them. It looks like this:
$commentcontent .= '<span class="heart_tip_box"><img src="' . $this->plugin_url . 'images/littleheart.gif" border="0" alt="My ComLuv Profile" width="16" height="14" /></span>';
4. Remove the code in red from it. It should look like this now:
$commentcontent .= '<img src="' . $this->plugin_url . 'images/littleheart.gif" border="0" alt="My ComLuv Profile" width="16" height="14" />';
5. Click on the “Update File” button. Now search for <span class=”heart_tip_box”> again. If it’s gone, the lovely heart icon will now probably not prompt the info panel when you hover on it.
Let me know if it works on your blog too.