跳到内容

Epitome Featured Content

v1.0

Fred Dessaint · 2015年12月7日 上架

Add your sliders, carousels, videos, maps or any kind of interactive elements as a featured content to your posts and pages.

正在使用
10 以下
评分
暂无
累计下载
1,230
最近更新
2015年12月4日
需要 WordPress 3.5+已测试到 4.3.34

贡献者

The featured content helps to featuring other media than the default featured image from WordPress on a regular post or static page. For example sliders, carousels, videos, maps or any kind of interactive elements. The plugin adds a metabox in the edit page for saving an embedded code. Note that a small coding is required to display the featured content in the right location of your template. You can display the featured content in the desired location of the page with a set of functions that you call from your template. The plugin CMB2 is required for creating metaboxes.

Functions

  • the_featured_content() takes the current post or page ID and outputs the featured content.
  • get_the_featured_content($post_id) has one optional parameter (post or page ID) and returns the featured content as a string.
  • has_featured_content($post_id) has one optional parameter (post or page ID) and checks whether a featured content exists.

Plums

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

导航

说明

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

© 2026 Plums