| Current Path : /home/pressec/www/presselib/wp-content/plugins/presselib-createurs/template/ |
| Current File : /home/pressec/www/presselib/wp-content/plugins/presselib-createurs/template/single-createur.php |
<?php
/*
Single Créateur template post type
*/
get_header('createurs'); ?>
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<section id="content">
<div class="debug">SINGLE CREATEUR</div>
<?php if ( have_posts() ) : ?>
<?php $i=0;
// Start the loop.
while ( have_posts() ) : the_post();
$i++;
get_template_part( 'content', "createur" );
// End the loop.
endwhile;
the_posts_pagination( array(
'prev_text' => "Page précédente",
'next_text' => "Page suivante",
'before_page_number' => '<span class="meta-nav screen-reader-text">' .'Page'. ' </span>',
) );
// If no content, include the "No posts found" template.
else :
get_template_part( 'content', 'none' );
endif;
?>
</section><!--
--><aside id="sidebar">
<?php get_sidebar('createurs'); ?>
</aside>
</main><!-- .site-main -->
</div><!-- .content-area -->
<?php get_footer('createurs'); ?>