coming-soon-store-only.php
<?php
$current_theme = wp_get_theme()->get_stylesheet();
$inter_font_family = 'inter';
$cardo_font_family = 'cardo';
if ( 'twentytwentyfour' === $current_theme ) {
$inter_font_family = 'body';
$cardo_font_family = 'heading';
}
?>
<div class="wp-block-woocommerce-coming-soon">
<?php
if ( wc_current_theme_is_fse_theme() ) {
echo '<!-- wp:template-part {"slug":"header","tagName":"header"} /-->';
}
?>
<div class="wp-block-group">
<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>
<h1 class="wp-block-heading has-text-align-center has-<?php echo esc_html( $cardo_font_family ); ?>-font-family"><?php echo esc_html__( 'Great things are on the horizon', 'woocommerce' ); ?></h1>
<div style="height:10px" aria-hidden="true" class="wp-block-spacer"></div>
<p class="has-text-align-center has-<?php echo esc_html( $inter_font_family ); ?>-font-family"><?php echo esc_html__( 'Something big is brewing! Our store is in the works and will be launching soon!', 'woocommerce' ); ?></p>
<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>
</div>
<?php
if ( wc_current_theme_is_fse_theme() ) {
echo '<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->';
}
?>
<style>.woocommerce-breadcrumb {display: none;}</style></div>