
內容簡介
在您的網站中添加一個輪播。 基於 Owl Carousel,一個響應式且可完全自定義的輪播。
特別感謝 Owl Carousel 開發人員Bartosz Wojciechowski。
特點
圖片投影片
HTML投影片
WordPress畫廊兼容
投影片鏈接
當然,還有所有的Owl Carousel選項!
如何使用
創建新類別
創建新幻燈片
將您的輪播包含在任何內容中(文章、頁面、主題...)
您可以使用以下短碼(或使用自定義TinyMCE按鈕)將您的輪播添加到任何文章中:
[owl-carousel]
要編輯輪播選項(每個滑塊的項目、自動播放...),您只需要在短碼中添加選項:
[owl-carousel category=”未分類” items=”1″ autoPlay=”true” itemsDesktop=”1000,2″]
注意類別選項以從特定類別顯示項目,並且 itemsDesktop 選項沒有括號(因為在 WordPress 短碼中添加括號是不可能的)。
您還可以使用默認的 WordPress 畫廊功能,方式如下(您需要在外掛參數中啟用此功能):
如果您想在自定義主題中包含 Owl Carousel,請仔細看一下 do_shortcode WordPress 函數:
https://codex.wordpress.org/Function_Reference/do_shortcode
您可以在 Owl Carousel 網站上查看可用的選項:
http://www.owlgraphic.com/owlcarousel/
并查看此視頻教程:
http://www.youtube.com/watch?v=yELCuWAY6N8
Owl Carousel 2 版本即將推出! 本插件將盡快與新版本兼容。
如果您想了解本插件的最新信息,可以參考我的博客: http://blog.pierre-jehan.com
外掛標籤
開發者團隊
原文外掛簡介
Add a carousel to your website. Based on the Owl Carousel, a responsive and fully customizable carousel.
Special thanks to Bartosz Wojciechowski, Owl Carousel developer.
Features
Image slide
HTML slide
WordPress Gallery compatible
Slide link
And of course, all the Owl Carousel options!
How to use
Create a new Category
Create new slides
Include your carousel in any content (post, page, theme…)
You can add your carousel into any post with the following shortcode (or using the custom TinyMCE button):
[owl-carousel]
To edit the carousel options (items per slide, auto play…) you just need to add options in the shortcode:
[owl-carousel category=”Uncategorized” items=”1″ autoPlay=”true” itemsDesktop=”1000,2″]
Notice the category option to display items from a specific category and also the itemsDesktop without the brackets (because it’s not possible to include brackets within a WordPress shortcode).
You can also use the default WordPress gallery like this (you need to enable this feature in the plugin’s parameters):
If you want to include Owl Carousel in your custom theme, please have a look at the do_shortcode WordPress function:
https://codex.wordpress.org/Function_Reference/do_shortcode
You can checkout the available options on the Owl carousel website:
http://www.owlgraphic.com/owlcarousel/
And watch this video tutorial:
Owl Carousel version 2 is coming soon! This plugin will be compatible with the new version as soon as possible.
If you want to keep up to date with this plugin, you can have a look at my blog: http://blog.pierre-jehan.com

