1er commit
WP theme
This commit is contained in:
33
content-status.php
Normal file
33
content-status.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
/**
|
||||
* The template for displaying posts in the Status post format
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twelve
|
||||
* @since Twenty Twelve 1.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<div class="entry-header">
|
||||
<header>
|
||||
<h1><?php the_author(); ?></h1>
|
||||
<h2><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php echo get_the_date(); ?></a>
|
||||
<?php edit_post_link( __( 'Edit', 'twentytwelve' ), '(<span class="edit-link">', '</span>)' ); ?></h2>
|
||||
</header>
|
||||
<?php echo get_avatar( get_the_author_meta( 'ID' ), apply_filters( 'twentytwelve_status_avatar', '48' ) ); ?>
|
||||
<?php if ( comments_open() ) : ?>
|
||||
<span class="thecomment">
|
||||
<?php comments_popup_link( '<span>' . '0' . '</span>', '1', '%' ); ?>
|
||||
<?php //comments_popup_link( '<span>' . __( '0', 'twentytwelve' ) . '</span>', __( '1', 'twentytwelve' ), __( '%', 'twentytwelve' ) ); ?>
|
||||
</span>
|
||||
<?php endif; // comments_open() ?>
|
||||
</div><!-- .entry-header -->
|
||||
|
||||
<div class="entry-content">
|
||||
<?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentytwelve' ) ); ?>
|
||||
</div><!-- .entry-content -->
|
||||
|
||||
<footer class="entry-meta">
|
||||
</footer><!-- .entry-meta -->
|
||||
</article><!-- #post -->
|
||||
Reference in New Issue
Block a user