https://github.com/aaronkirkham/wp-owl-carousel
Owl Carousel integration for WordPress
https://github.com/aaronkirkham/wp-owl-carousel
jquery wordpress wordpress-plugin
Last synced: 2 months ago
JSON representation
Owl Carousel integration for WordPress
- Host: GitHub
- URL: https://github.com/aaronkirkham/wp-owl-carousel
- Owner: aaronkirkham
- Created: 2017-07-25T16:30:37.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-10-04T15:02:20.000Z (over 7 years ago)
- Last Synced: 2025-10-27T23:30:28.318Z (8 months ago)
- Topics: jquery, wordpress, wordpress-plugin
- Language: PHP
- Homepage:
- Size: 1.56 MB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
### Owl Carousel for WordPress
*This plugin is based off [Tanel Kollamaa's "WP Owl Carousel"](https://wordpress.org/plugins/wp-owl-carousel/) (no longer maintained)*
* Install & Activate plugin inside WordPress admin
* Create Carousels using the menu in the admin sidebar
* Use Carousel in your posts using shortcode `[wp_owl id="xxxx"]`
#### Hooks
`wp_owl_before_carousel` - Called before the .owl-carousel wrapper is output.
`wp_owl_after_carousel` - Called after the .owl-carousel wrapper is output
`wp_owl_before_carousel_image` - Called before the carousel image is output
`wp_owl_after_carousel_image` - Called after the carousel image is output
#### Filters
`wp_owl_enqueue_assets` - Toggle **all** Owl Carousel asset loading.
`wp_owl_enqueue_vendor_css` - Toggle Owl Carousel vendor css loading.
`wp_owl_enqueue_theme_css` - Toggle WP Owl Carousel css loading.
`wp_owl_enqueue_vendor_js` - Toggle Owl Carousel vendor js loading.
`wp_owl_enqueue_plugin_js` - Toggle WP Owl Carousel js loading.
#### Example: Disable asset loading
```php
add_filter( 'wp_owl_enqueue_assets', '__return_false' );
```