Ready to get started?Download WordPress


Video Thumbnails
set thumbnail as custom field (2 posts)

  1. neuville
    Posted 10 months ago #

    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


  2. Sutherland Boswell
    Plugin Author

    Posted 10 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.


You must log in to post.

About this Plugin

About this Topic