Support » Plugins » [Plugin: Recently Viewed Posts] how to remove bullets

  • I really like this plugin but I’d like to remove the 10×10 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" />&nbsp;<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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi there, Thanks for checking the plugin out.

    To remove the icons, remove the <img ...>&nbsp;. 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

    That worked perfectly! I appreciate the quick response. Please send me your Paypal address so I can make a donation. Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Recently Viewed Posts] how to remove bullets’ is closed to new replies.