Twenty Twelve: show sticky badge only on non-paged home view. Fixes #21238, props DrewAPicture and obenland.
git-svn-id: https://develop.svn.wordpress.org/trunk@21263 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
008b1d5810
commit
09635ed0cb
|
@ -9,7 +9,7 @@
|
|||
?>
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<?php if ( is_sticky() ) : ?>
|
||||
<?php if ( is_sticky() && is_home() && ! is_paged() ) : ?>
|
||||
<div class="featured-post">
|
||||
<?php _e( 'Featured post', 'twentytwelve' ); ?>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue