跳到内容

Post Media Manager: Image & Video

v1.0.0

primisdigital · 2025年5月14日 上架

Add a featured video to any custom post. Includes a layout designer and shortcode display options.

正在使用
10 以下
评分
暂无
累计下载
605
最近更新
2025年5月14日
需要 WordPress 6.0+已测试到 6.7.12PHP 7.4+

贡献者

Post Media Manager is a lightweight WordPress plugin that allows you to set a featured video for your blog posts — just like a featured image!

It includes a built-in Layout Designer so you can create and preview how your posts (with videos) will appear on the frontend. This is perfect for bloggers or publishers who want to enhance their posts with engaging video content.

You can display the video automatically after the post content or insert it manually using a shortcode.

Features

Set Featured Videos on Posts- Upload or select a video for any WordPress blog post.

Layout Designer- Create and preview custom layouts for displaying post content along with featured videos.

Automatic Video Display- Optionally display videos after the post content or excerpt automatically.

Shortcode Support- Use [sfv_layout_display] to insert post manually.

Replace Featured Image- Optionally replace the post thumbnail with the featured video on the frontend.

Stored as Post Meta- Videos are stored as post meta, using the WordPress media library.

Admin Installer via search:

Visit the Add New plugin screen and search for “Post Featured Video and Layout Designer”.
Click the “Install Now” button.
Activate the plugin.

Admin Installer via zip:

Download the Plugin.
Extract the ZIP file and upload.
Activate the plugin through the “Plugins” menu in WordPress.

Usage

  1. Set a Featured Video:

Go to any Post (Add New or Edit).
On the right sidebar (or below the editor), you’ll see a Featured Video meta box.
Click Upload Video to add a video from the media library or upload a new one.
Save or update the post.

  1. Design Your Layout (Optional)

Go to Layout Designer from the WordPress admin menu.
This page displays a live preview of all your posts with their featured videos.
Use the provided shortcode to display this layout on any page or post.

  1. Use Shortcodes

Manually display the featured video using: [sfv_layout_display]
This will show the featured video for the current post.

  1. Design Custom Layouts (Optional)

Go to Layout Designer from the admin menu.
View how your posts will appear with their featured videos.
Copy and paste the shortcode [sfv_layout_display] into any post or page to show the layout.

  1. Replace Featured Image with Video (Optional)

Enable this option from your plugin settings.
If a video is set, it will be displayed in place of the featured image on the frontend.

Code Example

Registering Admin Menu:

add_action(‘admin_menu’, ‘sfv_add_admin_menus’);
function sfv_add_admin_menus() {
add_menu_page(
‘Post Layout ‘,
‘Post Layout’,
‘manage_options’,
‘sfv-layout-designer’,
‘sfv_render_layout_designer_page’,
‘dashicons-video-alt3’,
25
);
}

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums