WordPress save youtube or vimeo thumbnail as featured image

0

How to save youtube or vimeo thumbnail as featured image of wordpress post.For a examaple if you add the video url as custom meta data or post content you need to get it’s video thumbnail and save it as featured image automatically.
This post is discussing how to save youtube vimeo thumbnail as featured image in wordpress post or page or custom post types.


Wordpress save youtube or vimeo thumbnail as featured image

Copy and paste the following function and hook into theme function.php file and save it. Featured image will save when post is save.

If you need help regarding WordPress create custom meta boxes you can refer my another post.

If you need help regarding WordPress create custom post types with tags and categories you can refer my another post.

If you need help regarding WordPress find specific shortcodes from post & page contents you can refer my another post.

If you need help regarding WordPress create custom post types/taxonomies you can refer my another post.

That’s only. Leave a comment here if you have problem or your ideas.

Thank you

Share.

About Author

Sumith Harshan is the Web Engineer Specializes in Java Script, JQuery, HTML4/5, CSS2/3, PHP, CodeIgniter, CakePHP, J2SE, J2EE, XML, Hacking & Security, Mobile Interface Developing, Magento, Wordpress, Joomla, Drupal,PHPBB,Facebook App Developing and Open cart...etc.