-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsingle.php
More file actions
52 lines (44 loc) · 1.51 KB
/
Copy pathsingle.php
File metadata and controls
52 lines (44 loc) · 1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?php
get_header();
if ( have_posts() ) : while ( have_posts() ) : the_post();
?>
<div class="section blog">
<div class="wrapper flex-container">
<div class="f3 blog__posts">
<div class="post">
<h1 class="blog__title"><?php the_title(); ?></h1>
<div class="post__meta">
<span class="post__date"><?php _e('Le', 'smoothie'); ?> <?php the_time('d F Y'); ?></span>
<span>•</span>
<span class="post__categories"><?php _e('Thème :', 'smoothie'); ?> <?php the_category(); ?></span>
<span>•</span>
<span class="post__tags"><?php _e('Mots-Clés :', 'smoothie'); ?> <?php the_tags('',' ',''); ?></span>
</div>
<div class="post__thumbnail">
<?php the_post_thumbnail(); ?>
</div>
<div class="post__content content">
<?php the_content(); ?>
</div>
</div>
<div class="flex-container singlenav">
<div class="f1 singlenav__next">
<?php _e('« Article suivant', 'smoothie'); ?><br>
<?php next_post_link('%link'); ?>
</div>
<div class="f1 singlenav__prev">
<?php _e('Article précédent »', 'smoothie'); ?><br>
<?php previous_post_link('%link'); ?>
</div>
</div>
</div>
<div class="f1 blog__sidebar">
<?php dynamic_sidebar('Blog'); ?>
</div>
</div>
</div>
<?php
endwhile;
endif;
get_footer();
?>