mirror of
https://github.com/woocommerce/storefront.git
synced 2025-08-18 03:41:10 +08:00
25 lines
659 B
PHP
25 lines
659 B
PHP
<?php
|
|
/**
|
|
* The template used for displaying page content in template-homepage.php
|
|
*
|
|
* @package storefront
|
|
*/
|
|
|
|
?>
|
|
<?php
|
|
$featured_image = get_the_post_thumbnail_url( get_the_ID(), 'thumbnail' );
|
|
?>
|
|
|
|
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?> style="<?php storefront_homepage_content_styles(); ?>" data-featured-image="<?php echo esc_url( $featured_image ); ?>">
|
|
<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-## -->
|