WordPress.org

Ready to get started?Download WordPress

Forums

Video Thumbnails
set thumbnail as custom field (2 posts)

  1. neuville
    Member
    Posted 10 months ago #

    Hello,
    I'd need to set the thumbnail as a custom field ("thumbnail") for use with the timthumb plugin.

    Any way getting this to work?
    thanks in advance

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

  2. Sutherland Boswell
    Member
    Plugin Author

    Posted 9 months ago #

    The URL is saved to the "_video_thumbnail" custom field. This can be changed near the beginning of video-thumbnails.php in this line:

    define( 'VIDEO_THUMBNAILS_FIELD', '_video_thumbnail' );

    Disclaimer: I don't recommend doing this because I can't guarantee it will work, you'll have to change it again after every plugin update, and it might not always be possible to change this easily. But if you don't have any other option it's worth a shot. Also, good themes should be using post thumbnails and custom image sizes instead of timthumb.

Reply

You must log in to post.

About this Plugin

About this Topic