
內容簡介
Canto Testimonials 是一個簡單且有效的推薦人的 shortcode,可以透過 BxSlider 切換。
Shortcode
[canto_testimonials_slider]
屬性列表:
count (int): 設定切換時的推薦人數,預設為 3。
fx (string): 設定圖片切換的效果,預設為水平滑動。預設: 'horizontal'
選項: 'horizontal', 'vertical', 'fade'
pager (bool): 如果設為 1 (true),會顯示分頁導覽列。預設為 0。
選項: '0 - False', '1 - True'
auto (bool): 如果設為 1 (true),圖片會自動切換。如果 hidecontrolonend 設為 1 (true),則此選項不會生效。預設為 0。
選項: '0 - False', '1 - True'
pause (int): 設定自動切換的時間間隔,單位為毫秒,預設為 2000。
speed (int): 設定切換的速度,單位為毫秒,預設為 1000。
hidecontrolonend (bool): 如果設為 1 (true),當切換到最後一張圖片時,「下一張」按鍵會隱藏,反之亦然。預設為 1。
選項: '0 - False', '1 - True'
infiniteloop (bool): 如果設為 1 (true),圖片會自動循環播放。如果 hidecontrolonend 設為 1 (true),則此選項不會生效。預設為 0。
選項: '0 - False', '1 - True'
範例
[canto_testimonials_slider]
[canto_testimonials_slider pager=1]
[canto_testimonials_slider pause=1500]
[canto_testimonials_slider fx="fade" hidecontrolonend=0]
外掛標籤
開發者團隊
原文外掛簡介
Canto Testimonials simple and effective testimonials shortcode. It’s interrogated with BxSlider.
Shortcode
[canto_testimonials_slider]
Attributes List:
count (int): Amount of Testimonials at slider. Default: 3
fx (string): Type of transition between slides. Default: 'horizontal'
Options: 'horizontal', 'vertical', 'fade'
pager (bool): If 1 (true), a pager will be added. Default: 0
Options: '0 - False', '1 - True'
auto (bool): If 1 (true), Slides will automatically transition. If ‘hidecontrolonend’ is 1 (true), This option not will be work. Default: 0
Options: '0 - False', '1 - True'
pause (int): The amount of time (in ms) between each auto transition. Default: 2000
speed (int): Slide transition duration (in ms). Default: 1000
hidecontrolonend (bool): If 1 (true), “Next” control will be hidden on last slide and vice-versa. Default: 1
Options: '0 - False', '1 - True'
infiniteloop (bool): If 1 (true), Slides will automatically transition. If ‘hidecontrolonend’ is 1 (true), This option not will be work. Default: 0
Options: '0 - False', '1 - True'
Example
[canto_testimonials_slider]
[canto_testimonials_slider pager=1]
[canto_testimonials_slider pause=1500]
[canto_testimonials_slider fx="fade" hidecontrolonend=0]
