PATH:
home
/
lab2454c
/
caimegroup.com
/
wp-content
/
plugins
/
woocommerce
/
patterns
<?php /** * Title: Featured Products 2 Columns * Slug: woocommerce-blocks/featured-products-2-cols * Categories: WooCommerce */ $first_title = $content['titles'][0]['default'] ?? ''; $first_description = $content['descriptions'][0]['default'] ?? ''; $first_button = $content['buttons'][0]['default'] ?? ''; ?> <!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":{"top":"var:preset|spacing|40","left":"var:preset|spacing|40"}}}} --> <div class="wp-block-columns alignwide"> <!-- wp:column {"width":"66.66%"} --> <div class="wp-block-column" style="flex-basis:66.66%"> <!-- wp:query {"query":{"perPage":"4","pages":0,"offset":0,"postType":"product","order":"asc","orderBy":"title","author":"","search":"","exclude":[],"sticky":"","inherit":false,"__woocommerceAttributes":[],"__woocommerceStockStatus":["instock","onbackorder"]},"displayLayout":{"type":"flex","columns":2},"namespace":"woocommerce/product-query"} --> <div class="wp-block-query"> <!-- wp:post-template {"__woocommerceNamespace":"woocommerce/product-query/product-template"} --> <!-- wp:woocommerce/product-image {"imageSizing":"single","isDescendentOfQueryLoop":true,"style":{"spacing":{"margin":{"bottom":"24px","top":"0"}}}} /--> <!-- wp:columns {"verticalAlignment":"bottom"} --> <div class="wp-block-columns are-vertically-aligned-bottom"> <!-- wp:column {"verticalAlignment":"bottom"} --> <div class="wp-block-column is-vertically-aligned-bottom"> <!-- wp:post-title {"textAlign":"left","level":3,"isLink":true,"style":{"spacing":{"margin":{"bottom":"0rem","top":"0"}}},"fontSize":"medium","__woocommerceNamespace":"woocommerce/product-query/product-title"} /--></div> <!-- /wp:column --> <!-- wp:column {"verticalAlignment":"bottom"} --> <div class="wp-block-column is-vertically-aligned-bottom"> <!-- wp:woocommerce/product-price {"isDescendentOfQueryLoop":true,"textAlign":"right","fontSize":"small","style":{"spacing":{"margin":{"bottom":"0rem","top":"0"}}}} /--></div> <!-- /wp:column --></div> <!-- /wp:columns --> <!-- /wp:post-template --> </div> <!-- /wp:query --> </div> <!-- /wp:column --> <!-- wp:column {"width":"33.33%"} --> <div class="wp-block-column" style="flex-basis:33.33%"> <!-- wp:heading {"level":4} --> <h4 class="wp-block-heading"><strong><?php echo esc_html( $first_title ); ?></strong></h4> <!-- /wp:heading --> <!-- wp:paragraph --> <p><?php echo esc_html( $first_description ); ?></p> <!-- /wp:paragraph --> <!-- wp:buttons --> <div class="wp-block-buttons"> <!-- wp:button {"width":50} --> <div class="wp-block-button has-custom-width wp-block-button__width-50"> <a href="<?php echo esc_url( get_permalink( wc_get_page_id( 'shop' ) ) ); ?>" class="wp-block-button__link wp-element-button"><?php echo esc_html( $first_button ); ?></a> </div> <!-- /wp:button --> </div> <!-- /wp:buttons --> </div> <!-- /wp:column --> </div> <!-- /wp:columns -->
[-] product-collection-simple-grid.php
[edit]
[-] product-query-product-list-with-full-product-description.php
[edit]
[-] footer-with-2-menus-dark.php
[edit]
[-] featured-category-focus.php
[edit]
[-] related-products.php
[edit]
[-] product-query-large-image-product-gallery.php
[edit]
[-] product-query-4-column-product-row.php
[edit]
[-] footer-large.php
[edit]
[-] product-query-product-list-with-1-1-images.php
[edit]
[-] discount-banner.php
[edit]
[-] product-query-minimal-product-list.php
[edit]
[-] header-large-dark.php
[edit]
[+]
..
[-] no-products-found.php
[edit]
[-] product-collection-full-grid.php
[edit]
[-] product-collections-newest-arrivals.php
[edit]
[-] banner.php
[edit]
[-] footer-with-2-menus.php
[edit]
[-] footer-with-3-menus.php
[edit]
[-] featured-category-cover-image.php
[edit]
[-] filters.php
[edit]
[-] featured-products-fresh-and-tasty.php
[edit]
[-] product-collection-featured-products-5-columns.php
[edit]
[-] hero-product-chessboard.php
[edit]
[-] footer-large-dark.php
[edit]
[-] footer-simple-menu.php
[edit]
[-] footer-simple.php
[edit]
[-] product-search-form.php
[edit]
[-] header-essential-dark.php
[edit]
[-] testimonials-single.php
[edit]
[-] product-collection-rows.php
[edit]
[-] discount-banner-with-image.php
[edit]
[-] product-collection-5-columns.php
[edit]
[-] social-follow-us-in-social-media.php
[edit]
[-] product-collection-grid.php
[edit]
[-] product-details-pattern.php
[edit]
[-] hero-product-3-split.php
[edit]
[-] hero-product-split.php
[edit]
[-] product-details-listing.php
[edit]
[-] testimonials-3-columns.php
[edit]
[-] product-collections-featured-collection.php
[edit]
[-] footer-simple-dark.php
[edit]
[-] small-discount-banner-with-image.php
[edit]
[-] product-query-product-gallery.php
[edit]
[-] product-featured-2-columns.php
[edit]
[-] just-arrived-full-hero.php
[edit]
[-] store-info-alt-image-and-text.php
[edit]
[-] header-minimal.php
[edit]
[-] product-collection-3-columns.php
[edit]
[-] product-collection-banner.php
[edit]
[-] header-large.php
[edit]
[-] featured-category-triple.php
[edit]
[-] error_log
[edit]
[-] product-hero-2-col-2-row.php
[edit]
[-] header-centered-pattern.php
[edit]
[-] product-collections-featured-collections.php
[edit]
[-] header-essential.php
[edit]
[-] shop-by-price.php
[edit]
[-] product-hero.php
[edit]
[-] product-listing-with-gallery-and-description.php
[edit]
[-] product-collection-4-columns.php
[edit]