File: /home/a/l/l/alloesb/www/wp-content/themes/listable/header.php
<?php
/**
* The header for our theme.
*
* This is the template that displays all of the <head> section and everything up until <div id="content">
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package Listable
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>
data-map-default-location="<?php echo pixelgrade_option('map_default_location', '51.5073509,-0.12775829999998223'); ?>"
data-mapbox-token="<?php echo pixelgrade_option('mapbox_token', ''); ?>"
data-mapbox-style="<?php echo listable_get_mapbox_style_id(); ?>">
<?php wp_body_open(); ?>
<div id="page" class="hfeed site">
<a class="skip-link screen-reader-text" href="#content"><?php esc_html_e( 'Skip to content', 'listable' ); ?></a>
<header id="masthead" class="site-header <?php if( is_page_template( 'page-templates/front_page.php' ) && (pixelgrade_option( 'header_transparent', true ) == true) ) echo 'header--transparent'; ?>" role="banner">
<?php listable_display_logo(); ?>
<?php get_template_part( 'template-parts/header-fields' ); ?>
<?php
// Output the navigation and mobile nav button only if there is a nav
if ( has_nav_menu( 'primary' ) || has_nav_menu( 'secondary') ): ?>
<button class="menu-trigger menu--open js-menu-trigger">
<?php get_template_part( 'assets/svg/menu-bars-svg' ); ?>
</button>
<nav id="site-navigation" class="menu-wrapper" role="navigation">
<button class="menu-trigger menu--close js-menu-trigger">
<?php get_template_part( 'assets/svg/close-icon-svg' ); ?>
</button>
<?php
wp_nav_menu( array(
'container' => false,
'theme_location' => 'primary',
'menu_class' => 'primary-menu',
'fallback_cb' => false,
'walker' => new Listable_Walker_Nav_Menu(),
) );
wp_nav_menu( array(
'container_class' => 'secondary-menu-wrapper',
'theme_location' => 'secondary',
'menu_class' => 'primary-menu secondary-menu',
'fallback_cb' => false,
'walker' => new Listable_Walker_Nav_Menu(),
) ); ?>
</nav>
<?php endif; ?>
</header><!-- #masthead -->
<div id="content" class="site-content js-header-height-padding-top">