Title: Adding Link to Thumbnail
Last modified: December 18, 2020

---

# Adding Link to Thumbnail

 *  Resolved [laurenebice](https://wordpress.org/support/users/laurenebice/)
 * (@laurenebice)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/adding-link-to-thumbnail/)
 * Is there a way to add a link to the post on the thumbnail image?
 * Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/adding-link-to-thumbnail/#post-13809437)
 * Hi [@laurenebice](https://wordpress.org/support/users/laurenebice/),
 * Yep, it’s possible. The actual how-to depends on the settings you’re using with
   the plugin though so you’ll want to share some more details if you want help 
   with this 😛
 *  Thread Starter [laurenebice](https://wordpress.org/support/users/laurenebice/)
 * (@laurenebice)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/adding-link-to-thumbnail/#post-13809651)
 * I’m not sure what all information you need so let me know if I leave anything
   out.
 * The theme is cards compact. Sorted by total views over all time. It’s using the
   custom HTML markup option. Here’s what’s there:
 * Before / after title:
    <h3 class=”widget-title” style=”margin-top: 40px; margin-
   bottom: 40px; font-size: 1.5em; color: #3f5464;”>
 * </h3>
 * Before / after Popular Posts:
    <ul class=”wpp-list wpp-cards-compact” style=”
   margin-top: 20px; margin-bottom: 20px;”>
 * Post HTML Markup:
    <li style=”border-bottom: solid 2px #4e91bd; padding-bottom:
   15px;”>{thumb_img}<div class=”wpp-item-data” style=”font-size: .75em; vertical-
   align: top; text-align: left; margin-top: -30px; text-transform: uppercase;”>{
   title}<div class=”author”>{author} | {date}</div></div>
 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/adding-link-to-thumbnail/#post-13809717)
 * Thanks!
 * Easy peasy then: change `{thumb_img}` to `{thumb}` and click on **Save** to apply
   changes (for more details check **Settings > WordPress Popular Posts > Parameters**,
   near the end of the page.)
 *  Thread Starter [laurenebice](https://wordpress.org/support/users/laurenebice/)
 * (@laurenebice)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/adding-link-to-thumbnail/#post-13809746)
 * Fantastic! Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Adding Link to Thumbnail’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-popular-posts/assets/icon-256x256.png?rev=1232659)
 * [WP Popular Posts](https://wordpress.org/plugins/wordpress-popular-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-popular-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-popular-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-popular-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-popular-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-popular-posts/reviews/)

## Tags

 * [thumbnails](https://wordpress.org/support/topic-tag/thumbnails/)

 * 4 replies
 * 2 participants
 * Last reply from: [laurenebice](https://wordpress.org/support/users/laurenebice/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/adding-link-to-thumbnail/#post-13809746)
 * Status: resolved