开发者 |
Griden
ThemeFurnace |
---|---|
更新时间 | 2017年2月3日 22:10 |
PHP版本: | 3.3 及以上 |
WordPress版本: | 3.5 |
docs/readme.html
as well.
responsive-slider
to the /wp-content/plugins/
directory.<?php echo do_shortcode( '[responsive_slider]' ); ?>
in your template - wherever you want it displayed. Alternatively you can use [responsive_slider]
into a post or a page - just like any other shortcode.Make sure to use <?php echo do_shortcode( '[responsive_slider]' ); ?>
instead of <?php do_shortcode( '[responsive_slider]' ); ?>
if you are adding the slider directly to your template file.
The slider addapts to it's container width. If you are using a theme with non-responsive layout, the slider won't behave 'responsively' as well.
The plugin has been tested with more than 20 popular WordPress themes. It should work in yours too.
No, not at all. You can use it with any theme.
Sure, you can easily override the slider CSS in your theme. The easiest approach is to use a tool like Firebug to find the snippet you need to override. Then copy it to your theme CSS file (usually style.css
) and edit it there, using a CSS selector with higher priority.
No, currently the plugin can maintain only one slider.
<?php echo do_shortcode( '[responsive_slider]' ); ?>
instead of <?php do_shortcode( '[responsive_slider]' ); ?>
if you are adding the slider directly to your template file. Ignore this if you are using the [responsive_slider]
shortcode.