-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
36 lines (27 loc) · 1.16 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
<?php
/**
* The header for our theme.
*
* This is the template that displays all of the <head> section and everything up until <div id="content">
*
* @package Actions
*/
?><!DOCTYPE html>
<html <?php language_attributes(); ?> class="no-js">
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="http://gmpg.org/xfn/11">
<?php if ( is_singular() && pings_open( get_queried_object() ) ) : ?>
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
<?php endif; ?>
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php
do_action( 'actions_header_elements_before' ); // Hook in your chosen framework's site opening wrapper(s).
do_action( 'actions_header_elements' ); //hook menu and header e.t.c to this action.
do_action( 'actions_header_elements_after' ); // Hook in your chosen framework's content opening wrapper(s)
// Remember to give all of your hooks for the above actions a suitable priority i.e. 0 will hook in first, 10 will hook in second and 20 will hook in 3rd and so on!
do_action( 'actions_content_body_before' );
?>