Submit
Path:
~
/
home
/
getwphos
/
www
/
new-cytogenx
/
wp-content
/
plugins
/
woocommerce
/
patterns
/
File Content:
product-collections-featured-collections.php
<?php /** * Title: Product Collections Featured Collections * Slug: woocommerce-blocks/product-collections-featured-collections * Categories: WooCommerce */ use Automattic\WooCommerce\Blocks\AIContent\PatternsHelper; $image1 = PatternsHelper::get_image_url( $images, 0, 'assets/images/pattern-placeholders/technology-white-camera-photography-vintage-photographer.png' ); $image2 = PatternsHelper::get_image_url( $images, 1, 'assets/images/pattern-placeholders/leather-guitar-typewriter-red-gadget-sofa.png' ); $image3 = PatternsHelper::get_image_url( $images, 2, 'assets/images/pattern-placeholders/music-technology-play-equipment-studio-gadget.png' ); $image4 = PatternsHelper::get_image_url( $images, 3, 'assets/images/pattern-placeholders/technology-joystick-gadget-console-games-playstation.png' ); $first_title = $content['titles'][0]['default'] ?? ''; $second_title = $content['titles'][1]['default'] ?? ''; $first_button = $content['buttons'][0]['default'] ?? ''; $second_button = $content['buttons'][1]['default'] ?? ''; ?> <!-- wp:columns {"align":"wide","style":{"spacing":{"padding":{"top":"0","right":"0","bottom":"0","left":"0"},"blockGap":{"top":"0","left":"0"}}}} --> <div class="wp-block-columns alignwide" style="padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"> <!-- wp:column {"width":"50%","style":{"spacing":{"padding":{"top":"30px","right":"30px","bottom":"30px","left":"30px"}},"color":{"background":"#f3edd8"}},"layout":{"type":"constrained"}} --> <div class="wp-block-column has-background" style="background-color:#f3edd8;padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px;flex-basis:50%"> <!-- wp:heading {"style":{"typography":{"fontStyle":"normal","fontWeight":"700"},"color":{"text":"#000000"}},"fontSize":"x-large"} --> <h2 class="wp-block-heading has-text-color has-x-large-font-size" style="color:#000000;font-style:normal;font-weight:700"><?php echo esc_html( $first_title ); ?></h2> <!-- /wp:heading --> <!-- wp:buttons --> <div class="wp-block-buttons"> <!-- wp:button {"style":{"spacing":{"padding":{"left":"18px","right":"18px","top":"9px","bottom":"9px"}},"typography":{"fontSize":"16px"},"color":{"background":"#000000","text":"#ffffff"}}} --> <div class="wp-block-button has-custom-font-size" style="font-size:16px"> <a href="<?php echo esc_url( wc_get_page_permalink( 'shop' ) ); ?>" class="wp-block-button__link has-text-color has-background wp-element-button" style="color:#ffffff;background-color:#000000;padding-top:9px;padding-right:18px;padding-bottom:9px;padding-left:18px"><?php echo esc_html( $first_button ); ?></a> </div> <!-- /wp:button --> </div> <!-- /wp:buttons --> <!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"right"}} --> <div class="wp-block-group"> <!-- wp:image {"width":140,"sizeSlug":"full","linkDestination":"none"} --> <figure class="wp-block-image size-full is-resized"> <img src="<?php echo esc_url( $image1 ); ?>" alt="<?php esc_attr_e( 'Placeholder image used to represent products being showcased in a left side of a banner. 1 out of 2.', 'woocommerce' ); ?>" width="140" /> </figure> <!-- /wp:image --> <!-- wp:image {"width":140,"height":100,"sizeSlug":"full","linkDestination":"none"} --> <figure class="wp-block-image size-full is-resized"> <img src="<?php echo esc_url( $image2 ); ?>" alt="<?php esc_attr_e( 'Placeholder image used to represent products being showcased in a left side of a banner. 2 out of 2.', 'woocommerce' ); ?>" width="140" height="100" /> </figure> <!-- /wp:image --> </div> <!-- /wp:group --> </div> <!-- /wp:column --> <!-- wp:column {"width":"50%","style":{"spacing":{"padding":{"top":"30px","right":"30px","bottom":"30px","left":"30px"}},"color":{"background":"#d8f2f3"}}} --> <div class="wp-block-column has-background" style="background-color:#d8f2f3;padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px;flex-basis:50%"> <!-- wp:heading {"style":{"typography":{"fontStyle":"normal","fontWeight":"700"},"color":{"text":"#000000"}},"fontSize":"x-large"} --> <h2 class="wp-block-heading has-text-color has-x-large-font-size" style="color:#000000;font-style:normal;font-weight:700"><?php echo esc_html( $second_title ); ?></h2> <!-- /wp:heading --> <!-- wp:buttons --> <div class="wp-block-buttons"> <!-- wp:button {"style":{"spacing":{"padding":{"left":"18px","right":"18px","top":"9px","bottom":"9px"}},"typography":{"fontSize":"16px"},"color":{"background":"#000000","text":"#ffffff"}}} --> <div class="wp-block-button has-custom-font-size" style="font-size:16px"> <a href="<?php echo esc_url( wc_get_page_permalink( 'shop' ) ); ?>" class="wp-block-button__link has-text-color has-background wp-element-button" style="color:#ffffff;background-color:#000000;padding-top:9px;padding-right:18px;padding-bottom:9px;padding-left:18px"><?php echo esc_html( $second_button ); ?></a> </div> <!-- /wp:button --> </div> <!-- /wp:buttons --> <!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"right"}} --> <div class="wp-block-group"> <!-- wp:image {"width":140,"height":100,"sizeSlug":"full","linkDestination":"none"} --> <figure class="wp-block-image size-full is-resized"> <img src="<?php echo esc_url( $image3 ); ?>" alt="<?php esc_attr_e( 'Placeholder image used to represent products being showcased in a right side of a banner. 1 out of 2.', 'woocommerce' ); ?>" width="140" height="100" /> </figure> <!-- /wp:image --> <!-- wp:image {"width":140,"height":100,"sizeSlug":"full","linkDestination":"none"} --> <figure class="wp-block-image size-full is-resized"> <img src="<?php echo esc_url( $image4 ); ?>" alt="<?php esc_attr_e( 'Placeholder image used to represent products being showcased in a right side of a banner. 2 out of 2.', 'woocommerce' ); ?>" width="140" height="100" /> </figure> <!-- /wp:image --> </div> <!-- /wp:group --> </div> <!-- /wp:column --> </div> <!-- /wp:columns -->
Submit
FILE
FOLDER
Name
Size
Permission
Action
banner.php
3662 bytes
0644
discount-banner-with-image.php
3535 bytes
0644
discount-banner.php
2471 bytes
0644
featured-category-cover-image.php
2113 bytes
0644
featured-category-focus.php
2249 bytes
0644
featured-category-triple.php
6654 bytes
0644
filters.php
3603 bytes
0644
footer-large-dark.php
4459 bytes
0644
footer-large.php
4002 bytes
0644
footer-simple-dark.php
3209 bytes
0644
footer-simple-menu.php
2704 bytes
0644
footer-simple.php
2778 bytes
0644
footer-with-2-menus-dark.php
3950 bytes
0644
footer-with-2-menus.php
3314 bytes
0644
footer-with-3-menus.php
3340 bytes
0644
header-centered-pattern.php
2632 bytes
0644
header-essential-dark.php
2099 bytes
0644
header-essential.php
1286 bytes
0644
header-large-dark.php
2222 bytes
0644
header-large.php
2614 bytes
0644
header-minimal.php
1405 bytes
0644
just-arrived-full-hero.php
2188 bytes
0644
no-products-found.php
348 bytes
0644
product-collection-3-columns.php
1812 bytes
0644
product-collection-5-columns.php
1923 bytes
0644
product-collection-banner.php
3286 bytes
0644
product-collection-featured-products-5-columns.php
2554 bytes
0644
product-collection-full-grid.php
1959 bytes
0644
product-collection-grid.php
1800 bytes
0644
product-collection-rows.php
2499 bytes
0644
product-collection-simple-grid.php
1700 bytes
0644
product-collections-featured-collection.php
4513 bytes
0644
product-collections-featured-collections.php
6075 bytes
0644
product-collections-newest-arrivals.php
2351 bytes
0644
product-details-listing.php
1721 bytes
0644
product-details-pattern.php
9455 bytes
0644
product-featured-2-columns.php
2981 bytes
0644
product-hero-2-col-2-row.php
8215 bytes
0644
product-hero.php
1798 bytes
0644
product-listing-with-gallery-and-description.php
8293 bytes
0644
product-query-large-image-product-gallery.php
1448 bytes
0644
product-query-minimal-product-list.php
2097 bytes
0644
product-query-product-gallery.php
1985 bytes
0644
product-query-product-list-with-1-1-images.php
2471 bytes
0644
product-query-product-list-with-full-product-description.php
3346 bytes
0644
product-search-form.php
311 bytes
0644
related-products.php
1777 bytes
0644
shop-by-price.php
12219 bytes
0644
small-discount-banner-with-image.php
2642 bytes
0644
social-follow-us-in-social-media.php
4841 bytes
0644
store-info-alt-image-and-text.php
4955 bytes
0644
testimonials-3-columns.php
2238 bytes
0644
testimonials-single.php
1591 bytes
0644
N4ST4R_ID | Naxtarrr