WordPress.org

Support

Support » Plugins and Hacks » WTI Like Post » [Resolved] [Plugin: WTI Like Post] mostly voted widget is not displaying anything

[Resolved] [Plugin: WTI Like Post] mostly voted widget is not displaying anything

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author webtechideas

    @webtechideas

    Not sure what you changed but changing the template should not affect the widget. Please check on this thread http://wordpress.org/support/topic/plugin-wti-like-post-most-liked-posts-widget-is-empty and let me know if it helps or not.

    thanks. That fixes the problem.
    I was wondering if you could help me add an image from a advanced custom field.

    Here is the code that I need to call to get the image

    <?php $yes_image = get_field('product_image');
     $image = wp_get_attachment_image_src(get_field('product_image'), 'thumbnail');
    if($yes_image)
    {
    $image_thumb = explode(".",$yes_image);
    
    echo '<div id="image_box"><div class="image_span"><a href="';
    echo the_permalink();
    echo '">';
    echo '<img class="image-scaling" src="';
    echo $image[0];
    echo '" alt=""/></a></div></div>';
    }
    
    else {echo 'no image';}?>

    Can you help me to add to your code?

    thanks

    I was wondering if is possible to have an option to show only specific category? Like to show most viewed posts from the current post category?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] [Plugin: WTI Like Post] mostly voted widget is not displaying anything’ is closed to new replies.
Skip to toolbar