-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.php
113 lines (84 loc) · 2.99 KB
/
page.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<?php
get_header();
?>
<!-- Page Title
============================================= -->
<section id="page-title">
<div class="container clearfix">
<h1>
<?php single_post_title(); ?>
</h1>
<span>
<?php
if (function_exists('the_subtitle')) {
the_subtitle();
}
?>
</span>
</div>
</section><!-- #page-title end -->
<!-- Content
============================================= -->
<section id="content">
<div class="content-wrap">
<div class="container clearfix">
<!-- Post Content
============================================= -->
<div class="postcontent nobottommargin clearfix">
<?php
while ( have_posts() ) :
the_post();
global $post;
$author_id = $post->post_author;
?>
<div class="single-post nobottommargin">
<!-- Single Post
============================================= -->
<div class="entry clearfix">
<!-- Entry Image
============================================= -->
<div class="entry-image">
<a href="<?php the_permalink(); ?>">
<?php
the_post_thumbnail(
'full'
);
?>
</a>
</div><!-- .entry-image end -->
<!-- Entry Content
============================================= -->
<div class="entry-content notopmargin">
<?php the_content(); ?>
<?php wp_link_pages(
array(
'before' => '<div class="page-links text-center">' . __( 'Pages:', 'bodjack' ),
'after' => '</div>',
)
); ?>
<!-- Post Single - Content End -->
<div class="clear"></div>
</div>
</div><!-- .entry end -->
<!-- Comments
============================================= -->
<?php
if ( comments_open() || get_comments_number() ) :
comments_template();
endif;
?>
<!-- #comments end -->
</div>
</div><!-- .postcontent end -->
<?php
endwhile;
?>
<!-- Sidebar
============================================= -->
<?php get_sidebar(); ?>
<!-- .sidebar end -->
</div>
</div>
</div>
</section><!-- #content end -->
<?php get_footer(); ?>