-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontent-page.php
More file actions
32 lines (31 loc) · 1014 Bytes
/
content-page.php
File metadata and controls
32 lines (31 loc) · 1014 Bytes
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
<?php
/**
* The template used for displaying page content in page.php
*
* @package Generate
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?> itemtype="http://schema.org/CreativeWork"
itemscope="itemscope">
<div class="inside-article">
<?php do_action( 'generate_before_content' ); ?>
<header class="entry-header">
<h1 class="entry-title" itemprop="headline"><?php the_title(); ?></h1>
</header>
<!-- .entry-header -->
<?php do_action( 'generate_after_entry_header' ); ?>
<div class="entry-content" itemprop="text">
<?php the_content(); ?>
<?php
wp_link_pages( array(
'before' => '<div class="page-links">' . __( 'Pages:', 'generate' ),
'after' => '</div>',
) );
?>
</div>
<!-- .entry-content -->
<?php do_action( 'generate_after_content' ); ?>
<?php edit_post_link( __( 'Edit', 'generate' ), '<footer class="entry-meta"><span class="edit-link">', '</span></footer>' ); ?>
</div>
<!-- .inside-article -->
</article><!-- #post-## -->