/
home
/
suroeste
/
public_html
/
wp-content
/
plugins
/
woocommerce
/
patterns
/
/home/suroeste/public_html/wp-content/plugins/woocommerce/patterns
mkdir
upload
Name
Size
Mode
Actions
banner.php
3662
0644
edit
dl
rm
coming-soon-entire-site.php
7542
0644
edit
dl
rm
coming-soon-store-only.php
2092
0644
edit
dl
rm
coming-soon.php
384
0644
edit
dl
rm
discount-banner-with-image.php
3535
0644
edit
dl
rm
discount-banner.php
2471
0644
edit
dl
rm
featured-category-cover-image.php
2113
0644
edit
dl
rm
featured-category-focus.php
2249
0644
edit
dl
rm
featured-category-triple.php
6636
0644
edit
dl
rm
featured-products-fresh-and-tasty.php
7349
0644
edit
dl
rm
filters.php
3603
0644
edit
dl
rm
footer-large-dark.php
4459
0644
edit
dl
rm
footer-large.php
4002
0644
edit
dl
rm
footer-simple-dark.php
3209
0644
edit
dl
rm
footer-simple-menu.php
2704
0644
edit
dl
rm
footer-simple.php
2778
0644
edit
dl
rm
footer-with-2-menus-dark.php
3950
0644
edit
dl
rm
footer-with-2-menus.php
3314
0644
edit
dl
rm
footer-with-3-menus.php
3340
0644
edit
dl
rm
header-centered-pattern.php
2632
0644
edit
dl
rm
header-essential-dark.php
2099
0644
edit
dl
rm
header-essential.php
1350
0644
edit
dl
rm
header-large-dark.php
2222
0644
edit
dl
rm
header-large.php
2678
0644
edit
dl
rm
header-minimal.php
1405
0644
edit
dl
rm
hero-product-3-split.php
5055
0644
edit
dl
rm
hero-product-chessboard.php
7334
0644
edit
dl
rm
hero-product-split.php
1577
0644
edit
dl
rm
just-arrived-full-hero.php
2188
0644
edit
dl
rm
no-products-found.php
348
0644
edit
dl
rm
product-collection-3-columns.php
1812
0644
edit
dl
rm
product-collection-4-columns.php
2065
0644
edit
dl
rm
product-collection-5-columns.php
1958
0644
edit
dl
rm
product-collection-banner.php
3286
0644
edit
dl
rm
product-collection-featured-products-5-columns.php
2720
0644
edit
dl
rm
product-collection-full-grid.php
1959
0644
edit
dl
rm
product-collection-grid.php
1800
0644
edit
dl
rm
product-collection-rows.php
2499
0644
edit
dl
rm
product-collection-simple-grid.php
1700
0644
edit
dl
rm
product-collections-featured-collection.php
4513
0644
edit
dl
rm
product-collections-featured-collections.php
6075
0644
edit
dl
rm
product-collections-newest-arrivals.php
2351
0644
edit
dl
rm
product-details-listing.php
1721
0644
edit
dl
rm
product-details-pattern.php
9455
0644
edit
dl
rm
product-featured-2-columns.php
2981
0644
edit
dl
rm
product-hero-2-col-2-row.php
8215
0644
edit
dl
rm
product-hero.php
1798
0644
edit
dl
rm
product-listing-with-gallery-and-description.php
8293
0644
edit
dl
rm
product-query-4-column-product-row.php
2057
0644
edit
dl
rm
product-query-large-image-product-gallery.php
1448
0644
edit
dl
rm
product-query-minimal-product-list.php
2097
0644
edit
dl
rm
product-query-product-gallery.php
2020
0644
edit
dl
rm
product-query-product-list-with-1-1-images.php
2471
0644
edit
dl
rm
product-query-product-list-with-full-product-description.php
3346
0644
edit
dl
rm
product-search-form.php
311
0644
edit
dl
rm
related-products.php
1777
0644
edit
dl
rm
shop-by-price.php
12219
0644
edit
dl
rm
small-discount-banner-with-image.php
2642
0644
edit
dl
rm
social-follow-us-in-social-media.php
4685
0644
edit
dl
rm
store-info-alt-image-and-text.php
4955
0644
edit
dl
rm
testimonials-3-columns.php
2273
0644
edit
dl
rm
testimonials-single.php
1591
0644
edit
dl
rm
Edit:
/home/suroeste/public_html/wp-content/plugins/woocommerce/patterns/discount-banner-with-image.php
(3535B)
<?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 -->
Save
cmd:
run