-
Notifications
You must be signed in to change notification settings - Fork 18
/
content-page.php
31 lines (30 loc) · 1.02 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
<?php
/**
* The template used for displaying page content in page.php
*
* @package Quark
* @since Quark 1.0
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php if ( !is_front_page() ) { ?>
<header class="entry-header">
<h1 class="entry-title"><?php the_title(); ?></h1>
<?php if ( has_post_thumbnail() && !is_search() && !post_password_required() ) { ?>
<?php the_post_thumbnail( 'post_feature_full_width' ); ?>
<?php } ?>
</header>
<?php } ?>
<div class="entry-content">
<?php the_content(); ?>
<?php wp_link_pages( array(
'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'quark' ),
'after' => '</div>',
'link_before' => '<span class="page-numbers">',
'link_after' => '</span>'
) ); ?>
</div><!-- /.entry-content -->
<footer class="entry-meta">
<?php edit_post_link( esc_html__( 'Edit', 'quark' ) . ' <i class="fa fa-angle-right" aria-hidden="true"></i>', '<div class="edit-link">', '</div>' ); ?>
</footer><!-- /.entry-meta -->
</article><!-- /#post -->