Twenty Eleven: prevent notices in taxonomy archives using custom post types; Props mfields; Fixes #17566
git-svn-id: https://develop.svn.wordpress.org/trunk@18186 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d2af1830bc
commit
c079d224e7
@ -65,6 +65,7 @@
|
||||
<?php endif; ?>
|
||||
|
||||
<footer class="entry-meta">
|
||||
<?php $show_sep = false; ?>
|
||||
<?php
|
||||
/* translators: used between list items, there is a space after the comma */
|
||||
$categories_list = get_the_category_list( __( ', ', 'twentyeleven' ) );
|
||||
|
@ -49,6 +49,7 @@
|
||||
<?php endif; ?>
|
||||
|
||||
<footer class="entry-meta">
|
||||
<?php $show_sep = false; ?>
|
||||
<?php if ( 'post' == $post->post_type ) : // Hide category and tag text for pages on Search ?>
|
||||
<?php
|
||||
/* translators: used between list items, there is a space after the comma */
|
||||
|
@ -53,6 +53,7 @@
|
||||
<?php endif; ?>
|
||||
|
||||
<footer class="entry-meta">
|
||||
<?php $show_sep = false; ?>
|
||||
<?php if ( 'post' == $post->post_type ) : // Hide category and tag text for pages on Search ?>
|
||||
<?php
|
||||
/* translators: used between list items, there is a space after the comma */
|
||||
|
Loading…
Reference in New Issue
Block a user