WordPress.org

Ready to get started?Download WordPress

Forums

Automatic Youtube Video Posts Plugin
Thumbnails and Embed box (5 posts)

  1. bluebird2
    Member
    Posted 2 years ago #

    This is a great plugin. I found two minor issues that could be fixed:

    1. I does not work with "Video Thumbnails" or "Video Thumbnailer" plugin. If it works with them or if you add an option to import the thumbnail that would be great.

    2. In the setting it would be helpful to make the "embed" box an option so it does not show up on the page if the user does not want to show it.

    http://wordpress.org/extend/plugins/automatic-youtube-video-posts/

  2. baohouse
    Member
    Posted 2 years ago #

    Thumbnails don't get embedded in the "Featured Image" portion, but you can insert it into the template this code:

    <?php has_post_thumbnail() ? the_post_thumbnail() : tern_wp_youtube_image(); ?>

  3. christicehurst
    Member
    Posted 2 years ago #

    How do you insert it into a template baohouse? Bit of a noob in wordpress sometimes.

  4. MyrddinDE
    Member
    Posted 2 years ago #

    Found this post since I was hunting the same problem.

    Should you have an artisteer generated theme you need to check out the functions.php

    Find the function that starts like this:

    if (!function_exists('theme_get_post_thumbnail')){

    and after the closing bracket for

    elseif ($auto) {
    .....
    }

    add this

    elseif (function_exists('tern_wp_youtube_image')) {
    			ob_start();
    			tern_wp_youtube_image();
    			$result = ob_get_clean();
    		}

    Hope that helps someone with this great plugin

  5. magnified
    Member
    Posted 2 years ago #

    All I had to do is on the Video Thumbnails Plugin settings page, where it says "Custom Field (Optional: If your video is stored in a custom field, enter the name of that field here. Otherwise, leave this field blank.)" just enter '_tern_wp_youtube_video' (without the 's) there. That's where the Youtube posts plugin stores the video thumbs. Works on my site and I have over 700 videos. Sometimes the auto thumbnail plugin takes a while to "find" the new videos and assign the thumbs though.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic