-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpage.php
26 lines (23 loc) · 884 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
<?php
/**
* The template for displaying all pages.
*
* This is the template that displays all pages by default.
* Please note that this is the WordPress construct of pages
* and that other 'pages' on your WordPress site will use a
* different template.
*
* @package dangopress
*/
get_header();?>
<?php if (have_posts()): while (have_posts()): the_post(); ?>
<article <?php post_class(); ?> id="post-<?php the_ID(); ?>" itemscope itemtype="http://schema.org/Article">
<meta itemprop="headline" content="<?php the_title(); ?>" />
<meta itemprop="author" content="<?php the_author(); ?>" />
<meta itemprop="datePublished" content="<?php echo date('Y-m-d', get_the_time('U')); ?>" />
<div class="entry-content" itemprop="articleBody"><?php the_content(); ?></div>
</article>
<?php endwhile; endif;
comments_template();
get_footer();
?>