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

29 lines
1.0 KiB
PHP

<?php
/**
* The template for displaying posts in the Aside post format
*
* @package WordPress
* @subpackage Twenty_Twelve
* @since Twenty Twelve 1.0
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="aside">
<h1 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
<div class="entry-content">
<?php the_content();
//the_content( __( ' ', 'twentytwelve' ) ); ?>
</div><!-- .entry-content -->
</div><!-- .aside -->
<footer class="entry-meta">
<?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 -->