這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

sexyCycle for WordPress

外掛說明

sexyCycle is a lightweight yet very sleek jQuery plugin for making sliding image galleries. And to quote it’s creator: “One of the good things about sexyCycle is that you’re not forced to stick with a fixed width of all images. It’s actually quite nice to use different width on each image.” Actually, it’s now also possible to use different height thanks to Nick O’Neill.

This WordPress plugin makes it possible to add this image sliding functionality to galleries in WP, you can simply just override the [gallery] shortcode generated by WP or you can use it’s own [sexy-gallery] shortcode. Galleries are handled the same way as usual by the ‘Add an Image -> Gallery function’.

It’s now possible to use per gallery settings, see the Installation page for documentation.

An examples of sexyCycle in action can be seen at sexyCycle for WordPress, more examples can be found at sexyCycle image jQuery plugin. (These examples are not implemented in WordPress, but they show the functionality)

sexyCycle for WordPress created and maintained by Linus Lundahl.
sexyCycle jQuery plugin created by Andreas Pihlström.
Contributions by Nick O’Neill.

螢幕擷圖

安裝方式

  1. Upload sexycycle-for-wordpress to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to ‘Settings -> sexyCycle’ to setup the plugin.
  4. Upload images on a page / post and insert your gallery, alternatively insert [sexy-gallery] manually in html mode.

Different settings for galleries

Using variables in the shortcode enables you to setup galleries differently from post to post.

Example:

[sexy-gallery size="small" animation="easeInExpo"]  

This setting would use small images and the animation easeInExpo instead of the defaults.

Settings available:

  • Animation: animation= “easeInQuad”, “easeOutQuad”, “easeInOutQuad”, “easeInCubic”, “easeOutCubic”, “easeInOutCubic”, “easeInQuart”, “easeOutQuart”, “easeInOutQuart”, “easeInQuint”, “easeOutQuint”, “easeInOutQuint”, “easeInSine”, “easeOutSine”, “easeInOutSine”, “easeInExpo”, “easeOutExpo”, “easeInOutExpo”, “easeInCirc”, “easeOutCirc”, “easeInOutCirc”, “easeInElastic”, “easeOutElastic”, “easeInOutElastic”, “easeInBack”, “easeOutBack”, “easeInOutBack”, “easeInBounce”, “easeOutBounce”, “easeInOutBounce”
  • Animation speed: speed= “int” (milliseconds)
  • Auto cycle speed: interval= “int” (milliseconds)
  • Use controls: controls= “0”, “before”, “under”, “beforeafter”
  • Image click: imgclick= “0”, “image”, “nothing” (0 = swap to next image)
  • Previous text: prev= “string”
  • Next text: next= “string”
  • Use stop: controls_stop= “boolean” (0/1)
  • Stop text: stop= “string”
  • Use caption: caption= “0”, “caption”, “desc”
  • Show counter: counter= “boolean” (0/1)
  • Disable cycle at end: cycle= “boolean” (0/1)

Defaults that are also available: exclude, orderby, size

常見問題集

Does sexyCycle support video?
No, there is no video support.

Known Issues
  • Captions disappear and reappear when cycling restarts.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈sexyCycle for WordPress〉的開發相關工作。

參與者

將〈sexyCycle for WordPress〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

0.4.4

Minor bugfixes.

0.4.3

Minor bugfixes.

0.4.2

Added possibility to use full image in gallery.
Added possibility to exclude images in shortcode.

0.4.1

Minor bugfixes.

0.4

Gallery now supports images with both different height and width.
Added image counter.
Added possibility to show the controls before the gallery.

0.3.4

Added possibility to choose image click behavior, defaults to “Swap to next image”. Other options are “Link to original image” and “Do nothing”.

0.3.3

Fix bug that only made per gallery settings available for the [gallery] shortcode, and not the [sexy-gallery] shortcode.

0.3.2

Added per gallery settings.
Added possibility to add a stop button to auto cycling galleries.

0.3.1

Fix bug that broke the gallery in IE.

0.3

First version released to the public.