-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage.php
90 lines (72 loc) · 2.46 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
<?php get_header();
?>
<section id="page-title">
<div class="container clearfix">
<h1><?php single_post_title(); ?></h1>
<span><?php
if ( function_exists('the_subtitle') ) :
the_subtitle();
endif;
?>
</span>
</div>
</section>
<!-- 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;
$author_URL = get_author_posts_url( $author_ID );
?>
<div class="single-post nobottommargin">
<!-- Single Post
============================================= -->
<div class="entry clearfix">
<!-- Entry Image
============================================= -->
<?php if ( has_post_thumbnail() ) : ?>
<div class="entry-image">
<a href="#">
<?php the_post_thumbnail(); ?>
</a>
<?php endif; ?>
</div>
<!-- Entry Content
============================================= -->
<div class="entry-content notopmargin">
<?php
the_content();
$defaults = array(
'before' => '<p class="text-center">' . __( 'Pages: ', 'mytheme' ),
'after' => '</p >'
);
wp_link_pages( $defaults );
?>
<!-- Post Single - Content End -->
<div class="clear"></div>
</div>
</div><!-- .entry end -->
<div class="line"></div>
<?php
if ( comments_open() || get_comments_number() ) {
comments_template();
}
?>
</div>
<?php
endwhile;
?>
</div><!-- .postcontent end -->
<?php get_sidebar(); ?>
</div>
</div>
</section><!-- #content end -->
<?php get_footer();