Viewing 15 replies - 31 through 45 (of 69 total)
  • I am experiencing the same problem. Some of the recent post widget has no thumbnail.

    Where to add this code: <?php var_dumb( $thumb_id ); ?>

    Plugin Author Ga Satrya

    (@satrya)

    @jaypabs

    • Please go to Plugins > Editor
    • Look at the selectbox on your right, select this plugin name
    • You will see a list of the plugin files on the right, click rpwe.php
    • Add var_dumb( $thumb_id ); below the $thumb_id = get_post_thumbnail_id(); function

    Please try it.

    I deleted the widget and add it again and it works fine.

    But seems it does not follow the height that I’ve set.

    Plugin Author Ga Satrya

    (@satrya)

    Oh great ??

    But seems it does not follow the height that I’ve set.

    Haha, I’m so sorry, I made a mistake with the description, it should be (height, width, align)

    I can’t find $thumb_id = get_post_thumbnail_id(); in rpwe.php. May be this is the cause of the problem.

    Also, when I delete the widget on some of my site, the thumbnail still does not show. I’m confused though, because it works on one of the site.

    May be what you mean, find $thumb_id = get_post_thumbnail_id(); under recent-posts-widget-extended/includes/functions.php?

    Plugin Author Ga Satrya

    (@satrya)

    oh yes, sorry I mean in functions.php what do you see? It should display the featured image ID

    The widget does not show after adding that code.

    Plugin Author Ga Satrya

    (@satrya)

    Please change these 3 lines of code

    $thumb_id = get_post_thumbnail_id();
    $img_url  = wp_get_attachment_url( $thumb_id, 'full' ); // Get img URL.
    $image    = aq_resize( $img_url, $args['thumb_width'], $args['thumb_height'], true ); // Resize & crop img.

    with this one

    $thumb_id = get_post_thumbnail_id();
    var_dumb( $thumb_id );
    $img_url  = wp_get_attachment_url( $thumb_id, 'full' ); // Get img URL.
    var_dumb( $img_url );
    $image    = aq_resize( $img_url, $args['thumb_width'], $args['thumb_height'], true ); // Resize & crop img.

    I’m sorry to waste your time, but I need it to test what is causing the thumbnail not showing ??

    Still the same. Some thumbnail still not showing.

    The only difference is that the widget does not disappear.

    Plugin Author Ga Satrya

    (@satrya)

    Please asnwer these questions

    • You don’t see any number appear?
    • Are you sure your post has featured image?
    • Do you know your theme uses Aqua Resizer script?

    You don’t see any number appear?
    Nope. After clearing the cache, the widget does not appear as before.

    Are you sure your post has featured image?
    Yes, of course.

    Do you know your theme uses Aqua Resizer script?
    How do I know if my theme uses Aqua Resizer script? How do I install this?

    Plugin Author Ga Satrya

    (@satrya)

    Oh ok, first two question is enough for me, there’s something wrong with the resizer script. Thank you so much for helping me to debug the issue and I’ll prepare for the update.

    I am sorry i was able to come online only now. Looks like jaypabs tested it out for you.

    I tried it out on my dev.
    and just like him, i did not see any number appear, all my posts have featured images and i do not have aqua resizer script nor i plan to install it.

    Plugin Author Ga Satrya

    (@satrya)

    Hi Kumar and all,
    Please try to update to the newer version. I hope it fixed the issue. ??

Viewing 15 replies - 31 through 45 (of 69 total)
  • The topic ‘Thumbnails were missing’ is closed to new replies.