Save
This commit is contained in:
@@ -23,39 +23,34 @@
|
||||
<body <?php body_class(); ?>>
|
||||
<?php wp_body_open(); ?>
|
||||
<div id="page" class="site">
|
||||
<a class="skip-link screen-reader-text" href="#primary"><?php esc_html_e( 'Skip to content', 'brpp-prawo-podatki' ); ?></a>
|
||||
<!-- <a class="skip-link screen-reader-text" href="#primary"><?php esc_html_e( 'Skip to content', 'brpp-prawo-podatki' ); ?></a> -->
|
||||
|
||||
<header id="masthead" class="site-header">
|
||||
<div class="container">
|
||||
<div class="site-branding">
|
||||
<?php
|
||||
the_custom_logo();
|
||||
if ( is_front_page() && is_home() ) :
|
||||
?>
|
||||
<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
|
||||
<?php
|
||||
else :
|
||||
?>
|
||||
<p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></p>
|
||||
<?php
|
||||
endif;
|
||||
$brpp_prawo_podatki_description = get_bloginfo( 'description', 'display' );
|
||||
if ( $brpp_prawo_podatki_description || is_customize_preview() ) :
|
||||
?>
|
||||
<p class="site-description"><?php echo $brpp_prawo_podatki_description; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></p>
|
||||
<?php endif; ?>
|
||||
</div><!-- .site-branding -->
|
||||
<div class="row">
|
||||
<div class="site-branding">
|
||||
<?php the_custom_logo(); ?>
|
||||
</div>
|
||||
|
||||
<nav id="site-navigation" class="main-navigation">
|
||||
<button class="menu-toggle" aria-controls="primary-menu" aria-expanded="false"><?php esc_html_e( 'Primary Menu', 'brpp-prawo-podatki' ); ?></button>
|
||||
<?php
|
||||
wp_nav_menu(
|
||||
array(
|
||||
'theme_location' => 'menu-1',
|
||||
'menu_id' => 'primary-menu',
|
||||
)
|
||||
);
|
||||
?>
|
||||
</nav><!-- #site-navigation -->
|
||||
<nav id="site-navigation" class="main-navigation">
|
||||
<button class="menu-toggle" aria-controls="primary-menu" aria-expanded="false"><?php esc_html_e( 'Menu', 'brpp-prawo-podatki' ); ?></button>
|
||||
<?php
|
||||
wp_nav_menu(
|
||||
array(
|
||||
'menu_id' => 'primary-menu',
|
||||
)
|
||||
);
|
||||
?>
|
||||
</nav>
|
||||
|
||||
<ul class="main-navigation-secondary">
|
||||
<li>
|
||||
<a href="#">BRPP Finanse</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#">Kontakt</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</header><!-- #masthead -->
|
||||
</header>
|
||||
|
||||
Reference in New Issue
Block a user