-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsingle.php
More file actions
38 lines (35 loc) · 1.13 KB
/
Copy pathsingle.php
File metadata and controls
38 lines (35 loc) · 1.13 KB
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
<?php get_header(); ?>
<section class="blog-single container mx-auto mt-5 mb-5">
<?php if (have_posts()):
while (have_posts()):
the_post(); ?>
<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
<section class="row">
<div class="content col-md-8">
<div class="">
<h1 class="main-heading">
<?php the_title(); ?>
</h1>
<?php include(TEMPLATEPATH . '/inc/meta.php'); ?>
<div class="entry">
<?php if (has_post_thumbnail()) { ?>
<div class="featured-image">
<?php the_post_thumbnail('single-post-thumbnail'); ?>
</div>
<?php } ?>
<?php the_content(); ?>
<?php wp_link_pages(array('before' => 'Pages: ', 'next_or_number' => 'number')); ?>
<div class="tags">
<?php the_tags(__('Tags:', 'text_domain'), '', '.'); ?>
</div>
</div>
</div>
<?php edit_post_link(__('Edit', 'text_domain'), '', '.'); ?>
<?php comments_template(); ?>
</div>
<aside class="col-md-4 blog_sidebar"> sidebar </aside>
</section>
</div>
<?php endwhile; endif; ?>
</section>
<?php get_footer(); ?>