Beschrijving
Owl Carousel integration for WordPress
Owl Carousel author: Bartosz Wojciechowski
http://owlgraphic.com/owlcarousel/
For now, works only with images.
Schermafbeeldingen
Installatie
Go to your WordPress Dashboard. From there select Plugins -> Add New. Search for \’WP Owl Carousel\’, make sure it found the right plugin and click Install Now.
Alternatively, extract the zip file and upload the contents to the wp-content/plugins/ directory of your WordPress installation and then activate the plugin from the plugins page.
FAQ
- How to control when and how this plugin’s assets get loaded?
-
First you’ll need to tell the plugin not to enqueue the assets.
For all files:
add_filter('wp_owl_carousel_enqueue_assets','__return_false');
For individual files:
add_filter('wp_owl_carousel_enqueue_css','__return_false'); - Owl Carousel css add_filter('wp_owl_carousel_enqueue_theme_css','__return_false'); - Owl Carousel Theme css, loaded after the main css add_filter('wp_owl_carousel_enqueue_owl_js','__return_false'); - Owl Carousel minified javascript, loaded after jquery add_filter('wp_owl_carousel_enqueue_plugin_js','__return_false'); - Plugin's own javascript, initializes the carousels, depends on plugin's JS
And now just use the ‘wp_enqueue_scripts’ action hook and wp_enqeue_script/wp_enqueue_style functions somewhere in your code.
There’s also the get_wp_owl_carousel_url() function to easily get this plugin’s url if you don’t want to copy the assets over somewhere.
Beoordelingen
Bijdragers & ontwikkelaars
“WP Owl Carousel” is open source software. De volgende personen hebben bijgedragen aan deze plugin.
BijdragersVertaal “WP Owl Carousel” naar jouw taal.
Interesse in de ontwikkeling?
Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.
Changelog
1.1.3
- [] array syntax replaced with array() to avoid fatal errors on hosts with old PHP version
1.1.2
- Added filters for dequeueing plugin css and js
1.1.1
- Fixed issue with wrong link to image size
1.1.0
- Added ability to link to a different image size and specify a rel attribute for lightboxes
1.0.0
- First release