-
Notifications
You must be signed in to change notification settings - Fork 0
/
single.php
26 lines (22 loc) · 881 Bytes
/
single.php
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
<?php get_header(); ?>
<main class="atypic-main">
<div class="atypic-single">
<h1 class="text-2xl text-center font-semibold underline decoration-dotted decoration-atypic-primary decoration-[5px]">
<?php the_title(); ?>
</h1>
<div>
<p class="text-lg text-atypic-primary italic font-semibold text-center"><?php echo get_the_date(); ?></p>
</div>
<div class="flex gap-3 py-1 text-black font-semibold flex-wrap justify-center">
<?php
// Styles : index.scss
$tags = get_the_tag_list("", "", "", get_the_ID());
echo $tags;
?>
</div>
<?php the_content(); ?>
<?php //This will call wpDiscuz insteed of classic comments template thanks to the plugin behavior.
comments_template(); ?>
</div>
</main>
<?php get_footer(); ?>