-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpage.php
27 lines (26 loc) · 1.18 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
<?php get_header() ?>
<div class="single post-lorem-ipsum">
<div class="container">
<div class="row">
<div class="col-md-12 primary">
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<article itemscope itemtype="http://schema.org/BlogPosting">
<header>
<figure><?php the_post_thumbnail( 'full', array( 'class' => 'img-responsive' ) ); ?></figure>
<h2 class="post-title" itemprop="headline"><?php the_title(); ?></h2>
<p class="metadata">
<?php _e( "Published by:", "commcitytheme" ); ?> <a href="" itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name"><?php the_author(); ?></span></a> <?php _e( "at", "commcitytheme" ); ?> <span itemprop="datePublished" content="<?php the_date( 'y-m-d' ); ?>"><?php the_date( 'd/m/Y' ); ?></span> <?php _e( "in category", "commcitytheme" ); ?> <?php the_category( ', ' ); ?>
</p>
</header>
<div class="content" itemprop="articleBody">
<?php the_content(); ?>
</div>
</article>
<?php comments_template(); ?>
<?php endwhile; ?>
<!-- post navigation -->
<?php else: ?>
<!-- no posts found -->
<?php endif; ?>
</div>
<?php get_footer(); ?>