????
Current Path : /home2/morganrand/backup.morganrand.com/wp-content/themes/wanderfuls/ |
Current File : /home2/morganrand/backup.morganrand.com/wp-content/themes/wanderfuls/header.php |
<?php /** * The header for our theme. * * Displays all of the <head> section and everything up till <div id="main"> * * @package Wanderfuls WordPress Theme * @subpackage Templates */ ?> <!DOCTYPE html> <html <?php language_attributes(); ?><?php tb_schema_markup('html'); ?>> <head> <meta name="google-site-verification" content="zZtBIK9XBrGm6PNE2oMhDhhjIeawPbyGCVV-bBYBTEM" /> <meta name="p:domain_verify" content="zZtBIK9XBrGm6PNE2oMhDhhjIeawPbyGCVV-bBYBTEM"/> <script type="text/javascript"> !function(e){if(!window.pintrk){window.pintrk=function(){window.pintrk.queue.push( Array.prototype.slice.call(arguments))};var n=window.pintrk;n.queue=[],n.version="3.0";var t=document.createElement("script");t.async=!0,t.src=e;var r=document.getElementsByTagName("script")[0];r.parentNode.insertBefore(t,r)}}("https://s.pinimg.com/ct/core.js"); pintrk('load', '2613300009171'); pintrk('page'); </script> <noscript> <img height="1" width="1" style="display:none;" alt="" src="https://ct.pinterest.com/v3/?tid=2613300009171&noscript=1" /> </noscript> <!-- 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-N4TWP54'); </script> <!-- End Google Tag Manager --> <meta charset="<?php bloginfo('charset'); ?>" /> <link rel="profile" href="//gmpg.org/xfn/11"> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>"> <!--Global site tag (gtag.js) - Google Ads: 1072474348 --> <script async src="https://www.googletagmanager.com/gtag/js?id=AW-1072474348"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'AW-1072474348'); </script> <script> gtag('config', 'AW-1072474348/wFqhCLXtsYsBEOzRsv8D', { 'phone_conversion_number': '1-888-837-5021' }); </script> <script> pintrk('track', 'checkout'); </script> <noscript> <img height="1" width="1" style="display:none;" alt="" src="https://ct.pinterest.com/v3/?tid=2613300009171&event=checkout&noscript=1" /> </noscript> <meta name="p:domain_verify" content="56e787e413ea8e8b9d590a0fd5a01fab"/> <?php wp_head(); ?> <?php /* * CANTRIP SOLUTIONS CODES START */ //get_template_part('cantrip/header-cantrip'); get_header('cantrip'); ?> <script> jQuery(function($){ $('ul.tmcp-ul-wrap li').each(function(i) { var image_url = $(this).find('input[type="radio"]').attr('data-imagep'); $(this).find('label>.tmhexcolorimage').css('background-image','url(' + image_url + ')'); $(this).find('label>.tmhexcolorimage').css('background-size','100% 100%'); //$(this).find('.tmhexcolorimage').css('background-image',image_url); //console.log($(this).attr('class')); }); $('.tmcp-field-wrap').click(function(i) { if ($(this).parents('.candy-section-ul').length) { $('.tmcp-field-wrap').removeClass('tc-active'); var candy_section = $(this).clone(); $( ".selected_candy" ).html(candy_section); $(this).addClass('tc-active'); $(".images").addClass('pompoms-candy-active'); $(this).find('input[type="radio"]').attr('checked','checked'); } }); $( ".candy-filled-option" ).change(function() { console.log($(this).val()); }); //append crauels $(".candy-section-ul").append("<div class='arrow-btn'><div class='arrow-btn-next'></div><div class='arrow-btn-prev'></div></div><input type='hidden' id='cr-val' name='carousel-items' value='5'>"); $(".candy-section-ul >li").hide(); $(".candy-section-ul >li").slice(0, 5).css('display','block'); // increase val next $('.arrow-btn-next').click(function(i) { var currentvaal = $("#cr-val").val(); var currentvaalincrement = parseInt(currentvaal)+5; $("#cr-val").val(currentvaalincrement) $(".candy-section-ul >li").hide(); $(".candy-section-ul >li").slice(currentvaal, currentvaalincrement).css('display','block'); }); // decrease val next $('.arrow-btn-prev').click(function(i) { //if(parseInt($("#cr-val").val()) > 5){ var currentvaal = $("#cr-val").val(); var currentvaalincrement = parseInt(currentvaal)-5; $("#cr-val").val(currentvaalincrement); $(".candy-section-ul >li").hide(); $(".candy-section-ul >li").slice(currentvaalincrement, currentvaal).css('display','block'); //$("#cr-val").val(parseInt($("#cr-val").val())-5); //} }); /* //carousel hide show section $(".candy-section-ul").html(); */ }); </script> </head> <!-- Begin Body --> <body <?php body_class(); ?><?php tb_schema_markup('body'); ?>> <!-- Google Tag Manager (noscript) --> <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-N4TWP54" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <!-- End Google Tag Manager (noscript) --> <?php tb_outer_wrap_before(); ?> <style> .how-to-design { background-color: <?php echo get_option('wpc_lowerbar'); ?> } .logo-phone { background-color: <?php echo get_option('wpc_upperbar'); ?> } .desc{ margin-top:26px; font-weight: bold; } </style> <div class="mobile_sticky_menu"> <div class="row logo-phone"> <div class="col-xs-6"> <a href="https://wanderfuls.com/" title="Wanderfuls" rel="home" class="main-logo"> <img src="<?php echo get_option('wpc_logo'); ?>" data-src="<?php echo get_option('wpc_logo'); ?>" alt="Wanderfuls" data-no-retina /> </a> </div> <div class="col-xs-6"> <a href="tel:<?php echo get_option('wpc_phone'); ?>"> <h2 class="phone-header text-left"> <strong><i class="fa fa-phone"></i> <?php echo get_option('wpc_phone'); ?> </strong> </h2> </a> </div> </div> <div class="row how-to-design"> <div class="col-xs-5 col-xs-offset-1"> <a href="<?php echo get_option('wpc_url1'); ?>"><?php echo get_option('wpc_link1'); ?></a> </div> <div class="col-xs-6"> <a href="<?php echo get_option('wpc_url2'); ?>"><?php echo get_option('wpc_link2'); ?></a> </div> </div> </div> <div id="outer-wrap" class="clr"> <?php tb_hook_wrap_before(); ?> <div id="wrap" class="clr"> <?php tb_hook_wrap_top(); ?> <?php tb_hook_main_before(); ?> <main id="main" class="site-main clr"<?php tb_schema_markup('main'); ?>> <?php tb_hook_main_top(); ?>