-webkit-backface-visibility: hidden;
-webkit-perspective: 1000;
-webkit-transform: translate3d(0,0,0);
-webkit-transform: translateZ(0);
backface-visibility: hidden;
perspective: 1000;
transform: translate3d(0,0,0);
transform: translateZ(0);
function searchExcludePages($query) {
if ($query->is_search) {
$query->set('post_type', 'ait-dir-item');
$taxquery = array([
'post_type' => 'ait-dir-item',
'taxonomy' => 'ait-dir-item-category',
'field' => 'slug',
'operator' => 'NOT IN',
]);
$query->set( 'tax_query', $taxquery );
}
return $query;
}
add_filter('pre_get_posts','searchExcludePages');
jQuery(document).ready(function($){
// Can also be used with $(document).ready()
$(window).load(function() {
$('.flexslider').flexslider({
animation: "slide",
prevText: " ",
nextText: " ",
slideshow: false,
});
});
});
!(function($) {
$(document).ready(function() {
$('.flexslider').flexslider({
animation: "slide",
prevText: " ",
nextText: " ",
slideshow: false,
});
});
})(jQuery);