Files
sean 0e8a8b3028
Some checks failed
deploy-testing / deploy (push) Has been cancelled
Initial testing snapshot
2026-11-17 16:15:01 -05:00

252 lines
5.2 KiB
PHP

<!DOCTYPE html>
<!--[if IE 7]>
<html id="ie7" <?php language_attributes(); ?>>
<![endif]-->
<!--[if IE 8]>
<html id="ie8" <?php language_attributes(); ?>>
<![endif]-->
<!--[if !(IE 7) | !(IE 8) ]><!-->
<html <?php language_attributes(); ?>>
<!--<![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 name="google-site-verification" content="lsE39E774PYnxYT9HLfOX3HK_LYKIUbfLdz0SClVuYw" />
<meta name="RATING" content="RTA-5042-1996-1400-1577-RTA" />
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta name="p:domain_verify" content="4b115b9979a514a7933eb46d3f9c4651"/>
<?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 endif; ?>
<?php if ( dt_is_retina_on() ): ?>
<?php endif; ?>
<link href='https://fonts.googleapis.com/css?family=Advent+Pro:600' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Cabin:700' rel='stylesheet' type='text/css'>
<title><?php
/*
* Print the <title> tag based on what is being viewed.
*/
global $page, $paged;
// Add the blog name.
bloginfo( 'name' );
wp_title( '|' );
// Add the blog description for the home/front page.
$site_description = get_bloginfo( 'description', 'display' );
if ( $site_description && ( is_home() || is_front_page() ) ) {
echo " | $site_description";
}
// Add a page number if necessary:
if ( $paged >= 2 || $page >= 2 ) {
echo ' | ' . sprintf( __( 'Page %s', LANGUAGE_ZONE ), max( $paged, $page ) );
}
?></title>
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<?php echo dt_core_get_favicon( of_get_option( 'branding-favicon' ) ); ?>
<?php
// Google analitics code
if ( ! is_preview() ) {
echo of_get_option( 'misc-analitics_code', '' );
}
// add custom classes for fullscreen slider homepage
$body_class = array();
if ( dt_storage( 'is_homepage' ) && ! dt_storage( 'have_obo_slider' ) ) {
$page_opts = get_post_meta( get_the_ID(), '_dt_slider_layout_options', true );
if ( isset( $page_opts['slider'] ) && 'fullscreen_slider' == $page_opts['slider'] ) {
$body_class[] = 'fs-enabled';
if ( ! empty( $page_opts['fs_hide_content'] ) ) { $body_class[] = 'fs-no-content'; }
if ( ! empty( $page_opts['fs_hide_footer'] ) ) { $body_class[] = 'fs-no-footer'; }
}
}
wp_head();
?>
<?php if ( is_singular() ) wp_enqueue_script( "comment-reply" ); ?>
<link href='/wp-content/themes/dt-nimble-child/css/custom.css' rel='stylesheet' type='text/css'>
<script class="_iub_cs_activate" type="text/plain">(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');ga('create','UA-124161975-1','auto');ga('send','pageview');function handleOutboundLinkClicks(event){ga('send','event',{eventCategory:'Outbound Link',eventAction:'click',eventLabel:event.target.href,transport:'beacon'});}
var trackOutboundLink=function(url){ga('send','event','bwoutbound','click',url,{'transport':'beacon','hitCallback':''});}</script>
</head>
<body <?php body_class( $body_class ); ?>>
<div id="flashcontainer"></div>
<!--<div style="position:fixed;top:20px;right:10px;z-index:10000;">
<?php //echo do_shortcode('[nwadcart_widget]'); ?>
</div>
//-->
<?php if ( dt_is_retina_on() ): ?>
<noscript>
<style id="devicePixelRatio" media="only screen and (-moz-min-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2)">#devicePixelRatio{background-image:url("<?php echo get_template_directory_uri(); ?>/set-cookie.php?devicePixelRatio=2")}</style>
</noscript>
<?php endif; ?>
<?php
$class = array();
if ( dt_storage( 'is_homepage' ) && ! dt_storage( 'have_obo_slider' ) && ! dt_storage( 'is_blog' ) ) {
$slider_options = get_post_meta( get_the_ID(), '_dt_slider_layout_options', true );
if( $slider_options && isset($slider_options['slider']) ) {
switch( $slider_options['slider'] ) {
case 'carousel': $class[] = 'carous'; break;
case 'photo_stack': $class[] = 'vert';
}
}
}
$class = implode( ' ', $class );
if ( ! empty( $class ) ) {
$class = ' class="' . $class . '"';
}
?>
<div id="wrap">
<div <?php if( of_get_option('boxed_layout-enable') ): ?> class="boxed" <?php endif; ?> id="page">
<div id="<?php dt_main_block_class_changer(); ?>"<?php echo $class; ?>>
<div id="main-menu" class="but-wrap"><a class="button big" href="javascript:void(0)"><span><?php _e('Menu ', LANGUAGE_ZONE); ?><i class="line-one"></i><i class="line-two"></i><i class="line-three"></i><i class="line-four"></i></span></a></div>