描述
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] ) );
}
?>
屏幕截图
安装
This section describes how to install the plugin and get it working.
- Upload the
wp-featured-soliloquy-sliders
folder to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Create new or Edit a Post.
常见问题
- Why don’t you have more questions here?
-
I haven’t been asked any yet. 🙂
评价
此插件暂无评价。
贡献者及开发者
更新日志
1.1
Check for WP 4.0
1.0
- Initial release.