mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-11 10:59:07 +01:00
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
f7cf67d3f0
commit
fde992b32f
@ -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
Block a user