Update content-search.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
ea1ae12cc4
commit
5189f06c6d
|
@ -8,7 +8,7 @@
|
|||
*/
|
||||
?>
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?> class="content-search-item">
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class('content-search-item'); ?>>
|
||||
|
||||
<header class="entry-header">
|
||||
|
||||
|
|
Reference in New Issue