Support » Plugins and Hacks » Reaction Buttons » [Resolved] [Plugin: Reaction Buttons] Display thumbnail in most clicked widget
4 years, 6 months ago
I have the widget displaying the title of the posts, but I also want the thumbnails (featured image) to be displayed. Can you tell me how/where to put that code? I have this code on my regular posts to show the thumbnail
<?php if ( has_post_thumbnail()) : ?>
” title=”<?php the_title_attribute(); ?>” >
<?php the_post_thumbnail( ‘category-thumb’ ); ?>
Thanks for your help!
[Moderator Note: Please post code or markup snippets between backticks or use the code button to avoid your code being mangled by the forum’s parser.]