Linux 软件免费装
Banner图

ColorCycle

开发者 madjax
更新时间 2013年5月3日 04:55
PHP版本: 3.5 及以上
WordPress版本: 3.5.1

标签

gallery lightbox slideshow jquery colorbox cycle

下载

1.4 1.5 1.5.2 1.4.1

详情介绍:

ColorCycle is a gallery replacement plugin for WordPress. It adds Colorbox for image enlargements, and creates slideshows of attached images using the Cycle plugin for jQuery. The [gallery] shortcode is replaced with a Colorbox powered gallery. An additional shortcode [slideshow] is provided.

安装:

  1. Use automatic installer
  2. Activate plugin
  3. Your linked images and galleries will now use Colorbox for enlargements.

升级注意事项:

1.4
  • Highslide no longer used. Colorbox powered lightboxes.
1.3.3
  • Highslide JS removed - MUST BE REINSTALLED - see install instructions.
1.3.2
  • Bugfix - linkto=url in slideshow now displaying specified URL
1.3.1
  • Fixes IE 7 error
1.3 Initial Release

常见问题:

What shortcodes are available?

[gallery] or [ccgallery]* 'order' => 'ASC', 'orderby' => 'menu_order ID', 'id' => $post->ID, 'itemtag' => 'dl', 'icontag' => 'dt', 'captiontag' => 'dd', 'columns' => 3, 'size' => 'thumbnail'

  • Note: WordPress replaces the gallery shortcode in the visual editor with a placeholder, making it difficult to edit attributes after publishing. Using the ccgallery shortcode will maintain visibility of your attributes. [slideshow] - Available attributes and defaults:
'id' => $post->ID, 'size' => 'large', 'show' => 'selected', 'showthumbs' => false, 'linkto' => 'large', 'pager' => false, 'per_page' => 12, 'speed' => 2000, 'pause' => 0, 'delay' => 1000

No images are showing in my slideshow?

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.

How can I add a slideshow in my template?

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 ); } `

It doesn't look the way I want, how can I style the galleries and slideshows?

Look at the markup and apply CSS as needed. Future release will include more included styling.

更新日志:

1.5.2 1.5.1 1.5 1.4.1 1.4 1.3.3 1.3.2 1.3.1 1.3