The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Reaction Buttons
[resolved] Display thumbnail in most clicked widget (1 post)

  1. spencermerpi
    Posted 4 years 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.]

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Reaction Buttons
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic