Don't add sticky class if is_paged(). Props iandstewart. fixes #13666
git-svn-id: http://svn.automattic.com/wordpress/trunk@15088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5c15c3a615
commit
98111ddf95
|
@ -318,7 +318,7 @@ function get_post_class( $class = '', $post_id = null ) {
|
|||
$classes[] = 'type-' . $post->post_type;
|
||||
|
||||
// sticky for Sticky Posts
|
||||
if ( is_sticky($post->ID) && is_home())
|
||||
if ( is_sticky($post->ID) && is_home() && !is_paged() )
|
||||
$classes[] = 'sticky';
|
||||
|
||||
// hentry for hAtom compliace
|
||||
|
|
Loading…
Reference in New Issue