- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfourteen/inc/widgets.php
r42749 r43571 32 32 public function __construct() { 33 33 parent::__construct( 34 'widget_twentyfourteen_ephemera', __( 'Twenty Fourteen Ephemera', 'twentyfourteen' ), array( 34 'widget_twentyfourteen_ephemera', 35 __( 'Twenty Fourteen Ephemera', 'twentyfourteen' ), 36 array( 35 37 'classname' => 'widget_twentyfourteen_ephemera', 36 38 'description' => __( 'Use this widget to list your recent Aside, Quote, Video, Audio, Image, Gallery, and Link posts.', 'twentyfourteen' ), … … 141 143 $tmp_more = $GLOBALS['more']; 142 144 $GLOBALS['more'] = 0; 143 ?>145 ?> 144 146 <li> 145 147 <article <?php post_class(); ?>> … … 182 184 183 185 if ( ! empty( $post_thumbnail ) ) : 184 ?>186 ?> 185 187 <a href="<?php the_permalink(); ?>"><?php echo $post_thumbnail; ?></a> 186 188 <?php endif; ?> 187 189 <p class="wp-caption-text"> 188 <?php189 printf(190 _n( 'This gallery contains <a href="%1$s" rel="bookmark">%2$s photo</a>.', 'This gallery contains <a href="%1$s" rel="bookmark">%2$s photos</a>.', $total_images, 'twentyfourteen' ),191 esc_url( get_permalink() ),192 number_format_i18n( $total_images )193 );194 ?>190 <?php 191 printf( 192 _n( 'This gallery contains <a href="%1$s" rel="bookmark">%2$s photo</a>.', 'This gallery contains <a href="%1$s" rel="bookmark">%2$s photos</a>.', $total_images, 'twentyfourteen' ), 193 esc_url( get_permalink() ), 194 number_format_i18n( $total_images ) 195 ); 196 ?> 195 197 </p> 196 <?php198 <?php 197 199 endif; 198 200 … … 200 202 the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyfourteen' ) ); 201 203 endif; 202 ?>204 ?> 203 205 </div><!-- .entry-content --> 204 206
Note: See TracChangeset
for help on using the changeset viewer.