| 开发者 | rajanit2000 |
|---|---|
| 更新时间 | 2026年10月16日 12:27 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[slidecraft] shortcode or a PHP function.
SlideCraft is the new version of WP Smart Flexslider. Your existing sliders are moved over automatically and your old shortcodes keep working.
Slider types and effects
[slidecraft id="12"].When you update, each old slider is copied into SlideCraft with its images, titles, descriptions, links and settings. [display_flexslider id="…"] and [display_flexslider] keep working and show the new slider, so you don't need to edit your pages. The old slider data is left untouched.
Use slidecraft_slider( 12 ); in your theme. Pass false as the third argument to get the HTML instead of printing it.
[slidecraft id="12" align="full" autoplay="off" height="480" class="my-slider"]. All options except id are optional and override the slider's own settings.
No. The script and styles load only on pages with a slider, extra effects load only when a slider uses them, and images are lazy-loaded with responsive sizes.
Sliders use the accessible carousel pattern, can be used with a keyboard, have a pause button whenever they play automatically, pause while focused and respect the "reduce motion" setting.
[slidecraft] shortcode and slidecraft_slider() function.[display_flexslider] shortcodes are migrated automatically.