forked from gramophone-wp/Gramophone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
single.php
49 lines (39 loc) · 922 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?php
/**
*******************************************************************************
* //single.php
*******************************************************************************
*
* The single post.
*
* CODEX REF
* https://codex.wordpress.org/Theme_Development#Single_Post_.28single.php
*
* @author
* @copyright
* @link
* @todo
* @license
* @since
* @version
**/
?>
<?php get_header(); ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<div class="jumbotron jumbotron-fluid">
<div class="container">
<h1><?php the_title(); ?></h1>
</div>
</div>
<div class="container">
<?php the_tags(); ?>
<?php get_template_part( 'formats/format', get_post_format() ); ?>
<hr>
<?php
if ( comments_open() || get_comments_number() ) {
comments_template();
}
?>
</div>
<?php endwhile; endif; ?>
<?php get_footer(); ?>