Linux 软件免费装
Banner图

Simple Featured Video

开发者 primisdigital
vinshakp
更新时间 2020年8月17日 18:34
PHP版本: any version 及以上
WordPress版本: 5.2.4
版权: GPLv2 or later
版权网址: 版权信息

标签

video featured videos video embed video plugin video post featured video product-video woocommerce video posts featured video

下载

1.0 1.1

详情介绍:

The Simple Featured Video Plugin is nothing but a featured video uploading plugin for wordpress. Its 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. By Default "Simple Featured Video" meta box Enabled in The Post Section, The Plugin will also offer you to change this From the Setting Section. There are lots of options to display the video on pages and posts. In plugin settings page, there is an option to display video along with contents and excerpts of posts. Also, Shortcodes are there to display the video on the page or post. Bypassing Arguments like post id in shortcodes, you can display the featured video of that post. To display the video on post page use shortcode : [sfv_video_show] in code add shortcode like below : Also,ith post id you can display the video by using below shortcode : Also this plugin is compatible with WooCommerce product page.In back end of plugin settings page, there are lots of options available, from there you can choose the position of video.

安装:

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 = ''; echo $image; }

屏幕截图:

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

更新日志:

= 1.0 - 2019-05-22 = 1.1 Updated for woocommerce products also. Different options implemented to display video on woocommerce product page. Along with manual adding shortcodes, implemented feature to automatically adding video with post contents or excerpts based on the options in back end. Fixed some bugs in 1.0 version.