forked from krogsgard/wporg-developer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
executable file
·25 lines (24 loc) · 888 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
<?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( '/reference/' ) ); ?>" rel="home"><?php echo DevHub\get_site_section_title(); ?></a></h1>
<?php else : ?>
<span class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php echo DevHub\get_site_section_title(); ?></a></span>
<?php endif; ?>
</div>
</div><!-- .inner-wrap -->
</header><!-- #masthead -->
<div id="content" class="site-content">