HEX
Server: LiteSpeed
System: Linux server165.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User: thetcbtv (2335)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: //home/thetcbtv/wp-content/wp-content/themes/yourstore-theme/header.php
<!doctype html>
<html <?php language_attributes(); ?> >
<head>
  <meta charset="<?php bloginfo('charset'); ?>">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
  <header class="site-header">
    <div class="container" style="display:flex;align-items:center;justify-content:space-between;padding:12px 0">
      <div class="brand">
        <a href="<?php echo esc_url(home_url('/')); ?>" style="text-decoration:none;color:inherit;">
          <?php if (function_exists('the_custom_logo') && has_custom_logo()){ the_custom_logo(); } else { ?><span style="font-weight:700;"><?php bloginfo('name'); ?></span><?php } ?>
        </a>
      </div>

      <nav class="main-nav">
        <?php
          wp_nav_menu(array(
            'theme_location' => 'primary',
            'container' => false,
            'menu_class' => '',
          ));
        ?>
      </nav>

      <div class="actions">
        <?php get_search_form(); ?>
        <?php if (class_exists('WooCommerce')): ?>
          <a href="<?php echo wc_get_cart_url(); ?>">Cart (<?php echo WC()->cart->get_cart_contents_count(); ?>)</a>
        <?php else: ?>
          <a href="<?php echo esc_url(home_url('/cart')); ?>">Cart</a>
        <?php endif; ?>
      </div>
    </div>
  </header>