37 lines
1.1 KiB
PHP
37 lines
1.1 KiB
PHP
<?php
|
|
/**
|
|
* The template used for displaying page content in page.php
|
|
*
|
|
* @package Gazette
|
|
*/
|
|
?>
|
|
|
|
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
|
<header class="entry-header">
|
|
<?php if ( has_post_thumbnail() ) : ?>
|
|
<div class="post-thumbnail">
|
|
<?php the_post_thumbnail( 'gazette-single-thumbnail' ); ?>
|
|
</div>
|
|
<?php endif; ?>
|
|
|
|
<?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:', 'gazette' ) . '</span>',
|
|
'after' => '</div>',
|
|
'link_before' => '<span>',
|
|
'link_after' => '</span>',
|
|
'pagelink' => '<span class="screen-reader-text">' . __( 'Page', 'gazette' ) . ' </span>%',
|
|
'separator' => '<span class="screen-reader-text">, </span>',
|
|
) );
|
|
?>
|
|
</div><!-- .entry-content -->
|
|
|
|
<footer class="entry-footer">
|
|
<?php edit_post_link( __( 'Edit', 'gazette' ), '<span class="edit-link">', '</span>' ); ?>
|
|
</footer><!-- .entry-footer -->
|
|
</article><!-- #post-## -->
|