-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsingle.php
48 lines (42 loc) · 1.6 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
<?php
/**
* Default Post Template
* Description: Post template with a content container and right sidebar.
*
* @package WordPress
* @subpackage iShouvik WP
*/
get_header(); ?>
<div class="row">
<div id="primary" class="site-main-content col-lg-8">
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?> class="site-main-content clearfix card">
<?php while (have_posts()) : the_post(); ?>
<header class="card-header">
<h1><?php the_title();?></h1>
<p class="meta">
<?php echo ishouvikwp_posted_on();?>
</p>
<p class="meta text-muted">
<small>
<?php echo ishouvik_categories_in(); ?> | <?php the_tags('<i class="fa fa-tags"></i> Tags: ', ', '); ?>
</small>
</p>
</header>
<?php if ( has_post_thumbnail() ): ?>
<p>
<?php echo the_post_thumbnail('large', array('class' => 'card-img-top img-fluid')); ?>
</p>
<?php endif; ?>
<div class="card-body">
<?php the_content(); ?>
</div>
<?php endwhile; ?>
<footer class="card-footer">
<?php comments_template(); ?>
<?php ishouvikwp_content_nav('nav-below'); ?>
</footer>
</article>
</div>
<?php get_sidebar('blog'); ?>
</div>
<?php get_footer(); ?>