內容簡介
此外掛可從一個資料夾中建立圖片滑動輪播。
圖片資料夾必須透過 FTP 上傳到伺服器的某個位置 (例如 wp-content/upload)。
要在文章或頁面中包含輪播,您必須使用以下簡碼:
[folderslider folder="本機資料夾路徑"]
選項頁面可設置滑動輪播的預設參數:
轉場模式 (mode):水平、垂直、淡入淡出
標題格式 (captions):無、檔名、無副檔名檔名、智慧檔名 (去除底線、副檔名和前面的數字)
CSS (css):更改輪播周圍的框架:無邊框、陰影、無邊框陰影、黑色邊框、白色邊框、灰色邊框
寬度和高度 (width 和 height):輪播的寬度和高度
速度 (speed):每張幻燈片之間的時間間隔(秒)
前/後一項按鈕 (controls):true 或 false
播放/暫停按鈕 (playcontrol):true 或 false
自動啟動輪播 (autostart):true 或 false
分頁器 (pager):true 或 false
預設輪播的寬度是第一張圖片的寬度,除非 width 屬性設置為非零值。每張圖片的高度會依比例計算,除非 height 屬性設置為非零值。
大部分設置都可以透過對應的簡碼屬性進行覆寫:
[folderslider folder="wp-content/upload/MyPictures" width=500
mode=fade speed=2.5 captions=smartfilename controls=false css="gray-border"]
此外掛使用 Steven Wanderski 的 bxSlider 4.2.5 – http://bxslider.com
範例、聯繫方式可在 http://jalby.org/wordpress/ 查看
外掛標籤
開發者團隊
原文外掛簡介
This plugin creates picture sliders (slideshows) from a folder.
The pictures folder must be uploaded (using FTP) somewhere on the server (e.g. wp-content/upload).
To include a slider in a post or a page, you have to use the following shortcode :
[folderslider folder="local_path_to_folder"]
An Options page allow to set the default paramaters of the sliders :
Transition Mode (mode): horizontal, vertical, fade
Caption Format (captions): none, filename, filenamewithoutextension, smartfilename (filename with underscores, extension and front numbers removed)
CSS (css): change the frame around slider: ‘noborder’, ‘shadow’, ‘shadownoborder’, ‘black-border’, ‘white-border’, ‘gray-border’
Width and Height of the slider (width and height)
Speed (speed): time between slides in seconds
Previous/Next Buttons (controls): true or false
Play/Pause Button (playcontrol): true or false
Start Slider Automatically (autostart): true or false
Pager (pager): true or false
Default slider width is the width of the first picture unless the attribute width is set to a non-zero value. The height is calculate for each picture (to keep ratio) unless the attribute height is set to a non-zero value.
Most of theses settings can be overridden using the corresponding shortcode attribute:
[folderslider folder="wp-content/upload/MyPictures" width=500
mode=fade speed=2.5 captions=smartfilename controls=false css="gray-border"]
This plugin uses bxSlider 4.2.5 by Steven Wanderski – http://bxslider.com
Sample, contact available at http://jalby.org/wordpress/
