Viewing 6 replies - 1 through 6 (of 6 total)
  • Can you show the entire loop?

    EDIT: Sorry, I didn’t read your entire post. Disregard about showing the loop….

    The plugin docs say that you can just check “Display post thumbnails” and it will automatically generate the featured images for the posts.

    Thread Starter the_walrus

    (@the_walrus)

    I’m actually talking about another plugin. https://rmarsh.com/plugins/post-options/

    Thread Starter the_walrus

    (@the_walrus)

    PS… it’s outside the loop.

    After reading through that plugins options page in the docs, I believe you need to make something like this with output template tags:

    <?php  popular_posts('limit=6&output_template=<li class="thumbnail"><a href="{url}"><img src="{image:0:40:40}" alt="{title}" /></a></li>'); ?>

    Where the image options are as follow:

    {image:number:width:height}

    Sorry I can’t spend more time on hashing it out with you. ??

    Thread Starter the_walrus

    (@the_walrus)

    Dude, thanks for your time, seriously appreciate it. I thought it would be a quick fix, but I guess not. The code you posted grabs the first image in the post itself. I tried placing the post_thumbnail image in the php file, but the plugin ignored it. It had to be IN THE POST ITSELF, which is the {image} part of the code you posted.

    For those that may find this post, I would suggest this plugin>

    https://ajaydsouza.com/wordpress/plugins/top-10/

    works like a charm!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Images (thumbnails) repeating’ is closed to new replies.