Server IP : 192.64.112.168 / Your IP : 52.14.140.108 Web Server : Apache System : Linux nc-ph-2300-85.bluforrest.com 4.18.0-513.9.1.el8_9.x86_64 #1 SMP Sat Dec 2 05:23:44 EST 2023 x86_64 User : expressoneac ( 1128) PHP Version : 8.0.30 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/expressoneac/www/wp-content/plugins/woocommerce/patterns/ |
Upload File : |
<?php /** * Title: Product Filters * Slug: woocommerce-blocks/product-filters * Categories: WooCommerce * Block Types: woocommerce/active-filters, woocommerce/price-filter, woocommerce/attribute-filter, woocommerce/stock-filter */ declare( strict_types = 1 ); ?> <!-- wp:woocommerce/filter-wrapper {"filterType":"active-filters"} --> <div class="wp-block-woocommerce-filter-wrapper"><!-- wp:heading {"level":3} --> <h3><?php esc_html_e( 'Active filters', 'woocommerce' ); ?></h3> <!-- /wp:heading --> <!-- wp:woocommerce/active-filters {"heading":"","lock":{"remove":true}} --> <div class="wp-block-woocommerce-active-filters is-loading" data-display-style="list" data-heading="" data-heading-level="3"><span aria-hidden="true" class="wc-block-active-filters__placeholder"></span></div> <!-- /wp:woocommerce/active-filters --></div> <!-- /wp:woocommerce/filter-wrapper --> <!-- wp:woocommerce/filter-wrapper {"filterType":"price-filter"} --> <div class="wp-block-woocommerce-filter-wrapper"><!-- wp:heading {"level":3} --> <h3><?php esc_html_e( 'Filter by price', 'woocommerce' ); ?></h3> <!-- /wp:heading --> <!-- wp:woocommerce/price-filter {"heading":"","lock":{"remove":true}} --> <div class="wp-block-woocommerce-price-filter is-loading" data-showinputfields="true" data-showfilterbutton="false" data-heading="" data-heading-level="3"><span aria-hidden="true" class="wc-block-product-categories__placeholder"></span></div> <!-- /wp:woocommerce/price-filter --></div> <!-- /wp:woocommerce/filter-wrapper --> <!-- wp:woocommerce/filter-wrapper {"filterType":"stock-filter"} --> <div class="wp-block-woocommerce-filter-wrapper"><!-- wp:heading {"level":3} --> <h3><?php esc_html_e( 'Filter by stock status', 'woocommerce' ); ?></h3> <!-- /wp:heading --> <!-- wp:woocommerce/stock-filter {"heading":"","lock":{"remove":true}} --> <div class="wp-block-woocommerce-stock-filter is-loading" data-show-counts="true" data-heading="" data-heading-level="3"><span aria-hidden="true" class="wc-block-product-stock-filter__placeholder"></span></div> <!-- /wp:woocommerce/stock-filter --></div> <!-- /wp:woocommerce/filter-wrapper --> <!-- wp:woocommerce/filter-wrapper {"filterType":"attribute-filter"} --> <div class="wp-block-woocommerce-filter-wrapper"><!-- wp:heading {"level":3} --> <h3><?php esc_html_e( 'Filter by attribute', 'woocommerce' ); ?></h3> <!-- /wp:heading --> <?php $attribute_id = 0; $attributes = wc_get_attribute_taxonomies(); if ( ! empty( $attributes ) ) { $attribute_id = reset( $attributes )->attribute_id; } ?> <!-- wp:woocommerce/attribute-filter {"attributeId":<?php echo esc_attr( $attribute_id ); ?>,"heading":"","lock":{"remove":true}} --> <div class="wp-block-woocommerce-attribute-filter is-loading" data-attribute-id="<?php echo esc_attr( $attribute_id ); ?>" data-show-counts="true" data-query-type="or" data-heading="" data-heading-level="3"><span aria-hidden="true" class="wc-block-product-attribute-filter__placeholder"></span></div> <!-- /wp:woocommerce/attribute-filter --></div> <!-- /wp:woocommerce/filter-wrapper --> <!-- wp:woocommerce/filter-wrapper {"filterType":"rating-filter"} --> <div class="wp-block-woocommerce-filter-wrapper"><!-- wp:heading {"level":3} --> <h3><?php esc_html_e( 'Filter by rating', 'woocommerce' ); ?></h3> <!-- /wp:heading --> <!-- wp:woocommerce/rating-filter {"lock":{"remove":true}} --> <div class="wp-block-woocommerce-rating-filter is-loading" data-show-counts="true"><span aria-hidden="true" class="wc-block-product-rating-filter__placeholder"></span></div> <!-- /wp:woocommerce/rating-filter --></div> <!-- /wp:woocommerce/filter-wrapper -->