mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-30 23:30:05 +00:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user