[ Index ] |
PHP Cross Reference of WordPress |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * The template for displaying posts in the Link post format 4 * 5 * @package WordPress 6 * @subpackage Twenty_Thirteen 7 * @since Twenty Thirteen 1.0 8 */ 9 ?> 10 11 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 12 <header class="entry-header"> 13 <h1 class="entry-title"> 14 <a href="<?php echo esc_url( twentythirteen_get_link_url() ); ?>"><?php the_title(); ?></a> 15 </h1> 16 17 <div class="entry-meta"> 18 <?php twentythirteen_entry_date(); ?> 19 <?php edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' ); ?> 20 </div><!-- .entry-meta --> 21 </header><!-- .entry-header --> 22 23 <div class="entry-content"> 24 <?php 25 the_content( 26 sprintf( 27 /* translators: %s: Post title. Only visible to screen readers. */ 28 __( 'Continue reading %s <span class="meta-nav">→</span>', 'twentythirteen' ), 29 the_title( '<span class="screen-reader-text">', '</span>', false ) 30 ) 31 ); 32 33 wp_link_pages( 34 array( 35 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentythirteen' ) . '</span>', 36 'after' => '</div>', 37 'link_before' => '<span>', 38 'link_after' => '</span>', 39 ) 40 ); 41 ?> 42 </div><!-- .entry-content --> 43 44 <?php if ( is_single() ) : ?> 45 <footer class="entry-meta"> 46 <?php twentythirteen_entry_meta(); ?> 47 <?php if ( get_the_author_meta( 'description' ) && is_multi_author() ) : ?> 48 <?php get_template_part( 'author-bio' ); ?> 49 <?php endif; ?> 50 </footer><!-- .entry-meta --> 51 <?php endif; // is_single() ?> 52 </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 |