26 lines
1.1 KiB
PHP
Executable File
26 lines
1.1 KiB
PHP
Executable File
<?php if ( ! 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">
|
|
<?php wp_head(); ?>
|
|
</head>
|
|
<body <?php body_class(); ?>>
|
|
<?php wp_body_open(); ?>
|
|
<header class="site-header">
|
|
<div class="container header-inner">
|
|
<div class="branding">
|
|
<?php if ( function_exists( 'the_custom_logo' ) && has_custom_logo() ) : ?>
|
|
<div class="site-logo"><?php the_custom_logo(); ?></div>
|
|
<?php endif; ?>
|
|
<div class="branding-text">
|
|
<a class="site-title" href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php bloginfo( 'name' ); ?></a>
|
|
<?php if ( get_bloginfo( 'description' ) ) : ?><p class="site-description"><?php bloginfo( 'description' ); ?></p><?php endif; ?>
|
|
</div>
|
|
</div>
|
|
<nav class="main-navigation" aria-label="<?php esc_attr_e( 'Hauptmenü', 'kgv-classic' ); ?>">
|
|
<?php wp_nav_menu( array( 'theme_location' => 'primary', 'container' => false, 'fallback_cb' => 'wp_page_menu' ) ); ?>
|
|
</nav>
|
|
</div>
|
|
</header>
|