This repository was archived by the owner on Oct 24, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
58 lines (50 loc) · 2.13 KB
/
header.php
File metadata and controls
58 lines (50 loc) · 2.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?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 Tooba
* @subpackage ToobaPortal
* @since 1.0
* @version 1.0
*/
?><!DOCTYPE html>
<html <?php language_attributes(); ?> class="no-js no-svg">
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<div id="container" class="site">
<header class="clearfix" id="header" role="banner">
<nav id="site-navigation" class="navbar navbar-default" role="navigation"
aria-label="<?php esc_attr_e( 'Top Menu', 'tooba' ); ?>">
<div class="container">
<div class="navbar-header">
<button class="menu-toggle" aria-controls="top-menu" aria-expanded="false">
<?php
echo twentyseventeen_get_svg( array( 'icon' => 'bars' ) );
echo twentyseventeen_get_svg( array( 'icon' => 'close' ) );
_e( 'Menu', 'twentyseventeen' );
?>
</button>
<!--<a class="navbar-brand" href="<?php get_bloginfo('url')?>"><img alt="<?php get_bloginfo('name') ?>" src="<?php get_custom_logo() ?>"></a>-->
<?php the_custom_logo() ?>
</div>
<?php wp_nav_menu( array( 'theme_location' => 'top', 'menu_id' => 'top-menu', ) ); ?>
<?php if ( ( twentyseventeen_is_frontpage() || ( is_home() && is_front_page() ) ) && has_custom_header() ) : ?>
<a href="#content" class="menu-scroll-down">
<?php echo twentyseventeen_get_svg( array( 'icon' => 'arrow-right' ) ); ?>
<span class="screen-reader-text"><?php _e( 'Scroll down to content', 'twentyseventeen' ); ?>
</span>
</a>
<?php endif; ?>
</div>
</nav><!-- #site-navigation -->
</header>
<div class="site-content-contain">
<div id="content" class="site-content">