- Timestamp:
- 11/30/2017 11:09:33 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyeleven/content-quote.php
r25625 r42343 34 34 <div class="entry-content"> 35 35 <?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyeleven' ) ); ?> 36 <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?> 36 <?php 37 wp_link_pages( 38 array( 39 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 40 'after' => '</div>', 41 ) 42 ); 43 ?> 37 44 </div><!-- .entry-content --> 38 45 <?php endif; ?> … … 43 50 /* translators: used between list items, there is a space after the comma */ 44 51 $categories_list = get_the_category_list( __( ', ', 'twentyeleven' ) ); 45 if ( $categories_list ):52 if ( $categories_list ) : 46 53 ?> 47 54 <span class="cat-links"> 48 <?php printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list ); 49 $show_sep = true; ?> 55 <?php 56 printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list ); 57 $show_sep = true; 58 ?> 50 59 </span> 51 60 <?php endif; // End if categories ?> … … 53 62 /* translators: used between list items, there is a space after the comma */ 54 63 $tags_list = get_the_tag_list( '', __( ', ', 'twentyeleven' ) ); 55 if ( $tags_list ): 56 if ( $show_sep ) : ?> 64 if ( $tags_list ) : 65 if ( $show_sep ) : 66 ?> 57 67 <span class="sep"> | </span> 58 68 <?php endif; // End if $show_sep ?> 59 69 <span class="tag-links"> 60 <?php printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); 61 $show_sep = true; ?> 70 <?php 71 printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); 72 $show_sep = true; 73 ?> 62 74 </span> 63 75 <?php endif; // End if $tags_list ?>
Note: See TracChangeset
for help on using the changeset viewer.