| [ Index ] |
PHP Cross Reference of WordPress |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * The template for displaying posts in the Status Post Format on index and archive pages 4 * 5 * Learn more: http://codex.wordpress.org/Post_Formats 6 * 7 * @package WordPress 8 * @subpackage Twenty_Eleven 9 */ 10 ?> 11 12 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 13 <header class="entry-header"> 14 <hgroup> 15 <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2> 16 <h3 class="entry-format"><?php _e( 'Status', 'twentyeleven' ); ?></h3> 17 </hgroup> 18 19 <?php if ( comments_open() && ! post_password_required() ) : ?> 20 <div class="comments-link"> 21 <?php comments_popup_link( '<span class="leave-reply">' . __( 'Reply', 'twentyeleven' ) . '</span>', _x( '1', 'comments number', 'twentyeleven' ), _x( '%', 'comments number', 'twentyeleven' ) ); ?> 22 </div> 23 <?php endif; ?> 24 </header><!-- .entry-header --> 25 26 <?php if ( is_search() ) : // Only display Excerpts for Search ?> 27 <div class="entry-summary"> 28 <?php the_excerpt(); ?> 29 </div><!-- .entry-summary --> 30 <?php else : ?> 31 <div class="entry-content"> 32 <div class="avatar"><?php echo get_avatar( get_the_author_meta( 'ID' ), apply_filters( 'twentyeleven_status_avatar', '65' ) ); ?></div> 33 34 <?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyeleven' ) ); ?> 35 <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?> 36 </div><!-- .entry-content --> 37 <?php endif; ?> 38 39 <footer class="entry-meta"> 40 <?php twentyeleven_posted_on(); ?> 41 <?php if ( comments_open() ) : ?> 42 <span class="sep"> | </span> 43 <span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span> 44 <?php endif; ?> 45 <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?> 46 </footer><!-- #entry-meta --> 47 </article><!-- #post-<?php the_ID(); ?> -->
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Fri May 25 03:56:23 2012 | Hosted by follow the white rabbit. |