Simple Featured Video

Description

The Simple Featured Video Plugin is a user-friendly WordPress plugin which provides a simple interface to showcase your videos in Page, Post, and custom post type.

If you want to use your own videos in your WordPress website, then you can easily use this Plugin.

Upload Video section will be displayed below the featured image, The plugin will create a meta box there, just like featured image upload.

The plugin has a setting section that will display on the setting menu, here You can choose the Page, Post and Post Type in which you want to upload the featured video.

The Simple Featured Video meta box By Default Enabled in The Post Section, The Plugin will also offer you to change this From the Setting Section.

The Shortcode allows you to display the video on the page or post

Bypassing Arguments like post id, you can display the featured video of that post.

To display the video on post page use short code : [sfv_video_show]

in code add shortcode like below :

Also with post id you can display the video by using below shortcode :

Screenshots

  • Selecting post type from the settings.
  • Upload video button on posts .
  • Video uploaded screenshot.
  • Video uploaded in pages.

Installation

Admin Installer via search

  1. Visit the Add New plugin screen and search for “Simple Featured Video”.
  2. Click the “Install Now” button.
  3. Activate the plugin.
  4. Navigate to the settings >> “Simple Featured Video” Menu.

Admin Installer via zip

  1. Visit the Add New plugin screen and click the “Upload Plugin” button.
  2. Click the “Browse…” button and select zip file from your computer.
  3. Click “Install Now” button.
  4. Once done uploading, activate Simple Featured Video.

Manual

  1. Upload the Simple Featured Video folder to the plugins directory in your WordPress installation.
  2. Activate the plugin.
  3. Navigate to the settings >> “Simple Featured Video” Menu.

After installation and activation of plugin go to settings >> “Simple Featured Video” Menu .

Select the post types , in which you want to display the video.

To display the video on post page use short code : [sfv_video_show]

In code add shortcode like below :

Also with post id you can display the video by using below shortcode :

Use below code if you want to display the video with code:

global $post;
$postid = $post->ID;
$meta_key = 'featured_video_uploading';
$meta_value = get_post_meta($postid, $meta_key, true);
if( $media = wp_get_attachment_url($meta_value)) {  // getting video here
    $image = '<video controls="" src="'.$media.'" style="max-width:100%;display:block;"></video>';
    echo $image;
}

FAQ

  1. How to select multiple post type?

    once you installed the plugin you can see settings in wordpress “Settings” menu

    Go to Settings >> Simple Featured Video
    Here you can select the posts type , pages, posts , in which you want to display the video.

  2. How to upload large size video?

    Thats purely depends upon the uploading limit of your website configuration, check php-ini, htaccess, wp-config etc..

  3. How to display video by passing the post id?

    Using shortcode [sfv_show_by_postid], you can display the video by post id.
    eg: – : [sfv_show_by_postid postid=””5″]

  4. How to display video while listing the posts of a post type?

    you can display the video in listing posts, using the same shortcode [sfv_video_show] as below :

    // shortcode

    <a class="btn btn-primary" href="” role=”button”>ReadMore

Contributors & Developers

“Simple Featured Video” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

= 1.0 – 2019-05-22 – First version