Update content-page.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:52:17 +01:00
parent bb229380ab
commit 6e2cd28b36
1 changed files with 1 additions and 1 deletions

View File

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