HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/mohn.komma.pro/wwwroot/wp-content/themes/mohn/header.php
<!DOCTYPE html>
<html lang="nl">
<head>

<meta charset="utf-8">

<title><?php wp_title( '|', true, 'right' ); ?>MOHN</title>

<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">

<script src="https://use.typekit.net/xje8fkv.js"></script>
<script>try{Typekit.load({ async: true });}catch(e){}</script>

<link href="https://fonts.googleapis.com/css?family=Lato:300,400,700" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="<?php echo get_template_directory_uri(); ?>/assets/css/style.css" />
<link rel="stylesheet" type="text/css" href="<?php echo get_template_directory_uri(); ?>/assets/css/responsive.css" />

<link rel="shortcut icon" href="<?php echo get_template_directory_uri(); ?>/assets/img/favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="<?php echo get_template_directory_uri(); ?>/assets/img/favicon.png" type="image/png">

<?php wp_head(); ?>

</head>

<body>

<nav <?php if(!is_home()){ echo("class='sticky'"); } ?>>
    <div class="container">
        <div class="inner-nav">

            <ul class="filter-nav">
                <li class="filter">
                    <a href="/" class="filter-btn active">
                        <span class="icon"><?php include('assets/img/icon-filter-default.svg'); ?></span>
                        <span class="label">Toon alles</span>
                    </a>
                </li>
                <?php
                $categories = get_categories( array(
                    'orderby' => 'name',
                    'order'   => 'ASC'
                ) );

                foreach( $categories as $category ) {
                ?>
                    <li class="filter">
                        <a href="/categorie/<?= $category->slug ?>" class="filter-btn">
                            <span class="icon"><?php include('assets/img/icon-filter-'.$category->slug.'.svg'); ?></span>
                            <span class="label"><?= $category->name ?></span>
                        </a>
                    </li>
                <?php
                }
                ?>
            </ul>

            <div class="main-nav">
                <a href="/" class="logo-con">
                    <?php include('assets/img/logo-mohn.svg'); ?>
                </a>
                <div class="menu">
                    <?php
                    query_posts( array(
                        'post_type' => 'page',
                        'post__not_in' => array( 2, 502 ),
                        'order_by' => 'menu_order',
                        'order' => 'ASC'
                    ) );

                    while (have_posts()) { the_post();
                    ?>
                        <a href="<?php the_permalink(); ?>" class="menu-item"><?php the_title(); ?></a>
                    <?php
                    }

                    wp_reset_query();
                    ?>
                </div>
            </div>

        </div>
    </div>
</nav>