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

GM HTML Carousel

外掛說明

GM HTML Carousel creates a text or HTML carousel with infinite scrolling directly from your WordPress page. No messing with admin settings or entering content into a databse.

The carousel is implemented using simple shortcodes.

Features

  1. Super simple.
  2. Infinite carousel loop.
  3. Carousel items are navigable. Desktop uses click navigation. Mobile uses left/right swipe navigation.
  4. Simple shortcode attributes allow you to modify height, width and the delay between cycling the next carousel item.

Using the carousel shortcodes

The carousel is displayed by using the [gm_carousel][/gm_carousel] shortcode.

You can add as many ‘carousel items’ within that shortcode as you like. These are just text or HTML blocks wrapped with
[gm_carousel_item][/gm_carousel_item] shortcode.

You can include images, text styling and links. Pretty much anything you can put on a WordPress page.

The [gm_carousel] shortcode accepts 3 attributes:
1. height: Sets the height in pixels for the carousel.
2. width: Sets the width in pixels for the carousel.
3. delay: Sets the time in seconds that the carousel will wait before displaying rotating in the next carousel item.

Here’s a complete example:

[gm_carousel height=175 width=600 delay=6]
[gm_carousel_item]Hi, I’m the first carousel item.[/gm_carousel_item]
[gm_carousel_item]And this is the second carousel item.[/gm_carousel_item]
[gm_carousel_item]Well, two out of three ain’t bad.[/gm_carousel_item]
[/gm_carousel]

So this carousel will be 175px tall, 600px wide and each carousel item will be displayed for 6 seconds before the next carousel item is displayed. The first carousel item has the word ‘carousel’ wrapped in a tag and will show up bold.

Attributions

  • Carousel by faisalovers from the Noun Project
  • Banner art from Wooden horses (1936) by Reginald Marsh

安裝方式

For manual installation:

  1. Upload the gm-html-carousel folder and its contents to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

常見問題集

For use instructions and a live example please see http://gabrielmioni.com/gm-html-carousel/

Installation Instructions

For manual installation:

  1. Upload the gm-html-carousel folder and its contents to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

使用者評論

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

參與者及開發者

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

參與者

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

對開發相關資訊感興趣?

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

變更記錄

1.0

  • Initial release!