Featured Video Play Icon

Change Your WordPress Blog Posts Featured Image With Featured Video

Lots of sites are doing featured video in their blog posts, like I do in this one. I love using images in my blogs, it provides breathing room for longer articles and breaks up boring designs with colors. But if a picture is worth a thousand words, then is a video worth a million?

When developing DSGN, a blogging theme that I designed previously for this site, my thoughts on using featured content was that it should all be equal. Images, video and sound should all be able to be featured if the user wants it to.

It turns out using video as featured content was much easier than I originally thought. Obviously because there is a great plugin called Featured Video Plus that offers exactly what we’re looking for. So, here’s what you do:

First up, make sure that your theme supports featured images. Most themes do, but if yours doesn’t, there’s an easy fix for that. Put this code in your functions.php file, preferably (for the tidyness of it) in a function that registers theme features:

// Add theme support for Featured Images
add_theme_support( 'post-thumbnails' );

That’s great. Your theme will now support featured images.

Next you want to make sure your theme actually uses the featured images in your blog posts. You can do this by looking for:

<?php the_post_thumbnail(); ?>

All this snippet do is to grab the featured image and display it. You’ll usually find it in content.php, but if your theme doesn’t have the content templates, your next bet would be in the index.php or single.php files. Make sure the code snippet is placed in the loop and over the content code and you’ll be all set for the last step.

The final step will be to install and activate the Featured Video Plus Plugin.

Look for the meta box in the top right of the post window to write in your video URL or upload your own video.

Screenshot of the Featured Video Plus plugin Box

Congratulations, you can now post blog articles with featured video! If this didn’t go the way you hoped it would, ask me in the comments and I’ll try to help you out.

  • Victor

    The thing is, I want Featured Video plus to display the generated featured image everywhere but on the post where I want the video to be displayed instead of the image.
    The only option in Media settings is “Manually use PHP-functions or shortcodes”.

    Any idea what the code might look like ?

    • Victor, I’m not quite sure what you’re asking here. If you’re looking for information on how to customize the use of the plugin, there’s some hooks and help in the contextual tab under Media Settings, if not – would you mind elaborating your problem?