Changeset 47122 for trunk/src/wp-content/themes/twentyeleven/content.php
- Timestamp:
- 01/29/2020 12:43:23 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyeleven/content.php
r45932 r47122 33 33 </header><!-- .entry-header --> 34 34 35 <?php if ( is_search() ) : // Only display Excerpts for Search?>35 <?php if ( is_search() ) : // Only display excerpts for search. ?> 36 36 <div class="entry-summary"> 37 37 <?php the_excerpt(); ?> … … 53 53 <footer class="entry-meta"> 54 54 <?php $show_sep = false; ?> 55 <?php if ( is_object_in_taxonomy( get_post_type(), 'category' ) ) : // Hide category text when not supported ?>55 <?php if ( is_object_in_taxonomy( get_post_type(), 'category' ) ) : // Hide category text when not supported. ?> 56 56 <?php 57 57 /* translators: Used between list items, there is a space after the comma. */ … … 66 66 ?> 67 67 </span> 68 <?php endif; // End if categories ?>69 <?php endif; // End if is_object_in_taxonomy( get_post_type(), 'category' ) ?>70 <?php if ( is_object_in_taxonomy( get_post_type(), 'post_tag' ) ) : // Hide tag text when not supported ?>68 <?php endif; // End if categories. ?> 69 <?php endif; // End if is_object_in_taxonomy( get_post_type(), 'category' ). ?> 70 <?php if ( is_object_in_taxonomy( get_post_type(), 'post_tag' ) ) : // Hide tag text when not supported. ?> 71 71 <?php 72 72 /* translators: Used between list items, there is a space after the comma. */ … … 76 76 ?> 77 77 <span class="sep"> | </span> 78 <?php endif; // End if $show_sep ?>78 <?php endif; // End if $show_sep. ?> 79 79 <span class="tag-links"> 80 80 <?php … … 84 84 ?> 85 85 </span> 86 <?php endif; // End if $tags_list ?>87 <?php endif; // End if is_object_in_taxonomy( get_post_type(), 'post_tag' ) ?>86 <?php endif; // End if $tags_list. ?> 87 <?php endif; // End if is_object_in_taxonomy( get_post_type(), 'post_tag' ). ?> 88 88 89 89 <?php if ( comments_open() ) : ?> 90 90 <?php if ( $show_sep ) : ?> 91 91 <span class="sep"> | </span> 92 <?php endif; // End if $show_sep ?>92 <?php endif; // End if $show_sep. ?> 93 93 <span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span> 94 <?php endif; // End if comments_open() ?>94 <?php endif; // End if comments_open(). ?> 95 95 96 96 <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
Note: See TracChangeset
for help on using the changeset viewer.