You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
547 B

<?php
/*
* @Author pickplugins
* Copyright: 2015 pickplugins.com
*/
if ( ! defined('ABSPATH')) exit; // if direct access
$html .='<script>
jQuery(document).ready(function($)
{
$("#post-grid-'.$post_id.' .layer-media .gallery").owlCarousel({
items : 1,
navText : ["",""],
autoplay: true,
loop: true,
autoHeight : true,
nav : false,
dots : false,
';
$html .='});
});';
$html .= '</script>';