-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.php
40 lines (27 loc) · 998 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
35
36
37
38
39
40
<?php get_header(); ?>
<main id="content" role="main" itemprop="mainContentOfPage">
<div class="wrap clearfix">
<?php while ( have_posts() ) : the_post(); ?>
<!-- Article -->
<article id="post-<?php the_ID(); ?>" <?php post_class( 'clearfix' ); ?> itemscope="itemscope" itemtype="http://schema.org/CreativeWork">
<header class="entry-header" itemscope="itemscope" itemtype="http://schema.org/WPHeader">
<h1 class="entry-title" itemprop="headline"><?php the_title(); ?></h1>
<?php if ( has_excerpt() ) : ?>
<div class="entry-excerpt" itemprop="text">
<?php the_excerpt(); ?>
</div>
<?php endif; ?>
<?php if ( has_post_thumbnail() ) : ?>
<div class="entry-image">
<?php the_post_thumbnail( 'l' ); ?>
</div>
<?php endif; ?>
</header>
<div class="entry-content" itemprop="text">
<?php the_content(); ?>
</div>
</article>
<?php endwhile; ?>
</div>
</main>
<?php get_footer(); ?>