38 lines
1.1 KiB
PHP
38 lines
1.1 KiB
PHP
|
<?php
|
||
|
/**
|
||
|
* The template used for displaying page content in page.php
|
||
|
*
|
||
|
* @package Canard
|
||
|
*/
|
||
|
?>
|
||
|
|
||
|
<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( 'canard-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:', 'canard' ) . '</span>',
|
||
|
'after' => '</div>',
|
||
|
'link_before' => '<span>',
|
||
|
'link_after' => '</span>',
|
||
|
'pagelink' => '<span class="screen-reader-text">' . __( 'Page', 'canard' ) . ' </span>%',
|
||
|
'separator' => '<span class="screen-reader-text">, </span>',
|
||
|
) );
|
||
|
?>
|
||
|
</div><!-- .entry-content -->
|
||
|
|
||
|
<footer class="entry-footer">
|
||
|
<?php edit_post_link( __( 'Edit', 'canard' ), '<span class="edit-link">', '</span>' ); ?>
|
||
|
</footer><!-- .entry-footer -->
|
||
|
</article><!-- #post-## -->
|