mirror of
https://github.com/woocommerce/storefront.git
synced 2025-08-18 03:41:10 +08:00
Improve semantic HTML for page
Change page wrapper from **div** to **article** for single pages to improve semantic HTML.
This commit is contained in:
parent
8577453134
commit
10b0c05250
1 changed files with 2 additions and 2 deletions
|
@ -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-## -->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue