Add Featured Video

If you are running a digital market place that sells videos, you might want to provide a video thumbnail instead of the standard featured image for your products. The following article will outline how you can achieve this with the help of a 3rd party plugin and some integration code provided.

Please Note:

Although we provide these tips and tricks, custom code is not covered by support. We provide these without warranty. We do test them as working at the time of publishing. If you do find an error with it, let us know and we will try and resolve it when we can.

Requirements

  1. WC Vendors Marketplace
  2. WC Vendors Pro
  3. WooCommerce Featured Video (free)

Installation

We are going to assume that you have already installed and configured WC Vendors Marketplace and WC Vendors Pro. If you haven’t please see our guides here and here. You will then just need to install WooCommerce Featured Video from the WordPress.org repository.

Go to Plugins > Add New on your WordPress Dashboard and then search for WooCommerce Featured Video. Click on install.  

Then activate 

Integration code

Once the WooCommerce Featured Video plugin is installed and activated all you will need to do is add the following code to your themes functions.php and it will provide a new video url input box for your products.

This will result in the following being added to your WC Vendors Pro Product edit form.

Please note. If a video URL is set then the featured image above is ignored. If you wish to have the featured image show again, just delete the featured image url.

Supported video links are outlined on the plugin page here – https://wordpress.org/plugins/woo-featured-video/

 

actions

Updated on September 9, 2019

Was this article helpful?