Version 1.0.0 - Initialisation du thème Portfolio Photo
This commit is contained in:
@@ -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(); ?>
|
||||
Reference in New Issue
Block a user