forked from krogsgard/wporg-developer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
executable file
·30 lines (29 loc) · 1001 Bytes
/
header.php
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
<?php
/**
* The Header for our theme.
*
* Displays all of the <head> section and everything up till <div id="content">
*
* @package wporg-developer
*/
require WPORGPATH . 'header.php';
?>
<div id="page" class="hfeed site devhub-wrap">
<?php do_action( 'before' ); ?>
<header id="masthead" class="site-header" role="banner">
<div class="inner-wrap">
<div class="site-branding">
<?php if ( ! is_front_page() ) : ?>
<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
<?php else : ?>
<h1 class="home-site-title site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
<?php endif; ?>
</div>
</div><!-- .inner-wrap -->
</header><!-- #masthead -->
<?php if ( ! is_front_page() ) : ?>
<div class="wp-logo">
<div class="dashicons dashicons-wordpress-alt"></div>
</div>
<?php endif; ?>
<div id="content" class="site-content">