-
Notifications
You must be signed in to change notification settings - Fork 1
/
page.php
89 lines (71 loc) · 1.84 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
<?php
/**
*
* BoldR Lite WordPress Theme by Iceable Themes | https://www.iceablethemes.com
*
* Copyright 2013-2021 Iceable Themes - https://www.iceablethemes.com
*
* Page Template
*
*/
get_header();
?>
<div class="container" id="main-content">
<h1 class="page-title"><?php the_title(); ?></h1>
<div id="page-container" <?php post_class( 'left with-sidebar' ); ?>>
<?php
if ( have_posts() ) :
while ( have_posts() ) :
the_post();
the_content();
wp_link_pages(
array(
'before' => '<br class="clear" /><div class="paged_nav">' . __( 'Pages:', 'boldr-lite' ),
'after' => '</div>',
'link_before' => '<span>',
'link_after' => '</span>',
'next_or_number' => 'number',
'nextpagelink' => __( 'Next page', 'boldr-lite' ),
'previouspagelink' => __( 'Previous page', 'boldr-lite' ),
'pagelink' => '%',
'echo' => 1,
)
);
?>
<br class="clear" />
<?php
edit_post_link(
__( 'Edit', 'boldr-lite' ),
'<span class="editlink">',
'</span><br class="clear" />'
);
?>
<br class="clear" />
<?php
// Display comments section only if comments are open or if there are comments already.
if ( comments_open() || '0' !== get_comments_number() ) :
?>
<div class="comments">
<?php
comments_template( '', true );
next_comments_link();
previous_comments_link();
?>
</div>
<?php
endif;
endwhile;
else :
?>
<h2><?php esc_html_e( 'Not Found', 'boldr-lite' ); ?></h2>
<p><?php esc_html_e( 'What you are looking for isn\'t here...', 'boldr-lite' ); ?></p>
<?php
endif;
?>
</div>
<div id="sidebar-container" class="right">
<ul id="sidebar"><?php dynamic_sidebar( 'sidebar' ); ?></ul>
</div>
</div>
<?php
get_footer();