46 lines
944 B
PHP
46 lines
944 B
PHP
<?php
|
|
/**
|
|
* The template for displaying all single posts and attachments
|
|
*
|
|
* @package WordPress
|
|
* @subpackage Twenty_Fifteen
|
|
* @since Twenty Fifteen 1.0
|
|
*/
|
|
|
|
get_header();
|
|
|
|
while ( have_posts() ) : the_post(); ?>
|
|
|
|
<div class="template un content">
|
|
|
|
<div class="left">
|
|
<!-- <img src="imgs/engagements.jpg" alt="Volailles Crues" /> -->
|
|
<?php
|
|
if ( has_post_thumbnail() ) {
|
|
the_post_thumbnail('full');
|
|
}
|
|
?>
|
|
</div>
|
|
|
|
<div class="right">
|
|
<div class="header"><a href="<?php the_permalink(58); ?>">Retour</a><h1><?php the_title(); ?></h1></div>
|
|
<?php
|
|
the_content();
|
|
the_post_navigation( array(
|
|
'next_text' =>
|
|
'<span class="post-title">%title</span>'.
|
|
'<span class="screen-reader-text">>></span> ',
|
|
'prev_text' =>
|
|
'<span class="screen-reader-text"><<</span> ' .
|
|
'<span class="post-title">%title</span>',
|
|
) );
|
|
?>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
<?php
|
|
// End the loop.
|
|
endwhile;
|
|
|
|
get_footer(); ?>
|