From 188af252102652ca646c806b3052bba05dcb0bcb Mon Sep 17 00:00:00 2001 From: koenemann Date: Mon, 4 Jan 2016 14:34:15 +0100 Subject: [PATCH] adding correct content-single-item class --- content-single.php | 2 +- sticky.php | 41 ++++++++++++++++++++++------------------- 2 files changed, 23 insertions(+), 20 deletions(-) diff --git a/content-single.php b/content-single.php index 1361ed6b..8c6eead0 100644 --- a/content-single.php +++ b/content-single.php @@ -4,7 +4,7 @@ */ ?> -
class="content-single"> +
class="content-single-item">
diff --git a/sticky.php b/sticky.php index 4f75b21f..90520f66 100644 --- a/sticky.php +++ b/sticky.php @@ -1,24 +1,27 @@ + - -
-
-
- 1, - 'post__in' => $sticky, - 'ignore_sticky_posts' => 1 - ); - $query = new WP_Query( $args ); - if ( isset($sticky[0]) ) { - get_template_part( 'content', get_post_format() ); - } - wp_reset_query(); - ?> + + +
+
+
+ 1, + 'post__in' => $sticky, + 'ignore_sticky_posts' => 1 + ); + $query = new WP_Query( $args ); + if ( isset($sticky[0]) ) { + get_template_part( 'content', get_post_format() ); + } + wp_reset_query(); + ?> +
+
-
-
+