custom-modern-theme/header.php
2024-07-31 20:14:58 +02:00

59 lines
931 B
PHP

<?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' );