-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcontent-page.php
More file actions
34 lines (28 loc) · 992 Bytes
/
content-page.php
File metadata and controls
34 lines (28 loc) · 992 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
28
29
30
31
32
33
34
<?php
/**
* The template used for displaying page content.
*
* @package WordPress
* @subpackage Pohutukawa
* @since Pohutukawa 1.0
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
<h1 class="entry-title"><?php the_title(); ?></h1>
</header><!-- end .entry-header -->
<div class="entry-content">
<?php the_content(); ?>
<?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'pohutukawa' ), 'after' => '</div>' ) ); ?>
</div><!-- end .entry-content -->
<footer class="entry-meta">
<ul>
<?php // Include Share-Btns
$options = get_option('pohutukawa_theme_options');
if( $options['share-pages'] ) : ?>
<?php get_template_part( 'share'); ?>
<?php endif; ?>
<li class="post-edit"><?php edit_post_link(__( 'Edit this post', 'pohutukawa') ); ?></li>
</ul>
</footer><!-- end .entry-meta -->
</article><!-- end post-<?php the_ID(); ?> -->