Improve semantic HTML for page

Change page wrapper from **div** to **article** for single pages to improve semantic HTML.
This commit is contained in:
Sébastien Dumont 2018-04-17 04:20:02 +02:00 committed by GitHub
parent 8577453134
commit 10b0c05250
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,7 +7,7 @@
?>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php
/**
* Functions hooked in to storefront_page add_action
@ -17,4 +17,4 @@
*/
do_action( 'storefront_page' );
?>
</div><!-- #post-## -->
</article><!-- #post-## -->