banner.php
7 months ago
coming-soon-entire-site.php
1 year ago
coming-soon-store-only.php
1 year ago
coming-soon.php
1 year ago
content-right-image-left.php
3 months ago
featured-category-cover-image.php
1 year ago
featured-category-triple.php
1 year ago
footer-large.php
1 year ago
footer-simple-menu.php
2 years ago
footer-with-3-menus.php
3 months ago
four-image-grid-content-left.php
3 months ago
header-centered-pattern.php
1 year ago
header-distraction-free.php
1 year ago
header-essential.php
1 year ago
header-large.php
1 year ago
header-minimal.php
1 year ago
heading-with-three-columns-of-content-with-link.php
3 months ago
hero-product-3-split.php
7 months ago
hero-product-chessboard.php
7 months ago
hero-product-split.php
7 months ago
intro-centered-content-with-image-below.php
3 months ago
just-arrived-full-hero.php
7 months ago
no-products-found-filters.php
1 year ago
no-products-found.php
2 years ago
page-coming-soon-default.php
1 year ago
page-coming-soon-image-gallery.php
1 year ago
page-coming-soon-minimal-left-image.php
1 year ago
page-coming-soon-modern-black.php
1 year ago
page-coming-soon-split-right-image.php
1 year ago
page-coming-soon-with-header-footer.php
3 months ago
product-collection-3-columns.php
11 months ago
product-collection-4-columns.php
11 months ago
product-collection-5-columns.php
11 months ago
product-collection-featured-products-5-columns.php
7 months ago
product-query-product-gallery.php
6 months ago
product-search-form.php
1 year ago
related-products.php
11 months ago
social-follow-us-in-social-media.php
3 months ago
testimonials-3-columns.php
1 year ago
testimonials-single.php
3 months ago
three-columns-with-images-and-content.php
3 months ago
coming-soon-store-only.php
66 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Note: This pattern is deprecated, it will be removed once newsletter feature flag is deployed. |
| 4 | * If you are updating this pattern, please also update page-coming-soon-with-header-footer.php. |
| 5 | */ |
| 6 | |
| 7 | /** |
| 8 | * Title: Coming Soon Store Only |
| 9 | * Slug: woocommerce/coming-soon-store-only |
| 10 | * Categories: WooCommerce |
| 11 | * Inserter: false |
| 12 | * Feature Flag: launch-your-store |
| 13 | * |
| 14 | * @package WooCommerce\Blocks |
| 15 | */ |
| 16 | |
| 17 | $current_theme = wp_get_theme()->get_stylesheet(); |
| 18 | $inter_font_family = 'inter'; |
| 19 | $cardo_font_family = 'cardo'; |
| 20 | |
| 21 | if ( 'twentytwentyfour' === $current_theme ) { |
| 22 | $inter_font_family = 'body'; |
| 23 | $cardo_font_family = 'heading'; |
| 24 | } |
| 25 | |
| 26 | ?> |
| 27 | |
| 28 | <!-- wp:woocommerce/coming-soon {"storeOnly":true, "className":"woocommerce-coming-soon-store-only"} --> |
| 29 | <div class="wp-block-woocommerce-coming-soon woocommerce-coming-soon-store-only"> |
| 30 | |
| 31 | <?php |
| 32 | if ( wp_is_block_theme() ) { |
| 33 | echo '<!-- wp:template-part {"slug":"header","tagName":"header"} /-->'; |
| 34 | } |
| 35 | ?> |
| 36 | |
| 37 | <!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"center","orientation":"vertical"}} --> |
| 38 | <div class="wp-block-group"><!-- wp:spacer --> |
| 39 | <div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div> |
| 40 | <!-- /wp:spacer --> |
| 41 | |
| 42 | <!-- wp:heading {"textAlign":"center","level":1,"fontFamily":"<?php echo esc_html( $cardo_font_family ); ?>"} --> |
| 43 | <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> |
| 44 | <!-- /wp:heading --> |
| 45 | |
| 46 | <!-- wp:spacer {"height":"10px"} --> |
| 47 | <div style="height:10px" aria-hidden="true" class="wp-block-spacer"></div> |
| 48 | <!-- /wp:spacer --> |
| 49 | |
| 50 | <!-- wp:paragraph {"align":"center","fontFamily":"<?php echo esc_html( $inter_font_family ); ?>"} --> |
| 51 | <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> |
| 52 | <!-- /wp:paragraph --> |
| 53 | |
| 54 | <!-- wp:spacer --> |
| 55 | <div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div> |
| 56 | <!-- /wp:spacer --></div> |
| 57 | <!-- /wp:group --> |
| 58 | |
| 59 | <?php |
| 60 | if ( wp_is_block_theme() ) { |
| 61 | echo '<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->'; |
| 62 | } |
| 63 | ?> |
| 64 | </div> |
| 65 | <!-- /wp:woocommerce/coming-soon --> |
| 66 |