-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsingle.php
More file actions
42 lines (29 loc) · 1020 Bytes
/
Copy pathsingle.php
File metadata and controls
42 lines (29 loc) · 1020 Bytes
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
<?php get_header(); ?>
<div class="content">
<div class="container">
<div class="row">
<div class="col-lg-3">
<div class="sticky-top" style="top: 50px;">
<?php dynamic_sidebar('blog-sidebar'); ?>
</div>
</div>
<div class="col-lg-9">
<?php if (has_post_thumbnail()): ?>
<img src="<?php the_post_thumbnail_url('post_image'); ?>" alt="<?php the_title(); ?>" class="img-fluid mb-5">
<?php endif; ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post-meta">
le <?php the_time('j F Y à H:i'); ?> par
<a href="<?php get_author_posts_url(get_the_author_meta('ID')); ?>">
<?php the_author();?>
</a>
</div>
<h1><?php the_title(); ?></h1>
<?php the_content(); ?>
<?php endwhile; endif; ?>
<?php the_tags(); ?>
</div>
</div>
</div>
</div>
<?php get_footer(); ?>