| [ 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 /** 11 * @global string $feature_class CSS classes for the article element. 12 */ 13 global $feature_class; 14 ?> 15 <article id="post-<?php the_ID(); ?>" <?php post_class( $feature_class ); ?>> 16 <header class="entry-header"> 17 <h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2> 18 19 <div class="entry-meta"> 20 <?php twentyeleven_posted_on(); ?> 21 </div><!-- .entry-meta --> 22 </header><!-- .entry-header --> 23 24 <div class="entry-summary"> 25 <?php the_excerpt(); ?> 26 <?php 27 wp_link_pages( 28 array( 29 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 30 'after' => '</div>', 31 ) 32 ); 33 ?> 34 </div><!-- .entry-content --> 35 36 <footer class="entry-meta"> 37 <?php 38 $tags_list = get_the_tag_list( '', wp_get_list_item_separator() ); 39 40 if ( $tags_list && ! is_wp_error( $tags_list ) ) { 41 /* translators: 1: Category list, 2: Tag list, 3: Post permalink, 4: Post title. */ 42 $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' ); 43 } else { 44 /* translators: 1: Category list, 3: Post permalink, 4: Post title. */ 45 $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' ); 46 } 47 48 printf( 49 $utility_text, 50 get_the_category_list( wp_get_list_item_separator() ), 51 $tags_list, 52 esc_url( get_permalink() ), 53 the_title_attribute( 'echo=0' ) 54 ); 55 ?> 56 57 <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?> 58 </footer><!-- .entry-meta --> 59 </article><!-- #post-<?php the_ID(); ?> -->
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated : Thu Jun 18 08:20:10 2026 | Cross-referenced by PHPXref |