forked from Codeinwp/codeinwp-blog
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpage.php
More file actions
31 lines (26 loc) · 774 Bytes
/
Copy pathpage.php
File metadata and controls
31 lines (26 loc) · 774 Bytes
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
<?php
/**
* The template for displaying all pages
*
* @package CWP
*/
get_header(); ?>
<main id="content" role="main">
<?php
// Start the Loop.
while ( have_posts() ) : the_post(); ?>
<div id="page-<?php the_ID(); ?>" <?php post_class(); ?>>
<h3><a><?php the_title(); ?></a></h3>
<div class="metadata">
<?php cwp_entry_meta(); ?>
<?php comments_number( '- No Comments', '- One Comment', '- % Comments' ); ?>
</div><!--/metadata-->
<div class="entry-content excerpt">
<?php the_content(); ?>
<?php wp_link_pages('before=<div class="page-links">&after=</div>'); ?>
</div><!--/entry-content-->
</div><!--/post-->
<?php endwhile; ?>
</main><!--/content-->
<?php get_sidebar(); ?>
<?php get_footer(); ?>