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:
Thomas A. Reinert 2016-03-02 23:49:13 +01:00
parent ea1ae12cc4
commit 5189f06c6d
1 changed files with 1 additions and 1 deletions

View File

@ -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">