0
|
1 |
<?php |
|
2 |
/** |
|
3 |
* The template for displaying posts in the Image post format |
|
4 |
* |
|
5 |
* @package WordPress |
|
6 |
* @subpackage Twenty_Twelve |
|
7 |
* @since Twenty Twelve 1.0 |
|
8 |
*/ |
|
9 |
?> |
|
10 |
|
|
11 |
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> |
|
12 |
<div class="entry-content"> |
|
13 |
<?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentytwelve' ) ); ?> |
|
14 |
</div><!-- .entry-content --> |
|
15 |
|
|
16 |
<footer class="entry-meta"> |
|
17 |
<a href="<?php the_permalink(); ?>" rel="bookmark"> |
|
18 |
<h1><?php the_title(); ?></h1> |
|
19 |
<h2><time class="entry-date" datetime="<?php echo esc_attr( get_the_date( 'c' ) ); ?>"><?php echo get_the_date(); ?></time></h2> |
|
20 |
</a> |
|
21 |
<?php if ( comments_open() ) : ?> |
|
22 |
<div class="comments-link"> |
|
23 |
<?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentytwelve' ) . '</span>', __( '1 Reply', 'twentytwelve' ), __( '% Replies', 'twentytwelve' ) ); ?> |
|
24 |
</div><!-- .comments-link --> |
|
25 |
<?php endif; // comments_open() ?> |
|
26 |
<?php edit_post_link( __( 'Edit', 'twentytwelve' ), '<span class="edit-link">', '</span>' ); ?> |
|
27 |
</footer><!-- .entry-meta --> |
|
28 |
</article><!-- #post --> |