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

Zen-Carousel

外掛說明

Dojo-powered carousel plugin for WordPress. Initially started out as a modification of XEN Carousel, but I made so many edits (and switched JS backend to Dojo) that no code of the original plugin remains.

Showcase images on the front of your site, with arbitrary links

Dojo powered (all other WP plugins seem to be JQuery-based)

Graceful fallback behavior (if JS is not enabled then static first image w/ link is still visible)

Navigation for quick jumping (ala Steam showcase)

In its current state, integration requires some measure of manual setup. Please be patient (and submit requests) as later updates will bring smoother install.

Please see http://bitbucket.org/sirpengi/zen-carousel/ for latest code, reporting bugs or requesting features.

License

The Zen-Carousel plugin was developed by Shu Zong Chen of freelancedreams.com.
This plugin is provided under the Modified BSD License.

Copyright (c) 2010, Shu Zong Chen (email : shu.chen@freelancedreams.com)
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of the nor the
names of its contributors may be used to endorse or promote products
derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

螢幕擷圖

安裝方式

  1. Install plugin through WordPress interface or by extracting files to /wp-content/plugins/
  2. Activate plugin through ‘Plugins’ menu in WordPress
  3. Visit admin page, a new section ‘Carousel’ in the sidebar should lead you to configuration page.
  4. Please make sure ‘Use CDN’ is checked (This will pull Dojo library from google CDN, if you already include Dojo in your page through other means, leave this unchecked).
  5. Set width/height dimensions of your carousel.
  6. Input data (this is currently done through a manual textarea field, see ‘Faq’ for syntax.
  7. Add <?php zencarousel::renderHTML(); ?> in your theme where you want the carousel to be.

常見問題集

Options

Use Dojo CDN: check unless your theme already includes Dojo
Carousel Width: width of carousel
Carousel Height: height of carousel

Carousel Setup

The setup uses the following line format:

<Image url> <Link to> <Title>
<Image url> is the url (absolute or relative) to the image
<Link to> is the url that clicking this photo will lead to.
<Title> for accessibility, shows up as tooltip for image/link

Separate each value with a space. The code only splits into three parts so spaces in the ‘Title’ are allowed.

For example:

http://domain.com/image/slide1.png http://domain.com/coolpage/ This is my cool page
http://domain.com/image/slide2.png http://domain.com/coolpage2/ This is my 2nd cool page
http://domain.com/image/slide3.png http://domain.com/coolpage3/ This is my 3rd cool page

使用者評論

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

參與者及開發者

以下人員參與了開源軟體〈Zen-Carousel〉的開發相關工作。

參與者

將〈Zen-Carousel〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

0.1

  • Initial output