[Plugin: Automatic Youtube Video Posts Plugin] No thumbnail image?
-
For some reason the thumbnail of the videos is not showing up on the posts and such please take a look and help.
http://ronamonroe.com/
Thanks,
bfwickhttp://wordpress.org/extend/plugins/automatic-youtube-video-posts/
-
There is a function you’ll need to add to your active theme files to display your thumbnails. You can read about it here:
http://www.ternstyle.us/products/plugins/wordpress/wordpress-automatic-youtube-video-posts/wordpress-automatic-youtube-video-posts-functionsI want the thumbnail to be set as the featured image of the post.
I know I have to use this line of code:
<?php tern_wp_youtube_image(); ?>but where should I place the code?
That depends on your theme. If your videos are displayed on the homepage you’ll most likely edit the index.php or home.php files of your active theme. If your videos are displayed on category pages you’ll most likely need to edit you theme’s archive.php or category.php files.
Let’s say I want to do it on both. Where in the php files should I include the code?
thanks for helping!
Does you theme include functions like has_post_thumbnail and the_post_thumbnail?
I found this in the functions.php:
// 210px width images for the grid if ( function_exists( 'add_theme_support' ) ) { add_theme_support( 'post-thumbnails' ); set_post_thumbnail_size( 210 ); } if ( function_exists( 'add_image_size' ) ) { add_image_size( 'homepage-thumb', 210 ); }This is the theme I’m using: http://wpshower.com/themes/imbalance-2
Do you think it will work?
Your theme supports featured images but you’ll need to find where in your theme’s code the featured image is actually printed to the page.
Not being that much of a code person, I use a plugin to retrieve video thumbnails and use tham as featured images: http://sutherlandboswell.com/projects/wordpress-video-thumbnails/
The problem is, it finds the images when the post is published. I set my youtubeposts category NOT to appear on my home page, then I publoish, it fins the images, then I change the category so the video will be displayed in the video carousel on my home page.
@ mpraetzel
I have no idea where to start looking. Do you know what the code looks like so I can do a search?
@ shaleshock
Tried the plugin, but it seems like it won’t work with the Automatic Youtube Video Posts Plugin?
@ pookeyblow
I started a new this on this. http://wordpress.org/support/topic/plugin-automatic-youtube-video-posts-plugin-safe-mode-or-open_basedir-error-when-adding-new-channel
Doesn’t seem to make any diffeence whethe or not Video Thumbnails plugin is activated o not. As long as automatic-youtube-video-posts 3 is activated, some, but not all, of the featured images won’t display. I am going to try a work-around.
Try searching for:
the_post_thumbnailHello mpraetzel,
I am using the Innovation +2 Science theme that uses a custom post, that you have to manually add images to the blog section of the theme. I cant find “post_thumbnail” so that I can add the function <?php tern_wp_youtube_thumb(); ?>,anywhere in the template files. Do you have any suggestions on how to solve this problem?
Hello Elbeomar,
You may find it easier to get support from the author of the theme itself to help you implement this. You can contact them from their ThemeForest profile page here: http://themeforest.net/user/DigitalCavalry
The topic ‘[Plugin: Automatic Youtube Video Posts Plugin] No thumbnail image?’ is closed to new replies.