ldc-sbv/wp-content/themes/sbv/page-template1.php
2021-09-21 15:01:08 +02:00

31 lines
452 B
PHP

<?php
/*
* Template Name: Template 1
*/
get_header(); // inclut la page header.php
while ( have_posts() ) : the_post();
?>
<div class="template un content">
<div class="left">
<?php
if ( has_post_thumbnail() ) {
the_post_thumbnail('full');
}
?>
</div>
<div class="right">
<h1><?php the_title(); ?></h1>
<?php the_content(); ?>
</div>
</div>
<?php
// End the loop.
endwhile;
get_footer(); // inclut la page footer.php
?>