banner.php
8 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
1 year 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
2 years ago
four-image-grid-content-left.php
1 year 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
1 year ago
hero-product-3-split.php
8 months ago
hero-product-chessboard.php
8 months ago
hero-product-split.php
8 months ago
intro-centered-content-with-image-below.php
1 year ago
just-arrived-full-hero.php
8 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
1 year 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
8 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
1 year ago
testimonials-3-columns.php
1 year ago
testimonials-single.php
1 year ago
three-columns-with-images-and-content.php
1 year ago
page-coming-soon-modern-black.php
48 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Title: Coming Soon Modern Black |
| 4 | * Slug: woocommerce/page-coming-soon-modern-black |
| 5 | * Categories: WooCommerce |
| 6 | * Template Types: coming-soon |
| 7 | * Inserter: false |
| 8 | */ |
| 9 | |
| 10 | $current_theme = wp_get_theme()->get_stylesheet(); |
| 11 | use Automattic\WooCommerce\Blocks\Templates\ComingSoonTemplate; |
| 12 | |
| 13 | $fonts = ComingSoonTemplate::get_font_families(); |
| 14 | $heading_font_family = $fonts['heading']; |
| 15 | $body_font_family = $fonts['body']; |
| 16 | |
| 17 | $default_image = plugins_url( 'assets/images/pattern-placeholders/music-black-and-white-white-photography-darkness-black.jpg', WC_PLUGIN_FILE ); |
| 18 | $email = get_option( 'admin_email', 'marianne.renoir@mail.com' ); |
| 19 | |
| 20 | ?> |
| 21 | <!-- wp:woocommerce/coming-soon {"comingSoonPatternId":"page-coming-soon-modern-black","className":"woocommerce-coming-soon-modern-black","style":{"color":{"background":"#000000","text":"#ffffff"},"elements":{"link":{"color":{"text":"#ffffff"}}}}} --> |
| 22 | <div class="wp-block-woocommerce-coming-soon woocommerce-coming-soon-modern-black has-text-color has-background has-link-color" style="color:#ffffff;background-color:#000000"><!-- wp:cover {"url":"<?php echo esc_url( $default_image ); ?>","dimRatio":0,"minHeight":100,"minHeightUnit":"vh","className":"is-dark coming-soon-is-vertically-aligned-center coming-soon-cover","style":{"spacing":{"padding":{"top":"0px","bottom":"0px","left":"0px","right":"0px"}},"color":{"text":"inherit"},"elements":{"link":{"color":{"text":"inherit"}}}},"layout":{"type":"constrained","contentSize":"1280px"}} --> |
| 23 | <div class="wp-block-cover is-dark coming-soon-is-vertically-aligned-center coming-soon-cover has-text-color has-link-color" style="color:inherit;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;min-height:100vh"> |
| 24 | <span aria-hidden="true" class="wp-block-cover__background has-background-dim-0 has-background-dim"></span><img class="wp-block-cover__image-background" alt="" src="<?php echo esc_url( $default_image ); ?>" data-object-fit="cover"/><div class="wp-block-cover__inner-container"><!-- wp:group {"align":"wide","style":{"dimensions":{"minHeight":"100vh"},"spacing":{"padding":{"top":"0","bottom":"46px","left":"0","right":"0"},"margin":{"top":"0","bottom":"0px"},"blockGap":"0"},"position":{"type":""}},"layout":{"type":"flex","orientation":"vertical","verticalAlignment":"space-between","justifyContent":"stretch"}} --> |
| 25 | <div class="wp-block-group alignwide" style="min-height:100vh;margin-top:0;margin-bottom:0px;padding-top:0;padding-right:0;padding-bottom:46px;padding-left:0"><!-- wp:group {"align":"wide","style":{"layout":{"selfStretch":"fit","flexSize":null},"dimensions":{"minHeight":""},"spacing":{"padding":{"top":"26px","bottom":"32px"}}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between","verticalAlignment":"center"}} --> |
| 26 | <div class="wp-block-group alignwide" style="padding-top:26px;padding-bottom:32px"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|20"},"layout":{"selfStretch":"fit","flexSize":null}},"layout":{"type":"flex","orientation":"horizontal"}} --> |
| 27 | <div class="wp-block-group"><!-- wp:group {"style":{"spacing":{"blockGap":"0px"}}} --> |
| 28 | <div class="wp-block-group"><!-- wp:site-title {"level":0,"style":{"elements":{"link":{"color":{"text":"#ffffff"}}},"typography":{"fontSize":"18px","fontStyle":"normal","fontWeight":"500","letterSpacing":"-0.36px","textTransform":"capitalize"}},"textColor":"#ffffff","fontFamily":"<?php echo esc_attr( $body_font_family ); ?>"} /--></div> |
| 29 | <!-- /wp:group --></div> |
| 30 | <!-- /wp:group --> |
| 31 | |
| 32 | <!-- wp:template-part {"slug":"coming-soon-social-links","theme":"woocommerce/woocommerce","tagName":"div"} /--></div> |
| 33 | <!-- /wp:group --> |
| 34 | |
| 35 | <!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"0px","bottom":"0px","right":"0","left":"0"},"margin":{"bottom":"0"},"blockGap":"0px"},"dimensions":{"minHeight":"650px"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch","verticalAlignment":"bottom"}} --> |
| 36 | <div class="wp-block-group alignwide" style="min-height:650px;margin-bottom:0;padding-top:0px;padding-right:0;padding-bottom:0px;padding-left:0"> |
| 37 | <!-- wp:heading {"textAlign":"center","level":1,"style":{"spacing":{"margin":{"bottom":"153px","top":"0"}},"typography":{"fontSize":"100px","lineHeight":"1.19","fontStyle":"normal","fontWeight":"400"}},"fontFamily":"<?php echo esc_attr( $heading_font_family ); ?>"} --> |
| 38 | <h1 class="wp-block-heading has-text-align-center has-<?php echo esc_attr( $heading_font_family ); ?>-font-family" style="margin-top:0;margin-bottom:153px;font-size:100px;font-style:normal;font-weight:400;line-height:1.19"><?php echo esc_html( _x( 'Stay tuned.', 'Coming Soon template heading', 'woocommerce' ) ); ?></h1> |
| 39 | <!-- /wp:heading --> |
| 40 | <!-- wp:paragraph {"align":"center","style":{"typography":{"fontSize":"14px"},"color":{"text":"#a7aaad"},"elements":{"link":{"color":{"text":"#a7aaad"}}}},"fontFamily":"<?php echo esc_attr( $body_font_family ); ?>"} --> |
| 41 | <p class="has-text-align-center has-text-color has-link-color has-<?php echo esc_attr( $body_font_family ); ?>-font-family" style="color:#a7aaad;font-size:14px"><?php echo esc_html( $email ); ?></p> |
| 42 | <!-- /wp:paragraph --></div> |
| 43 | <!-- /wp:group --></div> |
| 44 | <!-- /wp:group --></div></div> |
| 45 | <!-- /wp:cover --> |
| 46 | </div> |
| 47 | <!-- /wp:woocommerce/coming-soon --> |
| 48 |