function dt_tourn_off_responsivness() { if (!dt_is_responsive()) { wp_dequeue_style('dt_media'); } }
<!--<![endif]--><head> <?php dt_get_google_fonts(of_get_option('fonts-list'), dt_get_web_font_effect()); ?> <meta http-equiv="Content-Type" content="text/html" /> <meta charset="<?php bloginfo('charset'); ?> " /> <?php /* Tourn off responsivness if option "misc-off_responsivness" is set * Another part of this action located in functions.php (dt_tourn_off_responsivness function) and footer.php (set javascript global) * dt_is_responsive() located on /modules/helpers/template-helpers.php */ if (dt_is_responsive()) { ?> <meta name="viewport" content="initial-scale=1, maximum-scale=1"> <?php } ?> <?php if (dt_is_retina_on()) { ?> <script>(function(w){var dpr=((w.devicePixelRatio===undefined)?1:w.devicePixelRatio);if(!!w.navigator.standalone){var r=new XMLHttpRequest();r.open('GET','<?php echo get_template_directory_uri(); ?>
window.blur_effect = <?php echo intval(of_get_option('misc-rollover_blur', 1)); ?> ; window.isRetinaInOptions = <?php echo dt_is_retina_on(); ?> ; <?php /* Tourn off responsivness if option "misc-off_responsivness" is set * Another part of this action located in header.php (change viewport) and functions.php (dt_tourn_off_responsivness function) * dt_is_responsive() located on /modules/helpers/template-helpers.php */ ?> window.notResponsive = <?php echo absint(!dt_is_responsive()); ?> ; <?php if (dt_storage('is_homepage') && dt_storage('have_obo_slider')) { ?> jQuery(document).ready(function() { <?php $obo_opts = get_post_meta($post->ID, '_dt_obo_slider_layout_options', true); ?> jQuery('#banner').oneByOne({ className: 'oneByOne1',