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:
parent
ee27ec3644
commit
ea1ae12cc4
|
@ -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">
|
||||
|
||||
|
|
Reference in New Issue