Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Where can I download the old version that still has the sidebar widget? The new shortcode is missing core features such as using predefined thumbnails from media library.

    Thread Starter anonamix

    (@anonamix)

    This works for returning the un-linked image which is sufficient! It also does, in fact, return the WebP.

    One fix was needed, ‘post-thumbnail’ should be just ‘thumbnail’. ‘medium’, ‘large’, etc for whichever size you want also works.

    Best regards!

    Thread Starter anonamix

    (@anonamix)

    I had this thought about using stock thumbs as well, which I would love to do, regardless, for overall efficiency. I do use a predefined size in my sidebar widget and it works fine (without WebP, for some reason). However, as stated, this issue is not coming from the sidebar widget. It is instead from using PHP in a page with WPP’s parameters feature. I reviewed the parameters section in the settings and did not see any documentation for how to use a stock/pre-generated thumb using this method. If it is possible, please advise.

    Thread Starter anonamix

    (@anonamix)

    Full code for a working thumb:

    <div class="item">
     <a href="http://mysite.com/post_title/" target="_self">
      <noscript data-img="http://mysite.com/wp-content/uploads/wordpress-popular-posts/9349-featured-238x0.jpg" data-webp="http://mysite.com/wp-content/uploads/wordpress-popular-posts/9349-featured-238x0.jpg.webp" data-class="wpp-thumbnail wpp_featured wpp_cached_thumb" data-width="238" class="">
       <img src="http://mysite.com/wp-content/uploads/wordpress-popular-posts/9349-featured-238x0.jpg" width="238" height="0" alt="" class="wpp-thumbnail wpp_featured wpp_cached_thumb" />
      </noscript>
      <img src="http://mysite.com/wp-content/uploads/wordpress-popular-posts/9349-featured-238x0.jpg.webp" class="wpp-thumbnail wpp_featured wpp_cached_thumb" width="238">
     </a>
    </div>

    Full code for a non-working thumb:

    <div class="item">
     <a href="http://mysite.com/post_title/" target="_self">
      <img src="http://mysite.com/wp-content/uploads/wordpress-popular-posts/9438-featured-238x0.webp" width="238" height="0" alt="" class="wpp-thumbnail wpp_featured wpp_cached_thumb">
     </a>
    </div>
    • This reply was modified 5 years, 10 months ago by anonamix.
    Thread Starter anonamix

    (@anonamix)

    _

    Thread Starter anonamix

    (@anonamix)

    I apologize. It does work, but it does not seem to work for any widget with a blank title. Also, there is a particular incompatibility with the “Rating-Widget” plugin.

    Thread Starter anonamix

    (@anonamix)

    That could work. I think most people who use the widget have it in a sidebar, so they need to have a set width so that the images fit. Then they either want a set height (crop) or automatic height (scaled). So if we can get the images to load scaled down to a set width, that would be great.

    Thread Starter anonamix

    (@anonamix)

    I guess I’m making this a feature request then 🙂 It would cool if we could set height or width to ‘auto’ in the widget settings and have the images load scaled down instead of cropped so that load times would be faster.

    Thread Starter anonamix

    (@anonamix)

    Sorry, yep. Figured out my mistake. I was setting width at 160px in the widget settings, but if I set both dimensions higher than that of any of the images being loaded then it worked just fine.

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