Make WordPress Themes

source: bloghash/1.0.12/header.php

Last change on this file was 226359, checked in by themedropbox, 19 months ago

New theme: BlogHash - 1.0.0

File size: 1.4 KB
Line 
1<?php
2/**
3 * The header for our theme.
4 *
5 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
6 *
7 * @package     Bloghash
8 * @author      Peregrine Themes
9 * @since       1.0.0
10 */
11
12?>
13<!DOCTYPE html>
14<html <?php language_attributes(); ?><?php bloghash_schema_markup( 'html' ); ?> <?php echo bloghash_option( 'dark_mode' ) ? 'data-darkmode="dark"' : ''; ?>>
15<head>
16        <meta charset="<?php bloginfo( 'charset' ); ?>">
17        <link rel="profile" href="http://gmpg.org/xfn/11">
18        <?php wp_head(); ?>
19</head>
20
21<body <?php body_class(); ?>>
22
23<?php wp_body_open(); ?>
24
25<?php do_action( 'bloghash_before_page_wrapper' ); ?>
26<div id="page" class="hfeed site">
27        <a class="skip-link screen-reader-text" href="#main"><?php esc_html_e( 'Skip to content', 'bloghash' ); ?></a>
28
29        <?php
30        if ( get_header_image() ) {
31                the_custom_header_markup();
32        }
33        ?>
34
35        <?php do_action( 'bloghash_before_masthead', 'before_header' ); ?>
36
37        <header id="masthead" class="site-header" role="banner"<?php bloghash_masthead_atts(); ?><?php bloghash_schema_markup( 'header' ); ?>>
38                <?php do_action( 'bloghash_header' ); ?>
39                <?php do_action( 'bloghash_page_header' ); ?>
40        </header><!-- #masthead .site-header -->
41
42        <?php do_action( 'bloghash_after_masthead', 'after_header' ); ?>
43
44        <?php do_action( 'bloghash_before_main' ); ?>
45                <div id="main" class="site-main">
46
47                        <?php do_action( 'bloghash_main_start' ); ?>
Note: See TracBrowser for help on using the repository browser.