-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathcontent-page.php
More file actions
27 lines (22 loc) · 971 Bytes
/
Copy pathcontent-page.php
File metadata and controls
27 lines (22 loc) · 971 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
<article id="post-<?php the_ID(); ?>">
<?php if ( has_post_thumbnail() ) : ?>
<?php the_post_thumbnail('post-image'); ?>
<?php endif; ?>
<header class="entry-header">
<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
</header><!-- .entry-header -->
<div class="entry-content">
<?php the_content(); ?>
<?php
wp_link_pages( array(
'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'material' ) . '</span>',
'after' => '</div>',
'link_before' => '<span>',
'link_after' => '</span>',
'pagelink' => '<span class="screen-reader-text">' . __( 'Page', 'material' ) . ' </span>%',
'separator' => '<span class="screen-reader-text">, </span>',
) );
?>
</div><!-- .entry-content -->
<?php edit_post_link( __( 'Edit', 'material' ), '<footer class="entry-footer"><span class="edit-link">', '</span></footer><!-- .entry-footer -->' ); ?>
</article><!-- #post-## -->