Twenty Twelve: show sticky badge only on non-paged home view. Fixes #21238, props DrewAPicture and obenland.
git-svn-id: http://core.svn.wordpress.org/trunk@21263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a94354de25
commit
23b119e304
|
@ -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