Twenty Eleven: prevent notices in taxonomy archives using custom post types; Props mfields; Fixes #17566
git-svn-id: http://svn.automattic.com/wordpress/trunk@18186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a98d5a605c
commit
b8ef6fbbdf
|
@ -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