X7ROOT File Manager
Current Path:
/home/hamdjcne/public_html/wp-content/plugins/woocommerce/patterns
home
/
hamdjcne
/
public_html
/
wp-content
/
plugins
/
woocommerce
/
patterns
/
ðŸ“
..
📄
banner.php
(3.58 KB)
📄
discount-banner-with-image.php
(3.45 KB)
📄
discount-banner.php
(2.41 KB)
📄
featured-category-cover-image.php
(2.06 KB)
📄
featured-category-focus.php
(2.2 KB)
📄
featured-category-triple.php
(6.5 KB)
📄
featured-products-fresh-and-tasty.php
(7.18 KB)
📄
filters.php
(3.52 KB)
📄
footer-large-dark.php
(4.35 KB)
📄
footer-large.php
(3.91 KB)
📄
footer-simple-dark.php
(3.13 KB)
📄
footer-simple-menu.php
(2.64 KB)
📄
footer-simple.php
(2.71 KB)
📄
footer-with-2-menus-dark.php
(3.86 KB)
📄
footer-with-2-menus.php
(3.24 KB)
📄
footer-with-3-menus.php
(3.26 KB)
📄
header-centered-pattern.php
(2.57 KB)
📄
header-essential-dark.php
(2.05 KB)
📄
header-essential.php
(1.26 KB)
📄
header-large-dark.php
(2.17 KB)
📄
header-large.php
(2.55 KB)
📄
header-minimal.php
(1.37 KB)
📄
hero-product-3-split.php
(4.94 KB)
📄
hero-product-chessboard.php
(7.16 KB)
📄
hero-product-split.php
(1.54 KB)
📄
just-arrived-full-hero.php
(2.14 KB)
📄
no-products-found.php
(348 B)
📄
product-collection-3-columns.php
(1.77 KB)
📄
product-collection-4-columns.php
(1.98 KB)
📄
product-collection-5-columns.php
(1.88 KB)
📄
product-collection-banner.php
(3.21 KB)
📄
product-collection-featured-products-5-columns.php
(2.49 KB)
📄
product-collection-full-grid.php
(1.91 KB)
📄
product-collection-grid.php
(1.76 KB)
📄
product-collection-rows.php
(2.44 KB)
📄
product-collection-simple-grid.php
(1.66 KB)
📄
product-collections-featured-collection.php
(4.41 KB)
📄
product-collections-featured-collections.php
(5.93 KB)
📄
product-collections-newest-arrivals.php
(2.3 KB)
📄
product-details-listing.php
(1.68 KB)
📄
product-details-pattern.php
(9.23 KB)
📄
product-featured-2-columns.php
(2.91 KB)
📄
product-hero-2-col-2-row.php
(8.02 KB)
📄
product-hero.php
(1.76 KB)
📄
product-listing-with-gallery-and-description.php
(8.1 KB)
📄
product-query-4-column-product-row.php
(2.01 KB)
📄
product-query-large-image-product-gallery.php
(1.41 KB)
📄
product-query-minimal-product-list.php
(2.05 KB)
📄
product-query-product-gallery.php
(1.94 KB)
📄
product-query-product-list-with-1-1-images.php
(2.41 KB)
📄
product-query-product-list-with-full-product-description.php
(3.27 KB)
📄
product-search-form.php
(311 B)
📄
related-products.php
(1.74 KB)
📄
shop-by-price.php
(11.93 KB)
📄
small-discount-banner-with-image.php
(2.58 KB)
📄
social-follow-us-in-social-media.php
(4.73 KB)
📄
store-info-alt-image-and-text.php
(4.84 KB)
📄
testimonials-3-columns.php
(2.19 KB)
📄
testimonials-single.php
(1.55 KB)
Editing: discount-banner-with-image.php
<?php /** * Title: Discount Banner with Image * Slug: woocommerce-blocks/discount-banner-with-image * Categories: WooCommerce */ use Automattic\WooCommerce\Blocks\AIContent\PatternsHelper; $description = $content['descriptions'][0]['default'] ?? ''; ?> <!-- wp:columns {"verticalAlignment":"center","align":"wide","style":{"color":{"background":"#254094"},"spacing":{"padding":{"top":"30px","right":"30px","bottom":"30px","left":"30px"}}}} --> <div class="wp-block-columns alignwide are-vertically-aligned-center has-background" style="background-color:#254094;padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px"> <!-- wp:column {"verticalAlignment":"center","width":""} --> <div class="wp-block-column is-vertically-aligned-center"> <!-- wp:group {"style":{"spacing":{"padding":{"top":"15px"}}},"layout":{"type":"constrained","contentSize":"350px"}} --> <div class="wp-block-group" style="padding-top:15px"> <!-- wp:paragraph {"style":{"typography":{"fontStyle":"normal","fontWeight":"500","fontSize":"45px","lineHeight":"0"},"color":{"text":"#ffffff"}}} --> <p class="has-text-color" style="color:#ffffff;font-size:45px;font-style:normal;font-weight:500;line-height:0">UP TO</p> <!-- /wp:paragraph --> <!-- wp:paragraph {"style":{"color":{"text":"#fdf251"},"typography":{"fontStyle":"normal","fontWeight":"800","fontSize":"90px","lineHeight":"0.8"}}} --> <p class="has-text-color" style="color:#fdf251;font-size:90px;font-style:normal;font-weight:800;line-height:0.8">40% off</p> <!-- /wp:paragraph --> <!-- wp:paragraph {"style":{"typography":{"fontStyle":"normal","fontWeight":"300","fontSize":"35px","lineHeight":"0"},"color":{"text":"#ffffff"},"spacing":{"margin":{"bottom":"40px"}}}} --> <p class="has-text-color" style="color:#ffffff;margin-bottom:40px;font-size:35px;font-style:normal;font-weight:300;line-height:0"><?php echo esc_html( $description ); ?></p> <!-- /wp:paragraph --> <!-- wp:buttons --> <div class="wp-block-buttons"> <!-- wp:button {"style":{"color":{"background":"#ff7179","text":"#ffffff"},"border":{"radius":"40px","width":"0px","style":"none"},"spacing":{"padding":{"top":"10px","bottom":"10px","left":"30px","right":"30px"}}}} --> <div class="wp-block-button"><a class="wp-block-button__link has-text-color has-background wp-element-button" href="<?php echo esc_url( get_permalink( wc_get_page_id( 'shop' ) ) ); ?>" style="border-style:none;border-width:0px;border-radius:40px;color:#ffffff;background-color:#ff7179;padding-top:10px;padding-right:30px;padding-bottom:10px;padding-left:30px">Shop now</a></div> <!-- /wp:button --> </div> <!-- /wp:buttons --> </div> <!-- /wp:group --> </div> <!-- /wp:column --> <!-- wp:column {"verticalAlignment":"center"} --> <div class="wp-block-column is-vertically-aligned-center"> <!-- wp:image {"align":"center","sizeSlug":"full","linkDestination":"none","style":{"border":{"radius":{"topLeft":"100px","topRight":"10px","bottomLeft":"10px","bottomRight":"100px"}}}} --> <figure class="wp-block-image aligncenter size-full has-custom-border"> <img src="<?php echo esc_url( PatternsHelper::get_image_url( $images, 0, 'assets/images/pattern-placeholders/table-floor-interior-atmosphere-living-room-furniture-square-lg.png' ) ); ?>" alt="" style="border-top-left-radius:100px;border-top-right-radius:10px;border-bottom-left-radius:10px;border-bottom-right-radius:100px"/> </figure> <!-- /wp:image --> </div> <!-- /wp:column --> </div> <!-- /wp:columns -->
Upload File
Create Folder