INIT: Version de base du thème WP Theme SEN2 v1.0.0
This commit is contained in:
@@ -0,0 +1,56 @@
|
||||
<!DOCTYPE html>
|
||||
<html <?php language_attributes(); ?>>
|
||||
<head>
|
||||
<meta charset="<?php bloginfo('charset'); ?>">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;700&family=Montserrat:wght@300;400;600&display=swap" rel="stylesheet">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
|
||||
<?php wp_head(); ?>
|
||||
</head>
|
||||
<body <?php body_class(); ?>>
|
||||
<div class="site-wrapper">
|
||||
<!-- Menu horizontal centré en haut -->
|
||||
<nav class="main-navigation">
|
||||
<?php
|
||||
wp_nav_menu(array(
|
||||
'theme_location' => 'primary',
|
||||
'container' => false,
|
||||
'fallback_cb' => false,
|
||||
'depth' => 1
|
||||
));
|
||||
?>
|
||||
</nav>
|
||||
|
||||
<div class="site-container">
|
||||
<!-- Menu latéral gauche -->
|
||||
<aside class="sidebar">
|
||||
<header class="site-header">
|
||||
<h1 class="site-title">
|
||||
<a href="<?php echo home_url(); ?>"><?php bloginfo('name'); ?></a>
|
||||
</h1>
|
||||
<?php if (get_theme_mod('wp_theme_sen2_show_slogan', true)) : ?>
|
||||
<p class="site-slogan"><?php echo esc_html(get_theme_mod('wp_theme_sen2_slogan', 'Moins de bruit, plus d\'âme.')); ?></p>
|
||||
<?php endif; ?>
|
||||
</header>
|
||||
|
||||
<nav class="sidebar-navigation">
|
||||
<?php
|
||||
wp_nav_menu(array(
|
||||
'theme_location' => 'sidebar',
|
||||
'container' => false,
|
||||
'fallback_cb' => false,
|
||||
'depth' => 1
|
||||
));
|
||||
?>
|
||||
</nav>
|
||||
|
||||
<footer class="site-footer">
|
||||
<div class="social-icons">
|
||||
<a href="#" class="instagram-icon"><i class="fab fa-instagram"></i></a>
|
||||
</div>
|
||||
<p class="copyright">© <?php echo date('Y'); ?> <?php bloginfo('name'); ?></p>
|
||||
</footer>
|
||||
</aside>
|
||||
|
||||
<!-- Contenu principal -->
|
||||
<main class="main-content">
|
||||
Reference in New Issue
Block a user