• Hey guys, just added a few lines to the plugin to get it to handle thumbnails in the link list, like this:

    // %post_thumbnail% by James C. Hodgson, Jr
             if ( FALSE !== strpos( $instance['format'], '%post_thumbnail' ) ) {
                // ...and take yo picture; i wanna get witcha. I won't cuss or hitcha!
                $thumb = get_the_post_thumbnail( $post['post_id'], 'thumbnail');
                $replace['%post_thumbnail%'] = $thumb;
             }

    Don’t know if it’s of use to anyone else, but if so, there it is. Any hope of getting this functionality into the main codebase?

    http://wordpress.org/extend/plugins/wordpress-popular-posts/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WordPress Popular Posts] Popular Posts with Thumbs’ is closed to new replies.