How to use YT thumb in plugin

Posted by Frank Morrison on Stack Overflow See other posts from Stack Overflow or by Frank Morrison
Published on 2012-06-27T18:47:36Z Indexed on 2012/06/28 3:16 UTC
Read the original article Hit count: 192

I'm using two plugins on my wordpress site:

Auto post youtube

Pulls a youtube video then drafts it for me. I use this on my index page beside the post code and the thumbnail appears great:

<?php tern_wp_youtube_image(); ?>

Top Ten

Which I use to display the most viewed posts on a page. Not looking great at the moment, but will fix styling later. This is the code to display popular posts:

<?php if(function_exists('tptn_show_pop_posts')) tptn_show_pop_posts(); ?>

Is it possible for me to use the youtube image in the popular post function? Or is it because they are seperate they cannot work together without a lot of code?

Thanks in advance! Some links incase anybody wants to check them out http://wordpress.org/extend/plugins/top-10/

http://www.ternstyle.us/products/plugins/wordpress/wordpress-automatic-youtube-video-posts/wordpress-automatic-youtube-video-posts-functions

© Stack Overflow or respective owner

Related posts about php

Related posts about Wordpress