-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.php
34 lines (22 loc) · 835 Bytes
/
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
<?php get_header(); ?>
<div class="main">
<?php if ( have_posts() ) :
while ( have_posts() ) : the_post(); ?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="entry-header">
<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
</div><!-- .entry-header -->
<div class="post-content">
<?php the_content(); ?>
<?php wp_link_pages(); ?>
</div><!-- .post-content -->
<?php edit_post_link( __( 'Edit', 'shiny-blog' ) ); ?>
<?php if ( comments_open() || get_comments_number() ) :
comments_template();
endif; ?>
</article><!-- #post-## -->
<?php endwhile; ?>
<?php endif; ?>
</div><!-- .main -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>