WordPress.org

Ready to get started?Download WordPress

Forums

Video Thumbnails
[resolved] Video Thumbnails beta 3 (3 posts)

  1. rkovachev
    Member
    Posted 1 year ago #

    The new beta can not automatically set thumbnail as featured image. There is a video thumb but it can't generated as a featured image.

    http://wordpress.org/extend/plugins/video-thumbnails/

  2. Sutherland Boswell
    Member
    Plugin Author

    Posted 1 year ago #

    I think I found the problem, in video-thumbnails.php try changing

    if ( get_option( 'video_thumbnails_set_featured' ) == 1 && get_option( 'video_thumbnails_save_media' ) == 1 && get_post_thumbnail_id( $post_id ) ) {

    to

    if ( get_option( 'video_thumbnails_set_featured' ) == 1 && get_option( 'video_thumbnails_save_media' ) == 1 && !get_post_thumbnail_id( $post_id ) ) {

    The last bit checks if there's already a post thumbnail, but I accidentally had it reversed!

  3. rkovachev
    Member
    Posted 1 year ago #

    It's OK with beta 4.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic