WordPress.org

Forums

Video Thumbnails
set thumbnail as custom field (2 posts)

  1. neuville
    Member
    Posted 1 year 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 1 year 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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Video Thumbnails
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic