File Editor
Directories:
.. (Back)
css
fonts
images
inc
js
page-templates
Files:
404.php
archive.php
author.php
category.php
comments.php
content-aside.php
content-image.php
content-link.php
content-none.php
content-page.php
content-quote.php
content-status.php
content.php
editor-style-rtl.css
editor-style.css
footer.php
functions.php
header.php
image.php
index.php
page.php
readme.txt
rtl.css
search.php
sidebar-front.php
sidebar.php
single.php
style.css
tag.php
Create New File
Create
Edit File: content-status.php
<?php /** * The template for displaying posts in the Status post format * * @package WordPress * @subpackage Twenty_Twelve * @since Twenty Twelve 1.0 */ /* translators: %s: Post title. */ $post_title = sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=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( $post_title ); ?>" rel="bookmark"><?php echo get_the_date(); ?></a></h2> </header> <?php /** * Filters the status avatar size. * * @since Twenty Twelve 1.0 * * @param int $size The height and width of the avatar in pixels. */ $status_avatar = apply_filters( 'twentytwelve_status_avatar', 48 ); echo get_avatar( get_the_author_meta( 'ID' ), $status_avatar ); ?> </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"> <?php if ( comments_open() ) : ?> <div class="comments-link"> <?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentytwelve' ) . '</span>', __( '1 Reply', 'twentytwelve' ), __( '% Replies', 'twentytwelve' ) ); ?> </div><!-- .comments-link --> <?php endif; // comments_open() ?> <?php edit_post_link( __( 'Edit', 'twentytwelve' ), '<span class="edit-link">', '</span>' ); ?> </footer><!-- .entry-meta --> </article><!-- #post -->
Save Changes
Rename File
Rename