Title: Thumbnail Alt Text Missing
Last modified: August 21, 2016

---

# Thumbnail Alt Text Missing

 *  [Pedro Gomes](https://wordpress.org/support/users/pedroebg/)
 * (@pedroebg)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/thumbnail-alt-text-missing/)
 * Hi,
 * First of all thank you very much for making a great plugin that’s highly configurable
   🙂
 * I’ve set it up in one of my websites and I noticed that the alt text is missing
   from the thumbnails although it is fetching the thumbnail’s title tag.
 * All my thumbnails have alt text and title tags attributed, WPP is setup go get
   the images from the post’s thumbnail.
 * I’m using the latest versions of WordPress and WPP
 * This is the code that I’m using
 *     ```
       <?php if (function_exists('wpp_get_mostpopular')) wpp_get_mostpopular("range=daily&order_by=views&limit=5&post_type=post&excerpt_length=555&thumbnail_width=70&thumbnail_height=70&wpp_start='<div>'&wpp_end='</div>'&post_html='
       <div class=\"wrapper\">
       <div class=\"post\">
       <div class=\"p-con\">{thumb}
       <h3>{title}</h3>
       <p>{summary}</p>
       </div>
       </div>
       </div>
       '"); ?>
       ```
   
 * Kind regards,
    Pedro
 * [http://wordpress.org/extend/plugins/wordpress-popular-posts/](http://wordpress.org/extend/plugins/wordpress-popular-posts/)

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

 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/thumbnail-alt-text-missing/#post-3946244)
 * Hi Pedro,
 * Thanks for the notice! I didn’t notice that. I’ll take a look into it later today
   and probably push a new plugin update, too.
 *  Thread Starter [Pedro Gomes](https://wordpress.org/support/users/pedroebg/)
 * (@pedroebg)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/thumbnail-alt-text-missing/#post-3946248)
 * Hi Héctor,
 * In my case the key seems to be on line 1496.
 * As a temporary fix I’m using `alt=\"{$id}\"` to not have an empty alt tag.
 * Thank you very much for looking into it 🙂
 *  Thread Starter [Pedro Gomes](https://wordpress.org/support/users/pedroebg/)
 * (@pedroebg)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/thumbnail-alt-text-missing/#post-3946253)
 * Another issue I picked up is that the title tag is being placed in the `<a>` 
   tag instead of `<img>`. That’s being caused by the code in line 1225.
 * `$thumb = "<a href=\"". $permalink ."\" title=\"{$title}\">";`
 *  [Hassan Bawab](https://wordpress.org/support/users/magiclogix/)
 * (@magiclogix)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/thumbnail-alt-text-missing/#post-3946427)
 * can someone help me to solve this issue: [https://wordpress.org/support/topic/popular-posts-thumbnails-missing-alt-tags?replies=2](https://wordpress.org/support/topic/popular-posts-thumbnails-missing-alt-tags?replies=2)

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

The topic ‘Thumbnail Alt Text Missing’ 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/)

 * 4 replies
 * 3 participants
 * Last reply from: [Hassan Bawab](https://wordpress.org/support/users/magiclogix/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/thumbnail-alt-text-missing/#post-3946427)
 * Status: not resolved