2014-08-17 16:55:38 +01:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* The template for displaying the homepage.
|
|
|
|
*
|
|
|
|
* This page template will display any functions hooked into the `homepage` action.
|
|
|
|
* By default this includes a variety of product displays and the page content itself. To change the order or toggle these components
|
|
|
|
* use the Homepage Control plugin.
|
|
|
|
* https://wordpress.org/plugins/homepage-control/
|
|
|
|
*
|
|
|
|
* Template name: Homepage
|
|
|
|
*
|
|
|
|
* @package storefront
|
|
|
|
*/
|
|
|
|
|
|
|
|
get_header(); ?>
|
|
|
|
|
|
|
|
<div id="primary" class="content-area">
|
|
|
|
<main id="main" class="site-main" role="main">
|
|
|
|
|
|
|
|
<?php
|
|
|
|
/**
|
2016-02-19 16:57:56 +00:00
|
|
|
* Functions hooked in to homepage action
|
|
|
|
*
|
2016-03-15 13:23:59 +00:00
|
|
|
* @hooked storefront_homepage_content - 10
|
|
|
|
* @hooked storefront_product_categories - 20
|
|
|
|
* @hooked storefront_recent_products - 30
|
|
|
|
* @hooked storefront_featured_products - 40
|
|
|
|
* @hooked storefront_popular_products - 50
|
|
|
|
* @hooked storefront_on_sale_products - 60
|
|
|
|
* @hooked storefront_best_selling_products - 70
|
2014-08-17 16:55:38 +01:00
|
|
|
*/
|
2018-06-22 15:11:39 +01:00
|
|
|
do_action( 'homepage' );
|
|
|
|
?>
|
2014-08-17 16:55:38 +01:00
|
|
|
|
|
|
|
</main><!-- #main -->
|
|
|
|
</div><!-- #primary -->
|
2016-02-04 13:16:31 +00:00
|
|
|
<?php
|
2016-02-19 16:57:56 +00:00
|
|
|
get_footer();
|