Version 1.0.0 - Initialisation du thème Portfolio Photo

This commit is contained in:
2025-10-08 12:49:35 +00:00
parent 936a35557c
commit 12e58c8ec7
10 changed files with 413 additions and 1 deletions
+15
View File
@@ -0,0 +1,15 @@
<?php get_header(); ?>
<main class="container">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<article>
<h1><?php the_title(); ?></h1>
<?php the_content(); ?>
<?php
if (class_exists('Envira_Gallery')) {
echo do_shortcode('[envira-gallery id="' . get_post_meta(get_the_ID(), 'envira_gallery', true) . '"]');
}
?>
</article>
<?php endwhile; endif; ?>
</main>
<?php get_footer(); ?>