cabrerahector / wordpress-popular-posts

WordPress Popular Posts - A highly customizable WordPress widget that displays your most popular posts.
https://wordpress.org/plugins/wordpress-popular-posts/
GNU General Public License v2.0
281 stars 83 forks source link

How to add class to <a> which has wp-post-image? #109

Closed 70599 closed 8 years ago

70599 commented 8 years ago

Now: `

`


Wanted: `

or

`

cabrerahector commented 8 years ago

Hi there!

Currently there's no way to add CSS classes to the HTML output without some coding. You'll need to either build your own custom HTML output or use Javascript to add your CSS classes to the widget on page load.