-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheader.php
50 lines (39 loc) · 1.03 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?php
/**
* The Header
*
* @package karyawp
*/
// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo('charset'); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="profile" href="http://gmpg.org/xfn/11">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?> <?php karyawp_body_attributes(); ?>>
<?php do_action('wp_body_open'); ?>
<div class="site" id="page">
<div class="skippy visually-hidden-focusable overflow-hidden">
<a class="d-inline-flex p-2 m-1" href="#content"><?php esc_html_e('Skip to content', 'karyawp'); ?></a>
</div>
<?php
do_action( 'karyawp_header_before' );
/**
* karyawp_header()
* template-parts/header
*/
do_action( 'karyawp_header' );
do_action( 'karyawp_header_after' );
?>
<div class="site-content" id="content">
<?php
/**
* karyawp_content_before()
*/
do_action( 'karyawp_content_before' );
?>