-
Notifications
You must be signed in to change notification settings - Fork 1
/
content-image.php
32 lines (26 loc) · 1.08 KB
/
content-image.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
<?php
/**
* The template for displaying posts in the Image Post Format
*
* @package WordPress
* @subpackage Pohutukawa
* @since Pohutukawa 1.0
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<footer class="entry-meta">
<ul>
<li class="post-date"><a href="<?php the_permalink(); ?>"><?php echo get_the_date(); ?></a></li>
<li class="post-comments"><?php comments_popup_link( __( '0 comments', 'pohutukawa' ), __( '1 comment', 'pohutukawa' ), __( '% comments', 'pohutukawa' ), 'comments-link', __( 'comments off', 'pohutukawa' ) ); ?></li>
<?php // Include Share-Btns
$options = get_option('pohutukawa_theme_options');
if( $options['share-posts'] ) : ?>
<?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 -->
<div class="entry-content">
<?php the_content( __( 'Continue Reading', 'pohutukawa' ) ); ?>
</div><!-- end entry-content -->
</article><!-- end post -<?php the_ID(); ?> -->