Twenty Fourteen: fix case of featured posts `has_tag()` check that was adding an empty `footer` element. See #25868, props iamtakashi.
git-svn-id: https://develop.svn.wordpress.org/trunk@26048 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2ae699bcf2
commit
15173413e5
|
@ -53,11 +53,8 @@
|
|||
?>
|
||||
</div><!-- .entry-content -->
|
||||
|
||||
<?php if ( has_tag() ) : ?>
|
||||
<footer class="entry-meta">
|
||||
<span class="tag-links">
|
||||
<?php echo get_the_tag_list(); ?>
|
||||
</span>
|
||||
</footer><!-- .entry-meta -->
|
||||
<?php endif; ?>
|
||||
<?php
|
||||
if ( has_tag() )
|
||||
echo get_the_tag_list( '<footer class="entry-meta"><span class="tag-links">', '', '</span></footer>' );
|
||||
?>
|
||||
</article><!-- #post-## -->
|
||||
|
|
|
@ -53,11 +53,8 @@
|
|||
?>
|
||||
</div><!-- .entry-content -->
|
||||
|
||||
<?php if ( has_tag() ) : ?>
|
||||
<footer class="entry-meta">
|
||||
<span class="tag-links">
|
||||
<?php echo get_the_tag_list(); ?>
|
||||
</span>
|
||||
</footer><!-- .entry-meta -->
|
||||
<?php endif; ?>
|
||||
<?php
|
||||
if ( has_tag() )
|
||||
echo get_the_tag_list( '<footer class="entry-meta"><span class="tag-links">', '', '</span></footer>' );
|
||||
?>
|
||||
</article><!-- #post-## -->
|
||||
|
|
|
@ -53,11 +53,8 @@
|
|||
?>
|
||||
</div><!-- .entry-content -->
|
||||
|
||||
<?php if ( has_tag() ) : ?>
|
||||
<footer class="entry-meta">
|
||||
<span class="tag-links">
|
||||
<?php echo get_the_tag_list(); ?>
|
||||
</span>
|
||||
</footer><!-- .entry-meta -->
|
||||
<?php endif; ?>
|
||||
<?php
|
||||
if ( has_tag() )
|
||||
echo get_the_tag_list( '<footer class="entry-meta"><span class="tag-links">', '', '</span></footer>' );
|
||||
?>
|
||||
</article><!-- #post-## -->
|
||||
|
|
|
@ -53,11 +53,8 @@
|
|||
?>
|
||||
</div><!-- .entry-content -->
|
||||
|
||||
<?php if ( has_tag() ) : ?>
|
||||
<footer class="entry-meta">
|
||||
<span class="tag-links">
|
||||
<?php echo get_the_tag_list(); ?>
|
||||
</span>
|
||||
</footer><!-- .entry-meta -->
|
||||
<?php endif; ?>
|
||||
<?php
|
||||
if ( has_tag() )
|
||||
echo get_the_tag_list( '<footer class="entry-meta"><span class="tag-links">', '', '</span></footer>' );
|
||||
?>
|
||||
</article><!-- #post-## -->
|
||||
|
|
|
@ -53,11 +53,8 @@
|
|||
?>
|
||||
</div><!-- .entry-content -->
|
||||
|
||||
<?php if ( has_tag() ) : ?>
|
||||
<footer class="entry-meta">
|
||||
<span class="tag-links">
|
||||
<?php echo get_the_tag_list(); ?>
|
||||
</span>
|
||||
</footer><!-- .entry-meta -->
|
||||
<?php endif; ?>
|
||||
<?php
|
||||
if ( has_tag() )
|
||||
echo get_the_tag_list( '<footer class="entry-meta"><span class="tag-links">', '', '</span></footer>' );
|
||||
?>
|
||||
</article><!-- #post-## -->
|
||||
|
|
|
@ -53,11 +53,8 @@
|
|||
?>
|
||||
</div><!-- .entry-content -->
|
||||
|
||||
<?php if ( has_tag() ) : ?>
|
||||
<footer class="entry-meta">
|
||||
<span class="tag-links">
|
||||
<?php echo get_the_tag_list(); ?>
|
||||
</span>
|
||||
</footer><!-- .entry-meta -->
|
||||
<?php endif; ?>
|
||||
<?php
|
||||
if ( has_tag() )
|
||||
echo get_the_tag_list( '<footer class="entry-meta"><span class="tag-links">', '', '</span></footer>' );
|
||||
?>
|
||||
</article><!-- #post-## -->
|
||||
|
|
|
@ -53,11 +53,8 @@
|
|||
?>
|
||||
</div><!-- .entry-content -->
|
||||
|
||||
<?php if ( has_tag() ) : ?>
|
||||
<footer class="entry-meta">
|
||||
<span class="tag-links">
|
||||
<?php echo get_the_tag_list(); ?>
|
||||
</span>
|
||||
</footer><!-- .entry-meta -->
|
||||
<?php endif; ?>
|
||||
<?php
|
||||
if ( has_tag() )
|
||||
echo get_the_tag_list( '<footer class="entry-meta"><span class="tag-links">', '', '</span></footer>' );
|
||||
?>
|
||||
</article><!-- #post-## -->
|
||||
|
|
|
@ -62,11 +62,8 @@
|
|||
</div><!-- .entry-content -->
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ( has_tag() ) : ?>
|
||||
<footer class="entry-meta">
|
||||
<span class="tag-links">
|
||||
<?php echo get_the_tag_list(); ?>
|
||||
</span>
|
||||
</footer><!-- .entry-meta -->
|
||||
<?php endif; ?>
|
||||
<?php
|
||||
if ( has_tag() )
|
||||
echo get_the_tag_list( '<footer class="entry-meta"><span class="tag-links">', '', '</span></footer>' );
|
||||
?>
|
||||
</article><!-- #post-## -->
|
||||
|
|
|
@ -1138,11 +1138,6 @@ a.post-thumbnail:hover {
|
|||
padding: 0 10px;
|
||||
}
|
||||
|
||||
.site-content footer.entry-meta:empty {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
|
||||
/* Tag links style */
|
||||
|
||||
.tag-links a {
|
||||
|
|
Loading…
Reference in New Issue