开发者 | madjax |
---|---|
更新时间 | 2013年5月3日 04:55 |
PHP版本: | 3.5 及以上 |
WordPress版本: | 3.5.1 |
[gallery] or [ccgallery]*
'order' => 'ASC', 'orderby' => 'menu_order ID', 'id' => $post->ID, 'itemtag' => 'dl', 'icontag' => 'dt', 'captiontag' => 'dd', 'columns' => 3, 'size' => 'thumbnail'
'id' => $post->ID, 'size' => 'large', 'show' => 'selected', 'showthumbs' => false, 'linkto' => 'large', 'pager' => false, 'per_page' => 12, 'speed' => 2000, 'pause' => 0, 'delay' => 1000
By default, only images which have been selected by using the drop down in the media details 'Show in Slideshow' are included. Alternatively, include the attribute 'show=all' in your shortcode to show all attached images.
Here's an example: ` if( class_exists( 'ColorCycle' ) ) { $ColorCycle = new ColorCycle; $show = array( 'size' => 'home-slide', 'pager' => false, 'linkto' => 'url', 'speed' => 3000, 'timeout' => 1000, 'show' => all ); echo $ColorCycle->colorcycle_show( $show ); } `
Look at the markup and apply CSS as needed. Future release will include more included styling.