Changeset 22193
- Timestamp:
- 10/11/2012 07:53:35 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyeleven/content.php
r21368 r22193 46 46 <footer class="entry-meta"> 47 47 <?php $show_sep = false; ?> 48 <?php if ( 'post' == get_post_type() ) : // Hide category and tag text for pages on Search?>48 <?php if ( is_object_in_taxonomy( get_post_type(), 'category' ) ) : // Hide category text when not supported ?> 49 49 <?php 50 50 /* translators: used between list items, there is a space after the comma */ … … 57 57 </span> 58 58 <?php endif; // End if categories ?> 59 <?php endif; // End if is_object_in_taxonomy( get_post_type(), 'category' ) ?> 60 <?php if ( is_object_in_taxonomy( get_post_type(), 'post_tag' ) ) : // Hide tag text when not supported ?> 59 61 <?php 60 62 /* translators: used between list items, there is a space after the comma */ … … 69 71 </span> 70 72 <?php endif; // End if $tags_list ?> 71 <?php endif; // End if 'post' == get_post_type() ?>73 <?php endif; // End if is_object_in_taxonomy( get_post_type(), 'post_tag' ) ?> 72 74 73 75 <?php if ( comments_open() ) : ?>
Note: See TracChangeset
for help on using the changeset viewer.