2017-01-23 17:54:58 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* The template used for displaying page content in template-homepage.php
|
|
|
|
*
|
|
|
|
* @package storefront
|
|
|
|
*/
|
|
|
|
|
|
|
|
?>
|
2017-02-02 17:58:57 +01:00
|
|
|
<?php
|
|
|
|
$featured_image = get_the_post_thumbnail_url( get_the_ID(), 'thumbnail' );
|
|
|
|
?>
|
2017-01-23 17:54:58 +00:00
|
|
|
|
2018-06-22 15:11:39 +01:00
|
|
|
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?> style="<?php storefront_homepage_content_styles(); ?>" data-featured-image="<?php echo esc_url( $featured_image ); ?>">
|
2017-01-23 17:54:58 +00:00
|
|
|
<div class="col-full">
|
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Functions hooked in to storefront_page add_action
|
|
|
|
*
|
|
|
|
* @hooked storefront_homepage_header - 10
|
|
|
|
* @hooked storefront_page_content - 20
|
|
|
|
*/
|
|
|
|
do_action( 'storefront_homepage' );
|
|
|
|
?>
|
|
|
|
</div>
|
|
|
|
</div><!-- #post-## -->
|