Update content-single.php

Adding class="customclass" after post_class() inserts a _second_ class-attribute, which will neither work as expected nor validate.
Solution added.
This commit is contained in:
Thomas A. Reinert 2016-03-02 23:46:24 +01:00
parent ee27ec3644
commit ea1ae12cc4
1 changed files with 1 additions and 1 deletions

View File

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