Support » Plugin: WordPress Popular Posts » {thumbs} not displaying any images

  • Resolved iorgad


    Hello, I installed early today this plugin and i am struggling to display the images of the popular posts. I tried everything like:
    1. check if server has GD installed and it has
    2. uninstalled and installed again the plugin
    3. cleared data of plugin
    4. cleared cache of plugin
    5. changing the Thumbnail source from Featured image to first image on post
    6. checked the permissions on the plugin folder and uploads folder
    7. i read all the other topics from this plugin
    The results are the same: no image is displayed. Can you please help me with this bug? This is the functions i use to display the popula tags:
    <?php if (function_exists('wpp_get_mostpopular')) wpp_get_mostpopular("stats_category=1&post_type=post,page&cat='2,11,5'&range='monthly'&wpp_start='<div class=\"popular\"><h2>Popular Posts</h2>'&wpp_end='<div class=\"clear\"></div></div>'&limit=3&post_html='<div class=\"articleBox\"><div class=\"image\"><div class=\"icon\"><img src=\"/images/icon-photo.png\"/></div>{thumb}</div><p class=\"category\">{category}</p><h3><a href=\"{url}\">{text_title}</a></h3></div>'"); ?>
    I tried even the simple function just with the {thumb} and still nothing appears. Thank you in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Here is the HTML output:

    <div class="popular">
    <h2>Popular Posts</h2>
    <div class="articleBox">
    <div class="image">
    <div class="icon">
    <img src="/images/icon-photo.png">
    <p class="category">
    <a href="/category/blog/">Blog</a>
    <a href="/first-blog-post/">First blog post</a>
    <div class="clear"></div>

    I just found the response to my problem. I had to add:
    thumbnail_selection='usergenerated'&thumbnail_width='250'&thumbnail_height='80' to wpp_get_mostpopular function.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘{thumbs} not displaying any images’ is closed to new replies.