Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html class="no-js" <?php language_attributes(); ?> <?php boldthemes_theme_data(); ?>>
- <head>
- <!-- Global site tag (gtag.js) - Google Analytics -->
- <script async src="https://www.googletagmanager.com/gtag/js?id=UA-132570752-1"></script>
- <script>
- window.dataLayer = window.dataLayer || [];
- function gtag(){dataLayer.push(arguments);}
- gtag('js', new Date());
- gtag('config', 'UA-132570752-1');
- </script>
- <!-- 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-58FPZ3V');</script>
- <!-- End Google Tag Manager -->
- <!-- Global site tag (gtag.js) - Google Analytics -->
- <script async src="https://www.googletagmanager.com/gtag/js?id=UA-132570752-1"></script>
- <script>
- window.dataLayer = window.dataLayer || [];
- function gtag(){dataLayer.push(arguments);}
- gtag('js', new Date());
- gtag('config', 'UA-132570752-1', { 'optimize_id': 'GTM-KTZ5ZVJ'});
- </script>
- <?php
- boldthemes_set_override();
- boldthemes_header_init();
- boldthemes_header_meta();
- $body_style = '';
- $page_background = boldthemes_get_option( 'page_background' );
- if ( $page_background ) {
- if ( is_numeric( $page_background ) ) {
- $page_background = wp_get_attachment_image_src( $page_background, 'full' );
- $page_background = $page_background[0];
- }
- $body_style = ' style="background-image:url(' . $page_background . ')"';
- }
- $header_extra_class = '';
- if ( boldthemes_get_option( 'boxed_menu' ) ) {
- $header_extra_class .= 'gutter ';
- }
- wp_head(); ?>
- <link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.0/cookieconsent.min.css" />
- <script src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.0/cookieconsent.min.js"></script>
- <script>
- window.addEventListener("load", function(){
- window.cookieconsent.initialise({
- "palette": {
- "popup": {
- "background": "#383b75"
- },
- "button": {
- "background": "#f1d600"
- }
- },
- "theme": "edgeless",
- "position": "bottom-right",
- "content": {
- "message": "Norėdami suteikti geriausią naršymo kokybę Jums naudojame slapukus.",
- "dismiss": "Sutinku",
- "link": "Plačiau...",
- "href": "https://www.manohoroskopas.lt/privatumo-politika/"
- }
- })});
- </script>
- </head>
- <body <?php echo wp_kses_post( $body_style ); ?> <?php body_class(); ?>>
- <!-- Google Tag Manager (noscript) -->
- <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-58FPZ3V"
- height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
- <!-- End Google Tag Manager (noscript) -->
- <?php
- echo boldthemes_preloader_html(); ?>
- <div class="btPageWrap" id="top">
- <div class="btVerticalHeaderTop">
- <?php if ( has_nav_menu( 'primary' ) ) { ?>
- <div class="btVerticalMenuTrigger"> <?php echo boldthemes_get_icon_html( array( "icon" => "fa_f0c9", "url" => "#" ) ); ?></div>
- <?php } ?>
- <div class="btLogoArea">
- <div class="logo">
- <span>
- <?php boldthemes_logo( 'header' ); ?>
- </span>
- </div><!-- /logo -->
- </div><!-- /btLogoArea -->
- </div>
- <header class="mainHeader btClear <?php echo esc_attr( $header_extra_class ); ?>">
- <div class="mainHeaderInner">
- <?php echo boldthemes_top_bar_html( 'top' ); ?>
- <div class="btLogoArea menuHolder btClear">
- <div class="port">
- <?php if ( has_nav_menu( 'primary' ) ) { ?>
- <div class="btHorizontalMenuTrigger"> <?php echo boldthemes_get_icon_html( array( "icon" => "fa_f0c9", "url" => "#" ) ); ?></div>
- <?php } ?>
- <div class="logo">
- <span>
- <?php boldthemes_logo( 'header' ); ?>
- </span>
- </div><!-- /logo -->
- <?php
- $menu_type = boldthemes_get_option( 'menu_type' );
- if ( $menu_type == 'horizontal-below-right' || $menu_type == 'horizontal-below-center' || $menu_type == 'horizontal-below-left' || $menu_type == 'vertical-left' || $menu_type == 'vertical-right' ) {
- echo boldthemes_top_bar_html( 'logo' );
- echo '</div><!-- /port --></div><!-- /menuHolder -->';
- echo '<div class="btBelowLogoArea btClear"><div class="port">';
- }
- ?>
- <div class="menuPort">
- <?php echo boldthemes_top_bar_html( 'menu' ); ?>
- <nav>
- <?php boldthemes_nav_menu(); ?>
- </nav>
- </div><!-- .menuPort -->
- </div><!-- /port -->
- </div><!-- /menuHolder / btBelowLogoArea -->
- </div><!-- / inner header for scrolling -->
- </header><!-- /.mainHeader -->
- <div class="btContentWrap btClear">
- <?php
- global $bt_global_exclude_ids;
- $bt_global_exclude_ids = array();
- ?>
- <?php
- $hide_headline = boldthemes_get_option( 'hide_headline' );
- if ( ( ( !$hide_headline && !is_404() ) || is_search() ) ) {
- boldthemes_header_headline( array( 'breadcrumbs' => true ) );
- }
- ?>
- <?php if ( BoldThemesFramework::$page_for_header_id != '' && ! is_search() ) { ?>
- <?php
- $content = get_post( BoldThemesFramework::$page_for_header_id );
- $top_content = $content->post_content;
- if ( $top_content != '' ) {
- $top_content = apply_filters( 'the_content', $top_content );
- $top_content = preg_replace( '/data-edit_url="(.*?)"/s', 'data-edit_url="' . get_edit_post_link( BoldThemesFramework::$page_for_header_id, '' ) . '"', $top_content );
- echo '<div class = "btBlogHeaderContent">' . str_replace( ']]>', ']]>', $top_content ) . '</div>';
- }
- ?>
- <?php } ?>
- <div class="btContentHolder">
- <div class="btContent">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement