beggers
Member
Posted 2 years ago #
I really like this plugin but I'd like to remove the 10x10 gravatar icons because my style already adds icons. Can you tell me how to remove this code? I'm pretty sure it's in the section below but my coding skill aren't that good.
$html .= '<li><img src="http://www.gravatar.com/avatar/' . $item[1]
.'.jpg?s=10&d=identicon" alt=" " width="10" height="10" /> <a href="'
.get_permalink( $item[0] ).'">'.get_the_title( $item[0] ).'</a> '
.recently_viewed_posts_time_since( $item[2] ).' ago </li>';
if ( ++$count == $max_shown )
break; // i've shown enough
http://wordpress.org/extend/plugins/recently-viewed-posts/
Pinoy.ca
Member
Posted 2 years ago #
Hi there, Thanks for checking the plugin out.
To remove the icons, remove the <img ...> . The above code will become
$html .= '<li><a href="'
.get_permalink( $item[0] ).'">'.get_the_title( $item[0] ).'</a> '
.recently_viewed_posts_time_since( $item[2] ).' ago </li>';
if ( ++$count == $max_shown )
break; // i've shown enough
beggers
Member
Posted 2 years ago #
That worked perfectly! I appreciate the quick response. Please send me your Paypal address so I can make a donation. Thanks.