init
This commit is contained in:
commit
296a2258c1
35 changed files with 12274 additions and 0 deletions
59
header.php
Normal file
59
header.php
Normal file
|
@ -0,0 +1,59 @@
|
|||
<?php
|
||||
/**
|
||||
* The header for our theme
|
||||
*
|
||||
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
|
||||
* @see `includes/frontend/class-header.php`
|
||||
*
|
||||
* @package Modern
|
||||
* @copyright WebMan Design, Oliver Juhas
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @version 2.5.0
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
do_action( 'tha_html_before' );
|
||||
|
||||
?>
|
||||
|
||||
<html <?php language_attributes(); ?>>
|
||||
|
||||
<head>
|
||||
|
||||
<?php
|
||||
|
||||
do_action( 'tha_head_top' );
|
||||
do_action( 'tha_head_bottom' );
|
||||
|
||||
wp_head();
|
||||
|
||||
?>
|
||||
|
||||
</head>
|
||||
|
||||
|
||||
<body tabIndex="0" <?php body_class(); ?>>
|
||||
|
||||
<?php
|
||||
|
||||
if ( function_exists( 'wp_body_open' ) ) {
|
||||
wp_body_open();
|
||||
} else {
|
||||
do_action( 'wp_body_open' );
|
||||
}
|
||||
|
||||
do_action( 'tha_body_top' );
|
||||
|
||||
if ( ! apply_filters( 'wmhook_modern_disable_header', false ) ) {
|
||||
do_action( 'tha_header_before' );
|
||||
do_action( 'tha_header_top' );
|
||||
do_action( 'tha_header_bottom' );
|
||||
do_action( 'tha_header_after' );
|
||||
}
|
||||
|
||||
do_action( 'tha_content_before' );
|
||||
do_action( 'tha_content_top' );
|
Loading…
Add table
Add a link
Reference in a new issue