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:
Lance Willett 2012-07-12 23:53:27 +00:00
parent 008b1d5810
commit 09635ed0cb
1 changed files with 1 additions and 1 deletions

View File

@ -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>