Files
twentytwelve-child/content-image.php
2016-10-20 19:45:17 +02:00

30 lines
1.0 KiB
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">&rarr;</span>', 'twentytwelve' ) ); ?>
</div><!-- .entry-content -->
<footer class="entry-meta">
<a href="<?php the_permalink(); ?>" rel="bookmark">
<h1><?php the_title(); ?></h1>
</a>
<?php date_auteur_meta_post_format(); ?>
<?php if ( comments_open() ) : ?>
<?php comments_popup_link( __('No comments yet', 'twentytwelve-child' ), __('1 comment', 'twentytwelve-child' ), __('% comments', 'twentytwelve-child' ), 'comments-link', __('Comments are off for this post', 'twentytwelve-child' )); ?>
<?php endif; // comments_open() ?>
<?php edit_post_link( __( 'Edit', 'twentytwelve' ), '(<span class="edit-link">', '</span>)' ); ?>
</footer><!-- .entry-meta -->
</article><!-- #post -->