Put a slideshow on any page with a shortcode; provides a new content type "Heroes" to manage your featured slides.
Set the image you wish to use as the featured image for your Hero
Use the following format (defaults indicated here):
[abt_slider_hero fx="fade" width="100%" height="400px" order="asc" orderby="menu_order" speed="600" timeout="7000" classes="" postType="heroes" style="photo"]
Pretty much all of the attributes are optional, so all you need is:
You can call the slideshow in code using
abt_featured_heroes::embed( array $atts ), where
$atts is an array matching the shortcode attribute list.
Only one simple hook available:
stylesheet: replace the default stylesheet with your own to change the default appearance of slides
speed: change the transition speed (from 600 ms)
timeout: change the slide delay (from 7000 ms)
fx: change the slide transition (from 'fade')
style: optionally use actual thumbnail photos for navigation, instead of reusing full-size images (default 'photo', alt 'thumbnail')
width: default width (from 100%)
height: default height (from 400px)
Use a filter to apply shortcode processing to widgets.
<?php add_filter('widget_text', 'do_shortcode'); ?>
Includes a WP "content type" class to make creating content types easier. Not as generic/refined as the one in the WP-Dev-Library plugin, but feel free to use it as a starting point.
Requires: 2.8 or higher
Compatible up to: 3.3.3
Last Updated: 4 years ago
Active Installs: 50+
Got something to say? Need help?