跳到内容

WP Featured Soliloquy Sliders

v1.1

Topher · 2014年8月23日 上架

Provides a metabox on posts and pages listing existing Soliloquy Sliders.

正在使用
100+
评分
5.0 / 5
累计下载
1.5 万
最近更新
2015年8月21日
1 条评价需要 WordPress 3.0+已测试到 4.3.34

贡献者

截图

The Featured Sliders meta box when you do not have any Sliders created in Soliloquy.
The Featured Sliders meta box when you do not have any Sliders created in Soliloquy.
The Featured Sliders meta box when you do have Sliders created in Soliloquy.
The Featured Sliders meta box when you do have Sliders created in Soliloquy.

This plugin provides a metabox on posts and pages listing existing Soliloquy Sliders. The end user is allowed to choose one and make it associated with the post or page via meta data.

Practically speaking, Featured Sliders work exactly like Featured Images. The Post or Page and Featured Sliders are merely attached, and you must use a template tag or WordPress functions to render the Slider.

Please see Other Notes for examples.

Usage

Page or Post meta has a key called _t1k_featured_slider. A very simple way to render the slider is like this:

<?php
    $meta = get_post_custom();
    if ( isset( $meta['_t1k_featured_slider'][0] ) && is_numeric( $meta['_t1k_featured_slider'][0] ) && function_exists( 'soliloquy' ) ) {
        soliloquy( absint( $meta['_t1k_featured_slider'][0] ) );
    }
?>

Plums

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

导航

说明

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

© 2026 Plums