描述
Simply Featured Video is a featured video plugin that allows you to import video from media library or third party video platform into your WordPress post and embeds the video automatically.
The featured video can be place anywhere in your post content where you want the video to be displayed.
Classic editor not supported
Features
- WordPress featured video
- Support media library and third party video platform
- Embed video automatically
- Block editor support
Theme compatibility
Simply Featured Video is compatible with any WP theme that follows the coding standards.
屏幕截图
安装
- Upload the plugin files to the
/wp-content/plugins/
directory, or install the plugin through the WordPress plugins screen directly; - Activate the plugin through the ‘Plugins’ screen in WordPress;
- Config the plugin in the Simply Featured Video screen.
- Add featured video to your post.
- Place
<?php sfv_the_post_video(); ?>
to your theme’s post template file.
常见问题
-
Will this plugin work with classic editor?
-
Currently there is no support for classic editor.
-
Why is there no featured video box for [xyz] post type?
-
You need to go to the Simply Featured Video setting page and check the post type that you need featured video support.
-
What PHP functions can I use?
-
sfv_get_post_video_source( $post )
sfv_has_post_video( $post )
sfv_get_post_video_id( $post )
sfv_the_post_video( $attr )
sfv_get_the_post_video( $post, $attr )
sfv_the_post_video_url( $post )
sfv_get_the_post_video_url( $post )
sfv_the_post_video_caption( $post )
sfv_get_the_post_video_caption( $post )All parameters are optional. If no $post is given the current post’s ID will be used.
$attr is either a string or an array representing HTML element attributes, e.g. array(‘loop’=> true).
评价
此插件暂无评价。
贡献者及开发者
更新日志
1.3.0
Fix video not loading when using local media
1.2.0
Bumped the “Tested up to” tag to WP 6.1
Bumped SDK version
1.1.0
Fix error on plugin deactivate.
Add instructions in setting page.
1.0.0
Initial release.