adding correct content-single-item class

This commit is contained in:
koenemann 2016-01-04 14:34:15 +01:00
parent 89a1b3f9d8
commit 188af25210
2 changed files with 23 additions and 20 deletions

View File

@ -4,7 +4,7 @@
*/ */
?> ?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?> class="content-single"> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?> class="content-single-item">
<header class="entry-header"> <header class="entry-header">

View File

@ -1,5 +1,7 @@
<?php while (have_posts()) : the_post(); ?> <?php while (have_posts()) : the_post(); ?>
<?php if (!is_sticky()) continue; ?> <?php if (!is_sticky()) continue; ?>
<!-- ******************* The Sticky Area ******************* --> <!-- ******************* The Sticky Area ******************* -->
<div class="wrapper" id="wrapper-sticky"> <div class="wrapper" id="wrapper-sticky">
<div class="container"> <div class="container">
@ -20,5 +22,6 @@
</div> </div>
</div> </div>
</div> </div>
<?php endwhile; ?> <?php endwhile; ?>