[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Template for displaying content featured in the showcase.php page template 4 * 5 * @package WordPress 6 * @subpackage Twenty_Eleven 7 * @since Twenty Eleven 1.0 8 */ 9 10 global $feature_class; 11 ?> 12 <article id="post-<?php the_ID(); ?>" <?php post_class( $feature_class ); ?>> 13 <header class="entry-header"> 14 <h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2> 15 16 <div class="entry-meta"> 17 <?php twentyeleven_posted_on(); ?> 18 </div><!-- .entry-meta --> 19 </header><!-- .entry-header --> 20 21 <div class="entry-summary"> 22 <?php the_excerpt(); ?> 23 <?php 24 wp_link_pages( 25 array( 26 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 27 'after' => '</div>', 28 ) 29 ); 30 ?> 31 </div><!-- .entry-content --> 32 33 <footer class="entry-meta"> 34 <?php 35 $tags_list = get_the_tag_list( '', wp_get_list_item_separator() ); 36 37 if ( $tags_list && ! is_wp_error( $tags_list ) ) { 38 /* translators: 1: Category list, 2: Tag list, 3: Post permalink, 4: Post title. */ 39 $utility_text = __( 'This entry was posted in %1$s and tagged %2$s. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyeleven' ); 40 } else { 41 /* translators: 1: Category list, 3: Post permalink, 4: Post title. */ 42 $utility_text = __( 'This entry was posted in %1$s. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyeleven' ); 43 } 44 45 printf( 46 $utility_text, 47 get_the_category_list( wp_get_list_item_separator() ), 48 $tags_list, 49 esc_url( get_permalink() ), 50 the_title_attribute( 'echo=0' ) 51 ); 52 ?> 53 54 <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?> 55 </footer><!-- .entry-meta --> 56 </article><!-- #post-<?php the_ID(); ?> -->
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated : Sun Dec 22 08:20:01 2024 | Cross-referenced by PHPXref |