PluginProbe
Filter Everything — WordPress & WooCommerce Filters / trunk
Filter Everything — WordPress & WooCommerce Filters vtrunk
1.9.6 1.9.5 1.9.4 1.9.3 1.9.2.2 1.9.2.1 trunk 1.2.1 1.2.3 1.2.4 1.2.5 1.3.0 1.3.1 1.3.2 1.4.1 1.4.4 1.4.5 1.4.8 1.4.9 1.5.0 1.5.1 1.6.0 1.6.1 1.6.2 1.6.3 All 51 releases
filter-everything / views / frontend / bottom-controls.php

bottom-controls.php in Filter Everything — WordPress & WooCommerce Filters trunk, at views/frontend/bottom-controls.php

32 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * The Template for displaying Filters widget bottom controls.
4 *
5 * This template can be overridden by copying it to yourtheme/filters/bottom-controls.php.
6 *
7 * $action_url - string, URL to the page with filtering results
8 * $found_posts - int|NULL, found posts number
9 *
10 * @see https://filtereverything.pro/resources/templates-overriding/
11 */
12
13 if ( ! defined('ABSPATH') ) {
14 exit;
15 }
16
17 ?>
18 <div class="wpc-filters-widget-controls-item wpc-filters-widget-controls-one">
19 <a class="wpc-filters-apply-button wpc-posts-loaded" href="<?php echo esc_url($action_url); ?>"><?php
20 echo wp_kses(
21 sprintf( __('Show %s', 'filter-everything'),
22 '<span class="wpc-filters-found-posts-wrapper">(<span class="wpc-filters-found-posts" data-wpc-total-found-posts="' . esc_attr($found_posts) . '">'.esc_html($found_posts).'</span>)</span>'),
23 array( 'span' => array('class'=>true, 'data-wpc-total-found-posts'=>true) )
24 );
25 ?></a>
26 </div>
27 <div class="wpc-filters-widget-controls-item wpc-filters-widget-controls-two">
28 <a class="wpc-filters-close-button" href="<?php echo esc_url($action_url); ?>"><?php
29 echo esc_html__('Cancel', 'filter-everything');
30 ?>
31 </a>
32 </div>