-
Notifications
You must be signed in to change notification settings - Fork 0
/
single.php
executable file
·34 lines (33 loc) · 1.05 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
<?php get_header();
pageBanner();
?>
<!--/ Section Blog-Single Star /-->
<section class="blog-wrapper sect-pt4" id="blog">
<div class="container">
<div class="row">
<div class="col-md-8">
<?php if(have_posts()) : ?>
<?php while(have_posts()) : the_post(); ?>
<?php get_template_part('template-parts/content', 'article',get_post_format()); ?>
<?php endwhile; ?>
<?php else : ?>
<p><?php __('No Posts Found'); ?></p>
<?php endif; ?>
<?php if(is_single()) : ?>
<?php comments_template(); ?>
<?php endif; ?>
</div>
<div class="col-md-4">
<?php if(!is_front_page()) : ?>
<div class="sidebar-content">
<?php if(is_active_sidebar('sidebar')): ?>
<?php dynamic_sidebar('sidebar'); ?>
<?php endif; ?>
</div>
<?php endif; ?>
</div>
</div>
</div>
</section>
<!--/ Section Blog-Single End /-->
<?php get_footer(); ?>