139 lines
2.3 KiB
PHP
139 lines
2.3 KiB
PHP
|
<?php
|
||
|
/**
|
||
|
* The header for our theme
|
||
|
*
|
||
|
* This is the template that displays all of the <head> section and everything up until <div id="content">
|
||
|
*
|
||
|
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
|
||
|
*
|
||
|
* @package zakra
|
||
|
*/
|
||
|
|
||
|
/**
|
||
|
* Functions hooked into zakra_action_doctype action
|
||
|
*
|
||
|
* @hooked zakra_doctype - 10
|
||
|
*/
|
||
|
do_action( 'zakra_action_doctype' );
|
||
|
?>
|
||
|
|
||
|
<head>
|
||
|
|
||
|
<?php
|
||
|
/**
|
||
|
* Hook - zakra_action_head
|
||
|
*
|
||
|
* Functions hooked into zakra_action_head action
|
||
|
*
|
||
|
* @hooked zakra_head - 10
|
||
|
*/
|
||
|
do_action( 'zakra_action_head' );
|
||
|
?>
|
||
|
|
||
|
<?php wp_head(); ?>
|
||
|
|
||
|
</head>
|
||
|
|
||
|
<body <?php body_class(); ?>>
|
||
|
|
||
|
<?php
|
||
|
/**
|
||
|
* WordPress function to load custom scripts after body.
|
||
|
*
|
||
|
* Introduced in WordPress 5.2.0
|
||
|
*
|
||
|
* @since Zakra 1.2.3
|
||
|
*/
|
||
|
if ( function_exists( 'wp_body_open' ) ) {
|
||
|
wp_body_open();
|
||
|
}
|
||
|
?>
|
||
|
|
||
|
<?php
|
||
|
/**
|
||
|
* Hook - zakra_action_before
|
||
|
*
|
||
|
* @hooked zakra_page_start - 10
|
||
|
* @hooked zakra_skip_to_content - 15
|
||
|
*/
|
||
|
do_action( 'zakra_action_before' );
|
||
|
?>
|
||
|
|
||
|
<?php
|
||
|
/**
|
||
|
* Hook - zakra_action_before_header
|
||
|
*
|
||
|
* @hooked zakra_header_start - 10
|
||
|
*/
|
||
|
do_action( 'zakra_action_before_header' );
|
||
|
?>
|
||
|
|
||
|
<?php
|
||
|
/**
|
||
|
* Hook - zakra_before_header_top
|
||
|
*/
|
||
|
do_action( 'zakra_before_header_top' );
|
||
|
?>
|
||
|
|
||
|
<?php
|
||
|
/**
|
||
|
* Hook - zakra_action_header_top
|
||
|
*
|
||
|
* @hooked zakra_header_top - 10
|
||
|
*/
|
||
|
do_action( 'zakra_action_header_top' );
|
||
|
?>
|
||
|
|
||
|
<?php
|
||
|
/**
|
||
|
* Hook - zakra_after_header_top
|
||
|
*/
|
||
|
do_action( 'zakra_after_header_top' );
|
||
|
?>
|
||
|
|
||
|
<?php
|
||
|
/**
|
||
|
* Hook - zakra_action_before_header_main
|
||
|
*
|
||
|
* @hooked zakra_before_header_main - 10
|
||
|
*/
|
||
|
do_action( 'zakra_action_before_header_main' );
|
||
|
?>
|
||
|
|
||
|
<?php
|
||
|
/**
|
||
|
* Hook - zakra_action_header_main
|
||
|
*
|
||
|
* @hooked zakra_header_main() - 10
|
||
|
*/
|
||
|
do_action( 'zakra_action_header_main' );
|
||
|
?>
|
||
|
|
||
|
<?php
|
||
|
/**
|
||
|
* Hook - zakra_action_after_header_main
|
||
|
*
|
||
|
* @hooked zakra_header - 10
|
||
|
*/
|
||
|
do_action( 'zakra_action_after_header_main' );
|
||
|
?>
|
||
|
|
||
|
<?php
|
||
|
/**
|
||
|
* Hook - zakra_action_after_header
|
||
|
*
|
||
|
* @hooked zakra_header_end - 10
|
||
|
*/
|
||
|
do_action( 'zakra_action_after_header' );
|
||
|
?>
|
||
|
|
||
|
<?php
|
||
|
/**
|
||
|
* Hook - zakra_action_before_content.
|
||
|
*
|
||
|
* @hooked zakra_main_start - 10
|
||
|
* @hooked zakra_page_header - 15
|
||
|
* @hooked zakra_content_start - 20
|
||
|
*/
|
||
|
do_action( 'zakra_action_before_content' );
|