{"id":35663,"date":"2015-04-14T11:08:24","date_gmt":"2015-04-14T11:08:24","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-owl-carousel\/"},"modified":"2016-03-09T16:57:36","modified_gmt":"2016-03-09T16:57:36","slug":"wp-owl-carousel","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/wp-owl-carousel\/","author":14375106,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.3","stable_tag":"1.1.3","tested":"4.4.34","requires":"4.0","requires_php":"","requires_plugins":"","header_name":"WP Owl Carousel","header_author":"Tanel Kollamaa","header_description":"","assets_banners_color":"","last_updated":"2016-03-09 16:57:36","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":4.3,"author_block_rating":0,"active_installs":200,"downloads":11477,"num_ratings":4,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":"3","5":"1"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.1.0","1.1.1","1.1.2","1.1.3"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1134450","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1134450","resolution":"2","location":"assets"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1134450","resolution":"3","location":"assets"},"screenshot-4.png":{"filename":"screenshot-4.png","revision":"1134450","resolution":"4","location":"assets"}},"screenshots":{"1":"Click Add or Upload files to insert images","2":"When images selected, click use this file","3":"Copy the shortcode and paste it anywhere","4":"View post\/page to see results"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[786,8612,611,208],"plugin_category":[50],"plugin_contributors":[82565],"plugin_business_model":[],"class_list":["post-35663","plugin","type-plugin","status-publish","hentry","plugin_tags-carousel","plugin_tags-owl-carousel","plugin_tags-slider","plugin_tags-slideshow","plugin_category-media","plugin_contributors-dabuuker","plugin_committers-dabuuker"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-owl-carousel.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/wp-owl-carousel\/assets\/screenshot-1.png?rev=1134450","caption":"Click Add or Upload files to insert images"},{"src":"https:\/\/ps.w.org\/wp-owl-carousel\/assets\/screenshot-2.png?rev=1134450","caption":"When images selected, click use this file"},{"src":"https:\/\/ps.w.org\/wp-owl-carousel\/assets\/screenshot-3.png?rev=1134450","caption":"Copy the shortcode and paste it anywhere"},{"src":"https:\/\/ps.w.org\/wp-owl-carousel\/assets\/screenshot-4.png?rev=1134450","caption":"View post\/page to see results"}],"raw_content":"<!--section=description-->\n<p>Owl Carousel integration for Wordpress<\/p>\n\n<p>Owl Carousel author: Bartosz Wojciechowski\nhttp:\/\/owlgraphic.com\/owlcarousel\/<\/p>\n\n<p>For now, works only with images.<\/p>\n\n<!--section=installation-->\n<p>Go to your Wordpress Dashboard. From there select Plugins -&gt; Add New. Search for \\'WP Owl Carousel\\', make sure it found the right plugin and click Install Now.<\/p>\n\n<p>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.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>How to control when and how this plugin's assets get loaded?<\/dt>\n<dd><p>First you'll need to tell the plugin not to enqueue the assets.<\/p>\n\n<p>For all files:<\/p>\n\n<pre><code>add_filter('wp_owl_carousel_enqueue_assets','__return_false');\n<\/code><\/pre>\n\n<p>For individual files:<\/p>\n\n<pre><code>add_filter('wp_owl_carousel_enqueue_css','__return_false'); - Owl Carousel css\n\nadd_filter('wp_owl_carousel_enqueue_theme_css','__return_false'); - Owl Carousel Theme css, loaded after the main css\n\nadd_filter('wp_owl_carousel_enqueue_owl_js','__return_false'); - Owl Carousel minified javascript, loaded after jquery\n\nadd_filter('wp_owl_carousel_enqueue_plugin_js','__return_false'); - Plugin's own javascript, initializes the carousels, depends on plugin's JS\n<\/code><\/pre>\n\n<p>And now just use the 'wp_enqueue_scripts' action hook and wp_enqeue_script\/wp_enqueue_style functions somewhere in your code.<\/p>\n\n<p>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.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.3<\/h4>\n\n<ul>\n<li>[] array syntax replaced with array() to avoid fatal errors on hosts with old PHP version<\/li>\n<\/ul>\n\n<h4>1.1.2<\/h4>\n\n<ul>\n<li>Added filters for dequeueing plugin css and js<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Fixed issue with wrong link to image size<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Added ability to link to a different image size and specify a rel attribute for lightboxes<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>First release<\/li>\n<\/ul>","raw_excerpt":"Owl Carousel integration for Wordpress","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/35663","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=35663"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/dabuuker"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=35663"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=35663"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=35663"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=35663"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=35663"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=35663"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}