Advertisement
Mary_Pieroszkiewicz

site-branding.php

Nov 5th, 2019
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 4.30 KB | None | 0 0
  1.  
  2. <div id="jkuWooData" style="display: none !important;">
  3.     <input type="text" id="jkuWooCartUrl" value="<?php echo wc_get_cart_url(); ?>" />
  4.     <input type="text" id="jkuWooCartCount" value="<?php echo sprintf ( _n( '%d', '%d', WC()->cart->get_cart_contents_count() ), WC()->cart->get_cart_contents_count() ); ?>" />
  5. </div>
  6.  
  7. <div class="header-normal">
  8.     <div class="jku-container">
  9.         <div class="jku-header-logo-wrapper">
  10.             <a href="/">
  11.                 <img src="/wp-content/themes/jakub-kuron/svg/jakub-kuron-logo.svg" />
  12.             </a>
  13.         </div>
  14.         <div class="jku-header-menu-left-wrapper">
  15.             <?php if ( has_nav_menu( 'top-header-menu-left' ) ) : ?>
  16.                 <nav class="jku-header-menu-list">
  17.                     <?php
  18.                         wp_nav_menu( array(
  19.                                 'theme_location' => 'top-header-menu-left',
  20.                                 'menu_class'     => 'jku-menu',
  21.                                 'items_wrap'     => '<ul id="%1$s" class="%2$s">%3$s</ul>',
  22.                         ) );
  23.                     ?>
  24.                 </nav>
  25.             <?php endif; ?>
  26.         </div>
  27.         <div class="jku-header-menu-right-wrapper">
  28.             <?php if ( has_nav_menu( 'top-header-menu-right' ) ) : ?>
  29.                 <nav class="jku-header-menu-list">
  30.                     <?php
  31.                         wp_nav_menu( array(
  32.                                 'theme_location' => 'top-header-menu-right',
  33.                                 'menu_class'     => 'jku-menu',
  34.                                 'items_wrap'     => '<ul id="%1$s" class="%2$s">%3$s</ul>',
  35.                         ) );
  36.                     ?>
  37.                 </nav>
  38.             <?php endif; ?>
  39.         </div>
  40.     </div>
  41. </div>
  42.  
  43. <div class="header-sticky">
  44.     <div class="jku-container">
  45.         <div class="jku-header-logo-wrapper">
  46.             <a href="/">
  47.                 <img src="/wp-content/themes/jakub-kuron/svg/jakub-kuron-logo.svg" />
  48.             </a>
  49.         </div>
  50.         <div class="jku-header-menu-left-wrapper">
  51.             <?php if ( has_nav_menu( 'top-header-menu-left' ) ) : ?>
  52.                 <nav class="jku-header-menu-list">
  53.                     <?php
  54.                         wp_nav_menu( array(
  55.                                 'theme_location' => 'top-header-menu-left',
  56.                                 'menu_class'     => 'jku-menu',
  57.                                 'items_wrap'     => '<ul id="%1$s" class="%2$s">%3$s</ul>',
  58.                         ) );
  59.                     ?>
  60.                 </nav>
  61.             <?php endif; ?>
  62.         </div>
  63.         <div class="jku-header-menu-right-wrapper">
  64.             <?php if ( has_nav_menu( 'top-header-menu-right' ) ) : ?>
  65.                 <nav class="jku-header-menu-list">
  66.                     <?php
  67.                         wp_nav_menu( array(
  68.                                 'theme_location' => 'top-header-menu-right',
  69.                                 'menu_class'     => 'jku-menu',
  70.                                 'items_wrap'     => '<ul id="%1$s" class="%2$s">%3$s</ul>',
  71.                         ) );
  72.                     ?>
  73.                 </nav>
  74.             <?php endif; ?>
  75.         </div>
  76.     </div>
  77. </div>
  78.  
  79. <div class="mobile-menu-wrapper">
  80.     <div class="mobile-menu-close"></div>
  81.     <div class="jku-container">
  82.         <?php if ( has_nav_menu( 'top-header-menu-left' ) ) : ?>
  83.             <nav class="jku-header-menu-list">
  84.                 <?php
  85.                     wp_nav_menu( array(
  86.                             'theme_location' => 'top-header-menu-left',
  87.                             'menu_class'     => 'jku-menu',
  88.                             'items_wrap'     => '<ul id="%1$s" class="%2$s">%3$s</ul>',
  89.                     ) );
  90.                     wp_nav_menu( array(
  91.                             'theme_location' => 'top-header-menu-right',
  92.                             'menu_class'     => 'jku-menu',
  93.                             'items_wrap'     => '<ul id="%1$s" class="%2$s">%3$s</ul>',
  94.                     ) );
  95.                 ?>
  96.             </nav>
  97.         <?php endif; ?>
  98.     </div>
  99. </div>
  100.  
  101. <div class="search-wrapper">
  102.     <div class="search-close">X</div>
  103.     <div class="search-content">
  104.         <h2>Czego szukasz?</h2>
  105.         <?php get_search_form(); ?>
  106.     </div>
  107. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement