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:
parent
bb229380ab
commit
6e2cd28b36
|
@ -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">
|
||||
|
||||
|
|
Reference in New Issue