revert FEAT: Ajout d'un menu secondaire à dgauche vec liens Contact et À propos
This commit is contained in:
2025-10-08 17:48:06 +02:00
parent 87ebec0e5f
commit 12a449f64c
3 changed files with 11 additions and 122 deletions
+10 -26
View File
@@ -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>