Beskrivning
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.
Skärmdumpar
Installation
- 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.
Vanliga frågor
-
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).
Recensioner
Detta tillägg har inga recensioner.
Bidragsgivare och utvecklare
”Simply Featured Video – Featured video support for WordPress” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.
Bidragande personerÖversätt ”Simply Featured Video – Featured video support for WordPress” till ditt språk.
Intresserad av programutveckling?
Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.
Ändringslogg
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.