$(document).ready(function(){
$('.slickslider').slick({
dots: true,
infinite: true,
speed: 300,
slidesToShow: 1,
autoplay: false,
autoplaySpeed: 2000,
adaptiveHeight: true,
});
var ico = $('');
var ico1 = $('');
$('.topmenu1 li ul li:has(ul) > a').append(ico1);
$('.topmenu1 >li:has(ul) > a').append(ico);
$('.post-entry').magnificPopup({
delegate: '.postimage',
type: 'image',
closeOnContentClick: false,
closeBtnInside: false,
mainClass: 'mfp-with-zoom mfp-img-mobile',
gallery: {
enabled: true
},
zoom: {
enabled: true,
duration: 300, // don't forget to change the duration also in CSS
opener: function(element) {
return element.find('img');
}
}
});
$('.post-entry img').each(function(){
$(this).parent().addClass("postimage");
});
});
//]]>