-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsingle.php
60 lines (43 loc) · 1.17 KB
/
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
50
51
52
53
54
55
56
57
58
59
60
<?php
/**
* The template for displaying single posts
*
* @package CardanoPress Bootstrap
* @since 0.1.0
*/
get_header();
?>
<div class="container">
<div class="content-sidebar row">
<main class="<?php echo cardanopress_bootstrap_class( 'content' ); ?>">
<?php while ( have_posts() ) : ?>
<?php the_post(); ?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php if ( has_post_thumbnail() ) : ?>
<div class="entry-featured">
<?php the_post_thumbnail(); ?>
</div>
<?php endif; ?>
<div class="entry-wrap">
<header class="entry-header">
<h1 class="entry-title"><?php the_title(); ?></h1>
<div class="entry-meta">
<time><?php the_date(); ?></time>
<span><?php the_author(); ?></span>
</div>
</header>
<div class="entry-content">
<?php the_content(); ?>
</div>
<footer class="entry-footer">
<?php the_tags(); ?>
</footer>
</div>
</article><!-- #post-<?php the_ID(); ?> -->
<?php endwhile; ?>
</main><!-- .content -->
<?php get_sidebar(); ?>
</div><!-- .content-sidebar -->
</div><!-- .container -->
<?php
get_footer();