WordPress_MxDev/single.php
2025-08-16 20:29:04 -04:00

47 lines
1.3 KiB
PHP

<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo('charset'); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MxDev</title>
<?php wp_head(); // Crucial: Allows plugins to add scripts and styles ?>
</head>
<body <?php body_class(); ?>></body>
<header>
<?php
if (function_exists('the_custom_logo')) {
the_custom_logo();
}
?>
<br>
<h3>Thème WordPress par mikx. Créé avec l'aide de Gemini.</h3><br>
<h3>Pour me rejoindre</h3>
<h3><a href="https://www.facebook.com/groups/2141742079467131" target="_blank">Facebook</a></h3>
<h3><a href="http://discord.mxg.ovh" target="_blank">Discord</a></h3>
</header>
<br>
<?php
// Start the Loop.
while (have_posts()):
the_post();
/*
* This is the key part. It often includes a template part
* from another file (like content-single.php) to keep things organized.
*/
get_template_part('content', 'single');
// If comments are open or we have at least one comment, load up the comment template.
if (comments_open() || get_comments_number()) {
comments_template();
}
endwhile; // End the Loop.
?>
</body>
</html>