-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.php
45 lines (25 loc) · 1.19 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
36
37
38
39
40
41
42
43
44
45
<?php get_header(); ?>
<div id="content">
<div id="inner-content">
<main id="main" role="main" itemscope itemprop="mainContentOfPage" itemtype="http://schema.org/Blog">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<article id="post-<?php the_ID(); ?>" <?php post_class( 'foo' ); ?> role="article" itemscope itemtype="http://schema.org/BlogPosting">
<header>
<h1 itemprop="headline"><?php the_title(); ?></h1>
<p>
<?php printf( __( 'Posted', 'bonestheme').' <time class="updated" datetime="%1$s" itemprop="datePublished">%2$s</time> '.__( 'by', 'bonestheme').' <span class="author">%3$s</span>', get_the_time('Y-m-j'), get_the_time(get_option('date_format')), get_the_author_link( get_the_author_meta( 'ID' ) )); ?>
</p>
</header> <?php // end article header ?>
<section itemprop="articleBody">
<?php the_content(); ?>
</section> <?php // end article section ?>
<footer>
</footer>
<?php comments_template(); ?>
</article>
<?php endwhile; endif; ?>
</main>
<?php // get_sidebar(); ?>
</div>
</div>
<?php get_footer(); ?>