1er commit
WP theme
This commit is contained in:
28
content-aside.php
Normal file
28
content-aside.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?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 -->
|
||||
Reference in New Issue
Block a user