Delete header.php
This commit is contained in:
1 parent
405975a53d
commit
3eda90abf4
1 file changed
-45
-45
@@ -1,45 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**
|
|
||||||
* Site header.
|
|
||||||
*
|
|
||||||
* @package Super_Simple_WP_Theme
|
|
||||||
*/
|
|
||||||
|
|
||||||
$sswt_site_icon = get_site_icon_url();
|
|
||||||
?>
|
|
||||||
<!DOCTYPE html>
|
|
||||||
<html <?php language_attributes(); ?>>
|
|
||||||
<head>
|
|
||||||
<meta charset="<?php bloginfo( 'charset' ); ?>">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<?php if ( $sswt_site_icon ) : ?>
|
|
||||||
<link rel="icon" href="<?php echo esc_url( $sswt_site_icon ); ?>">
|
|
||||||
<?php endif; ?>
|
|
||||||
<?php wp_head(); ?>
|
|
||||||
</head>
|
|
||||||
<body <?php body_class(); ?>>
|
|
||||||
<?php wp_body_open(); ?>
|
|
||||||
<a class="skip-link screen-reader-text" href="#main"><?php esc_html_e( 'Hopp til innhald', 'super-simple-wp-theme' ); ?></a>
|
|
||||||
<header class="site-header">
|
|
||||||
<nav class="site-nav" aria-label="<?php esc_attr_e( 'Hovudmeny', 'super-simple-wp-theme' ); ?>">
|
|
||||||
<div id="nav-grid">
|
|
||||||
<div class="logo">
|
|
||||||
<a href="<?php echo esc_url( home_url( '/' ) ); ?>">
|
|
||||||
<?php if ( $sswt_site_icon ) : ?>
|
|
||||||
<img src="<?php echo esc_url( $sswt_site_icon ); ?>" alt="">
|
|
||||||
<?php endif; ?>
|
|
||||||
<span><?php bloginfo( 'name' ); ?></span>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
<?php
|
|
||||||
wp_nav_menu(
|
|
||||||
array(
|
|
||||||
'theme_location' => 'header-menu',
|
|
||||||
'container_class' => 'header-menu-class',
|
|
||||||
)
|
|
||||||
);
|
|
||||||
?>
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
</header>
|
|
||||||
<main id="main" class="site-main">
|
|
||||||
Reference in new issue
Block a user