-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpage.php
More file actions
executable file
·89 lines (66 loc) · 2.21 KB
/
Copy pathpage.php
File metadata and controls
executable file
·89 lines (66 loc) · 2.21 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
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
/**
* The template for displaying pages
*
* @since 1.0.0
* @package Coldbox
*/
get_header(); ?>
<?php
while ( have_posts() ) :
the_post();
?>
<main id="main" class="main-page" role="main">
<article id="post-<?php the_ID(); ?>" <?php post_class( 'main-inner' ); ?>>
<header class="title-box">
<div class="title-box-inner container">
<div class="breadcrumb"><?php cd_breadcrumb(); ?></div>
<h1 class="post-title">
<?php the_title(); ?>
</h1>
</div>
</header>
<div class="container-outer">
<div class="container">
<div id="content" class="content">
<div class="content-inner">
<div class="content-inside">
<?php if ( cd_pages_meta_date() || cd_pages_meta_author() || cd_pages_meta_comments_count() ) : ?>
<div class="post-meta content-box">
<?php if ( cd_pages_meta_date() ) : ?>
<span class="post-date"><?php echo get_the_date(); ?></span>
<?php endif; ?>
<?php if ( cd_pages_meta_author() ) : ?>
<span class="post-author"><?php the_author_posts_link(); ?></span>
<?php endif; ?>
<?php if ( cd_pages_meta_comments_count() && comments_open() && cd_is_post_single_comment() ) : ?>
<span class="post-comment"><?php comments_popup_link( '0', '1', '%' ); ?></span>
<?php endif; ?>
</div>
<?php endif; ?>
<div class="entry content-box">
<div class="entry-inner"><?php the_content(); ?></div>
<?php
$cd_defaults = array(
'before' => '<div class="post-pages">' . __( 'Pages:', 'coldbox' ),
'after' => '</div>',
'link_before' => '<span class="page-number">',
'link_after' => '</span>',
);
wp_link_pages( $cd_defaults );
?>
</div>
<?php
// Call the bottom parts.
apply_filters( 'cd_pages_bottom_contents', cd_pages_bottom_contents() );
?>
</div><!--/.content-inside-->
</div><!--/.content-inner-->
</div><!--/.content-->
<?php get_sidebar(); ?>
</div><!--/.container-->
</div><!--/.container-outer-->
</article>
</main>
<?php endwhile; ?>
<?php get_footer(); ?>