revert 8b7a042189
revert FEAT: Ajout d'un menu secondaire à dgauche vec liens Contact et À propos
This commit is contained in:
+10
-26
@@ -9,31 +9,15 @@
|
||||
</head>
|
||||
<body <?php body_class(); ?>>
|
||||
<header class="container">
|
||||
<div class="site-header">
|
||||
<!-- Menu secondaire à gauche -->
|
||||
<nav class="secondary-navigation">
|
||||
<?php
|
||||
wp_nav_menu(array(
|
||||
'theme_location' => 'secondary',
|
||||
'fallback_cb' => false,
|
||||
'depth' => 1
|
||||
));
|
||||
?>
|
||||
</nav>
|
||||
|
||||
<!-- Logo au centre -->
|
||||
<div class="site-branding">
|
||||
<h1 class="site-title">
|
||||
<a href="<?php echo home_url(); ?>"><?php bloginfo('name'); ?></a>
|
||||
<?php if (get_theme_mod('wp_theme_sen2_show_slogan', true)) : ?>
|
||||
<span class="site-slogan"><?php echo esc_html(get_theme_mod('wp_theme_sen2_slogan', 'Photographier l\'humain, révéler l\'essentiel.')); ?></span>
|
||||
<?php endif; ?>
|
||||
</h1>
|
||||
</div>
|
||||
|
||||
<!-- Menu principal à droite -->
|
||||
<nav class="main-navigation">
|
||||
<?php wp_nav_menu(array('theme_location' => 'primary')); ?>
|
||||
</nav>
|
||||
<div class="site-branding">
|
||||
<h1 class="site-title">
|
||||
<a href="<?php echo home_url(); ?>"><?php bloginfo('name'); ?></a>
|
||||
<?php if (get_theme_mod('wp_theme_sen2_show_slogan', true)) : ?>
|
||||
<span class="site-slogan"><?php echo esc_html(get_theme_mod('wp_theme_sen2_slogan', 'Photographier l\'humain, révéler l\'essentiel.')); ?></span>
|
||||
<?php endif; ?>
|
||||
</h1>
|
||||
</div>
|
||||
<nav class="main-navigation">
|
||||
<?php wp_nav_menu(array('theme_location' => 'primary')); ?>
|
||||
</nav>
|
||||
</header>
|
||||
Reference in New Issue
Block a user