-
Notifications
You must be signed in to change notification settings - Fork 0
/
content-page.php
39 lines (37 loc) · 1.16 KB
/
content-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
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
/**
* The template used for displaying page content in page.php
*
* @package Ryu
* @subpackage SabinesRyu
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="entry-wrap wrap clear">
<?php
if ( '' != get_the_post_thumbnail() ) :
the_post_thumbnail( 'ryu-featured-thumbnail' );
endif;
?>
<header class="entry-header">
<?php the_title( '<h1 class="entry-title h-sans">', '</h1>' ); ?>
<div class="entry-meta">
<?php if (get_field('page_subtitle')) : ?>
<span class="page-subtitle"><?php echo get_field('page_subtitle'); ?></span>
<?php endif ?>
<?php edit_post_link( __( 'Edit', 'ryu' ), '<span class="edit-link">', '</span>' ); ?>
</div><!-- .entry-meta -->
</header><!-- .entry-header -->
<div class="entry-content clear">
<?php the_content(); ?>
<?php
wp_link_pages( array(
'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'ryu' ) . '</span>',
'after' => '</div>',
'link_before' => '<span>',
'link_after' => '</span>',
) );
?>
</div><!-- .entry-content -->
</div><!-- .entry-wrap -->
</article><!-- #post-## -->