[ Index ] |
PHP Cross Reference of WordPress |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * The template for displaying posts in the Aside post format 4 * 5 * @package WordPress 6 * @subpackage Twenty_Twelve 7 * @since Twenty Twelve 1.0 8 */ 9 10 /* translators: %s: Post title. */ 11 $post_title = sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ); 12 ?> 13 14 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 15 <div class="aside"> 16 <h1 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h1> 17 <div class="entry-content"> 18 <?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentytwelve' ) ); ?> 19 </div><!-- .entry-content --> 20 </div><!-- .aside --> 21 22 <footer class="entry-meta"> 23 <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( $post_title ); ?>" rel="bookmark"><?php echo get_the_date(); ?></a> 24 <?php if ( comments_open() ) : ?> 25 <div class="comments-link"> 26 <?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentytwelve' ) . '</span>', __( '1 Reply', 'twentytwelve' ), __( '% Replies', 'twentytwelve' ) ); ?> 27 </div><!-- .comments-link --> 28 <?php endif; // comments_open() ?> 29 <?php edit_post_link( __( 'Edit', 'twentytwelve' ), '<span class="edit-link">', '</span>' ); ?> 30 </footer><!-- .entry-meta --> 31 </article><!-- #post -->
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Sun Dec 22 01:00:02 2024 | Cross-referenced by PHPXref 0.7.1 |