-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.php
35 lines (30 loc) · 1.03 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
<?php get_header(); ?>
<div class="w3-row w3-content">
<div class="w3-col l8">
<main id="content" role="main">
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<div class="w3-container w3-white w3-margin w3-padding-large w3-card">
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="header">
<h1 class="entry-title"><?php the_title(); ?></h1> <?php edit_post_link(); ?>
</header>
<div class="entry-content">
<?php if ( has_post_thumbnail() ) { the_post_thumbnail(); } ?>
<?php the_content(); ?>
<div class="entry-links"><?php wp_link_pages(); ?></div>
</div>
</article>
</div>
<?php if ( comments_open() && ! post_password_required() ) { ?>
<div class="w3-container w3-white w3-margin w3-padding-large w3-card">
<?php comments_template( '', true ); ?>
</div>
<?php } ?>
<?php endwhile; endif; ?>
</main>
</div>
<div class="w3-col l4">
<?php get_sidebar(); ?>
</div>
</div>
<?php get_footer(); ?>