This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('.one-slide').each(function() { // the containers for all your galleries | |
$(this).magnificPopup({ | |
delegate: 'a', // the selector for gallery item | |
type: 'image', | |
gallery: { | |
enabled:true | |
} | |
}); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var interval = null; | |
jQuery(function(){ | |
interval = setInterval(callFunc, 5000); | |
}); | |
function callFunc(){ | |
jQuery('.slick-next').trigger('click'); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# BEGIN WordPress | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteCond %{HTTP:Accept-Language} ^en [NC] | |
RewriteRule ^/?$ http://www.zendergroup.com/en/ [R,NC,L] | |
RewriteCond %{HTTP:Accept-Language} ^de [NC] | |
RewriteRule ^/?$ http://www.zendergroup.com/de/ [R,NC,L] | |
RewriteRule ^index\.php$ - [L] | |
RewriteCond %{REQUEST_FILENAME} !-f |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php $myfile = get_field('file', $fi->ID) ?> | |
<?php $file_url = $file[url] ?> | |
<?php $path_parts = pathinfo($file_url); ?> | |
<?php $extension = $path_parts['extension'] ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('#elm').click(function(){ | |
$('#elm .elemento').toggleClass('active'); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php if($connected): ?> | |
<?php $result = array_merge( $connected, $documentazioni ); ?> | |
<?php else: ?> | |
<?php $result = $documentazioni ?> | |
<?php endif; ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php $news = get_posts(array( | |
'post_type' => 'post', | |
'post_status' => 'publish', | |
'meta_key' => 'data_evento', //nome custom field | |
'orderby' => 'meta_value_num', | |
'order' => 'DESC', | |
'posts_per_page' => 12, | |
'cat' => '3' | |
)); ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.dropdown-menu .sub-menu { | |
left: 100%; | |
position: absolute; | |
top: 0; | |
visibility: hidden; | |
margin-top: -1px; | |
} | |
.dropdown-menu li:hover .sub-menu { | |
visibility: visible; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function theme_name_scripts() { | |
wp_enqueue_style( 'font-awesome', get_template_directory_uri() .'/font-awesome/css/font-awesome.min.css' ); | |
wp_enqueue_style( 'owl.carousel.css', get_template_directory_uri() .'/owl-carousel/owl.carousel.css' ); | |
wp_enqueue_style( 'owl.theme.css', get_template_directory_uri() .'/owl-carousel/owl.theme.css' ); | |
wp_enqueue_style( 'custom-style', get_template_directory_uri() .'/style.css' ); | |
wp_enqueue_script( 'owl-carousel', get_template_directory_uri() .'/owl-carousel/jquery-1.9.1.min.js' ); | |
wp_enqueue_script( 'owl.carousel', get_template_directory_uri() .'/owl-carousel/owl.carousel.js' ); | |
wp_enqueue_script( 'filterable', get_template_directory_uri() .'/js/filterable.js' ); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Google Maps --> | |
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&signed_in=false"></script> | |
signed_in=false |