Support » Plugins and Hacks » WP Favorite Posts » Thumbnails in widget

Thumbnails in widget

  • This plugin is great, I’m using it with some custom posts and all works well, except…

    I would like to add a thumbnail to each Favorited item in the widget, i’ve tried the below code and although this displays an image – it displays the same thumbnail for every post.

    the_post_thumbnail( $thumbsize );
                echo "<a href='".get_permalink($o->post_id)."' title='". $p->post_title ."'>" . $p->post_title . "</a>($o->meta_value)</span>";

    any pointers or guidance would be really appreciated.


Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Thumbnails in widget’ is closed to new replies.
Skip to toolbar