內容簡介
這個外掛可以從一個資料夾中生成相簿,並使用 shortcode 顯示。
該資料夾必須透過 FTP 上傳到 wp-content/upload 資料夾中。
要在文章或頁面中包含幻燈片,請使用以下 shortcode:
[kmoslideshow folder="本機資料夾路徑"]
您可以使用以下屬性自訂幻燈片:
幻燈片寬度(寬度)以像素為單位
圖像邊框(邊界)以像素為單位(默認為 0)
圖像填充(填充)以像素為單位(默認為 0)
幻燈片持續時間(間隔)以毫秒為單位(默認為 4000)
分頁顯示(分頁):true 或 false(默認為 true)
轉場效果(效果):fade 或 slide(默認為 slide)
除非設置了寬度屬性,否則默認幻燈片寬度設置為容器的寬度。
高度計算自第一張圖像。
[kmoslideshow folder="資料夾路徑" width="500" padding="5"
border="1" interval="5000" pagination="false" effect="fade"]
此外掛使用 Nathan Searles 的 SlidesJS 3.0.3 – http://www.slidesjs.com
外掛標籤
開發者團隊
原文外掛簡介
This plugin generates a gallery from a folder and displays using a shortcode.
The folder must be uploaded (using FTP) to the wp-content/upload folder.
To include a slideshow in a post or a page, use the following shortcode:
[kmoslideshow folder="local_path_to_folder"]
You can customize the slideshow using the following attributes:
Slideshow width (width) in px
Image border (border) in px (default 0)
Image padding (padding) in px (default 0)
Slide duration (interval) in milliseconds (default 4000)
Pagination display (pagination): true or false (default true)
Transition effect (effect): fade or slide (default slide)
Default slideshow width is set to the width of the container unless the width attribute is set.
The height is calculate from the first image.
[kmoslideshow folder="path" width="500" padding="5"
border="1" interval="5000" pagination="false" effect="fade"]
This plugin uses SlidesJS 3.0.3 by Nathan Searles – http://www.slidesjs.com
