a7151bc80a
git-svn-id: https://develop.svn.wordpress.org/trunk@21723 602fd350-edb4-49c9-b593-d223f7449a82
24 lines
940 B
PHP
24 lines
940 B
PHP
<?php
|
|
/**
|
|
* The template for displaying posts in the Image post format
|
|
*
|
|
* @package WordPress
|
|
* @subpackage Twenty_Twelve
|
|
* @since Twenty Twelve 1.0
|
|
*/
|
|
?>
|
|
|
|
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
|
<div class="entry-content">
|
|
<?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentytwelve' ) ); ?>
|
|
</div><!-- .entry-content -->
|
|
|
|
<footer class="entry-meta">
|
|
<a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark">
|
|
<h1><?php the_title(); ?></h1>
|
|
<h2><time class="entry-date" datetime="<?php echo esc_attr( get_the_date( 'c' ) ); ?>" pubdate><?php echo get_the_date(); ?></time></h2>
|
|
<?php edit_post_link( __( 'Edit', 'twentytwelve' ), '<span class="edit-link">', '</span>' ); ?>
|
|
</a>
|
|
</footer><!-- .entry-meta -->
|
|
</article><!-- #post -->
|