开发者 | tmus |
---|---|
更新时间 | 2012年1月17日 02:18 |
PHP版本: | 2.9.2 及以上 |
WordPress版本: | 3.2.1 |
simple-nivo-slider
plugin directory to the /wp-content/plugins/
directory<?php if (function_exists('simple_nivo_slider')) simple_nivo_slider(); ?>
in your templates - Or place a [snivo] shortcode in your post.simple_nivo_caption
can be used to specify a caption for the imagesimple_nivo_link
can be used to specify a link other the default which links to the post (specify none
to disable link completely)simple_nivo_slider()
and [snivo]
instantiation methods accept the same parameters
ID
: This is the ID of the DIV associated with the sliderCategory
: This is the category slug of the categories to use for images (multiple categories can be specified, seperated by comma)simple_nivo_slider();
Template function - ID and multiple categories specified
simple_nivo_slider("anotherid", "mycat1,mycat2");
Shortcode - All defaults
[snivo]
Shortcode - ID and multiple categories specified
[snivo id="anotherid" category="mycat1,mycat2"]
You can specify a custom link, using the simple_nivo_link
custom field on the slide post.
Yes, use none
as the value for the simple_nivo_link
custom field on the slide post.
Most likely, yes.
You can specify a caption for a slide, using the simple_nivo_caption
custom field on the slide post.
Uninstalling the plugin, removes all settings as well. Re-installing, will return all options to their default values.
If you have other Nivo based slider plugins installed, try to deactivate them and see if that helps. Loading multiple instances (and even versions) of the same jQuery function, can yield unpredictable results.
Please do. I can't make too many promises up front, but I promise I'll check my mail. You'll find my mail address in the Contact section.