| 1 |
<?php |
| 2 |
/** |
| 3 |
* Template variables: |
| 4 |
* |
| 5 |
* @var $controllers array Widgets/Addons Settings |
| 6 |
*/ |
| 7 |
|
| 8 |
use RadiusTheme\SB\Helpers\Fns; |
| 9 |
|
| 10 |
// Do not allow directly accessing this file. |
| 11 |
if ( ! defined( 'ABSPATH' ) ) { |
| 12 |
exit( 'This script cannot be accessed directly.' ); |
| 13 |
} |
| 14 |
|
| 15 |
$ajax_filter = apply_filters( 'rtsb/builder/set/current/page/type', '' ); |
| 16 |
$class = rtsb()->has_pro() && Fns::product_filters_has_ajax( $ajax_filter ) ? ' has-ajax-filter' : ' no-ajax-filter'; |
| 17 |
?> |
| 18 |
<div class="rtsb-archive-catalog-ordering<?php echo esc_attr( $class ); ?>"> |
| 19 |
<?php woocommerce_catalog_ordering(); ?> |
| 20 |
</div> |
| 21 |
|