biofriction-wp-theme/header.php

34 lines
1.5 KiB
PHP
Raw Permalink Normal View History

2021-02-18 15:27:46 +01:00
<?php
/**
* The template for displaying the header
*
* Displays all of the head element and everything up until the "container" div.
*
* @package Biofriction
* @since Biofriction 1.0.0
*/
?>
<!doctype html>
<html class="no-js" <?php language_attributes(); ?> >
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php get_template_part( 'template-parts/mobile-off-canvas' ); ?>
<header class="site-header-container">
<content class="site-header-grid grid-x align-justify align-middle" role="banner">
<div class="site-custom-logo biofriction-logo-moving-transp cell small-12 medium-12 large-3 shrink"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php //the_custom_logo(); ?></a></div>
2021-02-18 15:27:46 +01:00
<div class="site-name"><h1><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1></div>
<div class="site-description"><h2><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'description' ); ?></a></h2></div>
2021-10-26 14:18:09 +02:00
<nav class="site-center-top-nav small-12 medium-6 grid-x align-center">
<?php foundationpress_top_bar_c(); ?>
</nav>
2021-10-26 14:18:09 +02:00
<nav class="site-top-nav menu small-12 medium-6 large-shrink align-center"><?php foundationpress_top_bar_r(); ?></nav>
2021-02-18 15:27:46 +01:00
</content>
<?php //get_template_part( 'template-parts/tag-cloud' ); ?>
2021-02-18 15:27:46 +01:00
</header>