first commit
This commit is contained in:
25
wp-content/themes/storefront/content-homepage.php
Normal file
25
wp-content/themes/storefront/content-homepage.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?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-## -->
|
||||
Reference in New Issue
Block a user