HEX
Server: Apache
System: Linux p3plzcpnl476737.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: p8pyefaexf70 (9161224)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /home/p8pyefaexf70/www/wp-content/themes/veres/partials/default/header.php
<?php

if (!defined('ABSPATH')) {
    exit; // Exit if accessed directly
}

$header_nav_menu = wp_nav_menu( [
    'theme_location' => 'main-nav',
    'echo' => false,
] );
?>
<header id="site-header" class="site-header site-header--default" role="banner">
    <div class="container">
        <div class="site-branding">
            <?php
            if ( has_custom_logo() ) {
                the_custom_logo();
            }
            else {
                ?>
                <a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php esc_attr_e( 'Home', 'veres' ); ?>" rel="home">
                    <img src="<?php echo esc_url(veres_get_theme_mod('logo_default', get_theme_file_uri('/assets/images/logo.svg'))) ?>" alt="<?php echo esc_attr(get_bloginfo('name')); ?>" width="138" height="28"/>
                </a>
            <?php } ?>
        </div>

        <nav class="site-navigation" role="navigation">
            <button type="button" class="site-nav-toggleicon"><i class="lastudioicon-menu-8-1"></i></button>
            <?php
            if(has_nav_menu('main-nav')){
                wp_nav_menu( [
                    'theme_location' => 'main-nav',
                    'container'      => false,
                    'link_before'    => '<span>',
                    'link_after'     => '</span>',
                ] );
            }
            else{
                wp_nav_menu( [
                    'theme_location' => 'main-nav',
                    'container'      => 'ul',
                    'container_class' => 'menu',
                    'items_wrap'     => '%3$s',
                    'link_before'    => '<span>',
                    'link_after'     => '</span>',
                ] );
            }
            ?>
        </nav>
    </div>
</header>