storefront/content-page.php
Sébastien Dumont 10b0c05250
Improve semantic HTML for page
Change page wrapper from **div** to **article** for single pages to improve semantic HTML.
2018-04-17 04:20:02 +02:00

20 lines
406 B
PHP

<?php
/**
* The template used for displaying page content in page.php
*
* @package storefront
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php
/**
* Functions hooked in to storefront_page add_action
*
* @hooked storefront_page_header - 10
* @hooked storefront_page_content - 20
*/
do_action( 'storefront_page' );
?>
</article><!-- #post-## -->