<?php /** * The template for displaying the header * * Displays all of the head element and everything up until the "site-content" div. * * @package Once */ ?> <!doctype html> <html <?php language_attributes(); ?>> <head> <!-- Google Tag Manager --> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-NN4JLQFV');</script> <!-- End Google Tag Manager --> <meta charset="<?php bloginfo( 'charset' ); ?>" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="profile" href="https://gmpg.org/xfn/11" /> <?php wp_head(); ?> <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-163446953-1"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-163446953-1'); </script> </head> <body <?php body_class(); ?>> <!-- Google Tag Manager (noscript) --> <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NN4JLQFV" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <!-- End Google Tag Manager (noscript) --> <?php do_action( 'csco_site_before' ); ?> <div id="page" class="site"> <?php do_action( 'csco_site_start' ); ?> <div class="site-inner"> <?php do_action( 'csco_header_before' ); ?> <header id="masthead" class="site-header"> <?php if ( 'large' === get_theme_mod( 'header_layout', 'compact' ) ) { get_template_part( 'template-parts/headers/header-large' ); } else { get_template_part( 'template-parts/headers/header-default' ); } ?> </header><!-- #masthead --> <?php do_action( 'csco_header_after' ); ?> <div class="site-primary"> <?php do_action( 'csco_site_content_before' ); ?> <div <?php csco_site_content_class(); ?>> <?php do_action( 'csco_site_content_start' ); ?> <div class="cs-container"> <?php do_action( 'csco_main_content_before' ); ?> <div id="content" class="main-content"> <?php do_action( 'csco_main_content_start' ); ?>
Regresar Arriba