WordPress.org

Make WordPress Core

Changeset 21263


Ignore:
Timestamp:
07/12/12 23:53:27 (3 years ago)
Author:
lancewillett
Message:

Twenty Twelve: show sticky badge only on non-paged home view. Fixes #21238, props DrewAPicture and obenland.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentytwelve/content.php

    r21261 r21263  
    1010 
    1111    <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 
    12         <?php if ( is_sticky() ) : ?> 
     12        <?php if ( is_sticky() && is_home() && ! is_paged() ) : ?> 
    1313        <div class="featured-post"> 
    1414            <?php _e( 'Featured post', 'twentytwelve' ); ?> 
Note: See TracChangeset for help on using the changeset viewer.