forked from wearerequired/required-foundation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
content-image.php
25 lines (24 loc) · 1.03 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
<?php
/**
* The template for displaying posts in the Image Post Format on index and archive pages
*
* Learn more: http://codex.wordpress.org/Post_Formats
*
* @package required+ Foundation
* @since required+ Foundation 0.1.0
*/
?>
<!-- START: content-image.php -->
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="entry-meta">
<?php required_posted_on(); ?>
<span class="label radius secondary"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'requiredfoundation' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php _ex( 'Image', 'Post format title', 'requiredfoundation' ); ?></a></span>
</div>
<div class="entry-content">
<?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'requiredfoundation' ) ); ?>
</div><!-- .entry-content -->
<footer class="entry-meta">
<?php get_template_part('entry-meta', get_post_format() ); ?>
</footer><!-- #entry-meta -->
</article><!-- #post -->
<!-- END: content-image.php -->