Advertisement
Guest User

Untitled

a guest
Mar 26th, 2019
281
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 5.72 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html class="no-js" <?php language_attributes(); ?> <?php boldthemes_theme_data(); ?>>
  3. <head>
  4.     <!-- Global site tag (gtag.js) - Google Analytics -->
  5. <script async src="https://www.googletagmanager.com/gtag/js?id=UA-132570752-1"></script>
  6. <script>
  7.   window.dataLayer = window.dataLayer || [];
  8.   function gtag(){dataLayer.push(arguments);}
  9.   gtag('js', new Date());
  10.  
  11.   gtag('config', 'UA-132570752-1');
  12. </script>
  13.     <!-- Google Tag Manager -->
  14. <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  15. new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  16. j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  17. 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  18. })(window,document,'script','dataLayer','GTM-58FPZ3V');</script>
  19. <!-- End Google Tag Manager -->
  20.    
  21. <!-- Global site tag (gtag.js) - Google Analytics -->
  22. <script async src="https://www.googletagmanager.com/gtag/js?id=UA-132570752-1"></script>
  23. <script>
  24. window.dataLayer = window.dataLayer || [];
  25. function gtag(){dataLayer.push(arguments);}
  26. gtag('js', new Date());
  27.  
  28. gtag('config', 'UA-132570752-1', { 'optimize_id': 'GTM-KTZ5ZVJ'});
  29. </script>
  30. <?php
  31.  
  32.     boldthemes_set_override();
  33.     boldthemes_header_init();
  34.     boldthemes_header_meta();
  35.  
  36.     $body_style = '';
  37.  
  38.     $page_background = boldthemes_get_option( 'page_background' );
  39.     if ( $page_background ) {
  40.         if ( is_numeric( $page_background ) ) {
  41.             $page_background = wp_get_attachment_image_src( $page_background, 'full' );
  42.             $page_background = $page_background[0];
  43.         }
  44.         $body_style = ' style="background-image:url(' . $page_background . ')"';
  45.     }
  46.  
  47.     $header_extra_class = '';
  48.  
  49.     if ( boldthemes_get_option( 'boxed_menu' ) ) {
  50.         $header_extra_class .= 'gutter ';
  51.     }
  52.  
  53.     wp_head(); ?>
  54.     <link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.0/cookieconsent.min.css" />
  55. <script src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.0/cookieconsent.min.js"></script>
  56. <script>
  57. window.addEventListener("load", function(){
  58. window.cookieconsent.initialise({
  59.   "palette": {
  60.     "popup": {
  61.       "background": "#383b75"
  62.     },
  63.     "button": {
  64.       "background": "#f1d600"
  65.     }
  66.   },
  67.   "theme": "edgeless",
  68.   "position": "bottom-right",
  69.   "content": {
  70.     "message": "Norėdami suteikti geriausią naršymo kokybę Jums naudojame slapukus.",
  71.     "dismiss": "Sutinku",
  72.     "link": "Plačiau...",
  73.     "href": "https://www.manohoroskopas.lt/privatumo-politika/"
  74.   }
  75. })});
  76. </script>
  77.  
  78. </head>
  79.  
  80. <body <?php echo wp_kses_post( $body_style ); ?> <?php body_class(); ?>>
  81.    
  82.     <!-- Google Tag Manager (noscript) -->
  83. <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-58FPZ3V"
  84. height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
  85. <!-- End Google Tag Manager (noscript) -->
  86.    
  87. <?php
  88.  
  89. echo boldthemes_preloader_html(); ?>
  90.  
  91. <div class="btPageWrap" id="top">
  92.    
  93.     <div class="btVerticalHeaderTop">
  94.         <?php if ( has_nav_menu( 'primary' ) ) { ?>
  95.         <div class="btVerticalMenuTrigger">&nbsp;<?php echo boldthemes_get_icon_html( array( "icon" => "fa_f0c9", "url" => "#" ) ); ?></div>
  96.         <?php } ?> 
  97.         <div class="btLogoArea">
  98.             <div class="logo">
  99.                 <span>
  100.                     <?php boldthemes_logo( 'header' ); ?>
  101.                 </span>
  102.             </div><!-- /logo -->
  103.         </div><!-- /btLogoArea -->
  104.     </div>
  105.     <header class="mainHeader btClear <?php echo esc_attr( $header_extra_class ); ?>">
  106.         <div class="mainHeaderInner">
  107.             <?php echo boldthemes_top_bar_html( 'top' ); ?>
  108.             <div class="btLogoArea menuHolder btClear">
  109.                 <div class="port">
  110.                     <?php if ( has_nav_menu( 'primary' ) ) { ?>
  111.                         <div class="btHorizontalMenuTrigger">&nbsp;<?php echo boldthemes_get_icon_html( array( "icon" => "fa_f0c9", "url" => "#" ) ); ?></div>
  112.                     <?php } ?>
  113.                     <div class="logo">
  114.                         <span>
  115.                             <?php boldthemes_logo( 'header' ); ?>
  116.                         </span>
  117.                     </div><!-- /logo -->
  118.                     <?php
  119.                         $menu_type = boldthemes_get_option( 'menu_type' );
  120.                         if ( $menu_type == 'horizontal-below-right' || $menu_type == 'horizontal-below-center' || $menu_type == 'horizontal-below-left' || $menu_type == 'vertical-left' || $menu_type == 'vertical-right' ) {
  121.                             echo boldthemes_top_bar_html( 'logo' );
  122.                             echo '</div><!-- /port --></div><!-- /menuHolder -->';
  123.                             echo '<div class="btBelowLogoArea btClear"><div class="port">';
  124.                         }
  125.                     ?>
  126.                     <div class="menuPort">
  127.                         <?php echo boldthemes_top_bar_html( 'menu' ); ?>
  128.                         <nav>
  129.                             <?php boldthemes_nav_menu(); ?>
  130.                         </nav>
  131.                     </div><!-- .menuPort -->
  132.                 </div><!-- /port -->
  133.             </div><!-- /menuHolder / btBelowLogoArea -->
  134.         </div><!-- / inner header for scrolling -->
  135.     </header><!-- /.mainHeader -->
  136.     <div class="btContentWrap btClear">
  137.         <?php
  138.             global $bt_global_exclude_ids;
  139.             $bt_global_exclude_ids = array();
  140.         ?>
  141.         <?php
  142.         $hide_headline = boldthemes_get_option( 'hide_headline' );
  143.         if ( ( ( !$hide_headline && !is_404() ) || is_search() ) ) {
  144.             boldthemes_header_headline( array( 'breadcrumbs' => true ) );
  145.         }
  146.         ?>
  147.         <?php if ( BoldThemesFramework::$page_for_header_id != '' && ! is_search() ) { ?>
  148.             <?php
  149.                 $content = get_post( BoldThemesFramework::$page_for_header_id );
  150.                 $top_content = $content->post_content;
  151.                 if ( $top_content != '' ) {
  152.                     $top_content = apply_filters( 'the_content', $top_content );
  153.                     $top_content = preg_replace( '/data-edit_url="(.*?)"/s', 'data-edit_url="' . get_edit_post_link( BoldThemesFramework::$page_for_header_id, '' ) . '"', $top_content );
  154.                     echo '<div class = "btBlogHeaderContent">' . str_replace( ']]>', ']]&gt;', $top_content ) . '</div>';
  155.                 }
  156.                
  157.             ?>
  158.         <?php } ?>
  159.         <div class="btContentHolder">
  160.            
  161.             <div class="btContent">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement