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 / src / Settings / Tabs / AboutProTab.php

AboutProTab.php in Filter Everything — WordPress & WooCommerce Filters trunk, at src/Settings/Tabs/AboutProTab.php

942 lines 74.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3
4 namespace FilterEverything\Filter;
5
6 if ( ! defined('ABSPATH') ) {
7 exit;
8 }
9
10 class AboutProTab extends BaseSettings{
11
12 protected $page = 'wpc-filter-about-pro';
13
14 protected $group = 'wpc_filter_about_pro';
15
16 protected $optionName = 'wpc_filter_about_pro';
17
18 public function init() {
19 add_action( 'admin_init', array( $this, 'initSettings') );
20 add_filter( 'admin_body_class', array( $this, 'wpc_add_body_class' ));
21 }
22
23 /**
24 * Adds a CSS class to the body element when viewing the Filter Everything Pro settings page.
25 *
26 * This function is executed on the 'wp_body_class' filter hook. It checks the current screen ID
27 * and appends a specific CSS class ('wpc-pro-bnf-setting-page') to the body class array
28 * when the user is on the Filter Everything Pro settings page. This class can be used to apply
29 * specific styling rules to the page in the front end.
30 *
31 * @param array $classes An array of existing body classes.
32 * @return array The modified array of body classes.
33 */
34 public function wpc_add_body_class( $classes ) {
35 $screen = get_current_screen();
36
37 if ( 'filters_page_filters-settings' === $screen->id ) {
38 $classes .= ' wpc-pro-bnf-setting-page';
39 }
40
41 return $classes;
42 }
43
44 public function initSettings() {
45 register_setting($this->group, $this->optionName);
46 add_action('wpc_before_sections_settings_fields', array( $this, 'aboutProInfo' ) );
47 }
48
49
50 // render retina images
51 protected function wpc_pro_bnf_get_retina_img( $filename, $alt = '' ) {
52 $path = 'assets/img/Admin/pro-benefits-page/';
53 $base_url = FLRT_PLUGIN_DIR_URL . $path;
54 $base_dir = FLRT_PLUGIN_DIR_PATH . $path;
55
56 // check if image exists
57 if ( ! file_exists( $base_dir . $filename ) ) {
58 return '';
59 }
60
61 $url_1x = $base_url . $filename;
62 $srcset = array();
63
64 // check for @2x and @3x versions
65 foreach ( array( 2, 3 ) as $multiplier ) {
66 $retina_name = str_replace('.png', "@{$multiplier}x.png", $filename);
67 if ( file_exists( $base_dir . $retina_name ) ) {
68 $srcset[] = $base_url . $retina_name . " {$multiplier}x";
69 }
70 }
71
72 $srcset_attr = ! empty( $srcset ) ? ' srcset="' . esc_attr( implode( ', ', $srcset ) ) . '"' : '';
73
74 return sprintf(
75 '<img src="%1$s"%2$s alt="%3$s">',
76 esc_url( $url_1x ),
77 $srcset_attr,
78 esc_attr( $alt )
79 );
80 }
81
82 public function aboutProInfo( $page ) {
83
84 if( $this->page == $page ){
85 ?>
86
87 <div class="wpc-pro-bnf-page-wrap wp-exclude-emoji">
88 <div class="wpc-pro-bnf-wrap">
89 <section class="wpc-pro-bnf-sect-1">
90 <div class="wpc-pro-bnf-sect-1-logo-wrap">
91 <div class="wpc-pro-bnf-sect-1-logo-icon-svg"></div>
92 <div class="wpc-pro-bnf-sect-1-logo-text-svg"></div>
93 <div class="wpc-pro-bnf-sect-1-logo-label"><?php echo _x('PRO', 'benefits-landing', 'filter-everything') ?></div>
94 </div>
95 <div class="wpc-pro-bnf-sect-1-advf-wrap">
96 <p class="wpc-pro-bnf-sect-1-advf-wrap-title">
97 <?php echo wp_kses(
98 implode('<br>', array(
99 _x('<span>Full control</span> over filtering,', 'benefits-landing', 'filter-everything'),
100 _x('page builder support,', 'benefits-landing', 'filter-everything'),
101 _x('SEO ready & instant', 'benefits-landing', 'filter-everything') . ' ⚡️',
102 )),
103 array('br' => array(), 'span' => array())
104 ); ?>
105 </p>
106 <!-- <p class="wpc-pro-bnf-sect-1-advf-wrap-desc">-->
107 <?php /* echo wp_kses(
108 _x('Upgrade to Filter Everything PRO to unlock the full power of filtering, advanced SEO tools, page builder support, and provide a <strong>much better navigation experience</strong> for your visitors.', 'benefits-landing', 'filter-everything'),
109 array('strong' => array(), 'u' => array() )
110 ); */ ?>
111 <!-- </p>-->
112 </div>
113 <div class="wpc-pro-bnf-sect-1-trst-wrap">
114 <div class="wpc-pro-bnf-sect-1-trst-scl">
115 <div class="wpc-pro-bnf-sect-1-trst-scl-stage">
116 <div class="wpc-pro-bnf-sect-1-trst-scl-laurel trst-scl-laurel-left"></div>
117 <div class="wpc-pro-bnf-sect-1-trst-scl-laurel trst-scl-laurel-right"></div>
118 <div class="wpc-pro-bnf-sect-1-trst-scl-card trst-scl-card-card-1">
119 <span class="wpc-pro-bnf-sect-1-trst-scl-label"><?php echo _x('Trusted by over', 'benefits-landing', 'filter-everything'); ?></span>
120 <div class="wpc-pro-bnf-sect-1-trst-scl-big-number-sls"><?php echo _x('160,000+', 'benefits-landing', 'filter-everything'); ?></div>
121 <span class="wpc-pro-bnf-sect-1-trst-scl-subtext-bl"><?php echo _x('users worldwide', 'benefits-landing', 'filter-everything'); ?></span>
122 </div>
123 <div class="wpc-pro-bnf-sect-1-trst-scl-card trst-scl-card-card-2">
124 <div class="wpc-pro-bnf-sect-1-trst-scl-big-number"><?php echo _x('4.88/5', 'benefits-landing', 'filter-everything'); ?></div>
125 <span class="wpc-pro-bnf-sect-1-trst-scl-label"><?php echo _x('average rating','benefits-landing', 'filter-everything'); ?></span>
126 <div class="wpc-pro-bnf-sect-1-trst-scl-stars">
127 <div class="wpc-pro-bnf-sect-1-trst-scl-star"></div>
128 <div class="wpc-pro-bnf-sect-1-trst-scl-star"></div>
129 <div class="wpc-pro-bnf-sect-1-trst-scl-star"></div>
130 <div class="wpc-pro-bnf-sect-1-trst-scl-star"></div>
131 <div class="wpc-pro-bnf-sect-1-trst-scl-star"></div>
132 </div>
133 <span class="wpc-pro-bnf-sect-1-trst-scl-subtext"><?php echo _x('from real customers','benefits-landing', 'filter-everything'); ?></span>
134 </div>
135 </div>
136 </div>
137 </div>
138 <div class="wpc-pro-bnf-sect-1-anwp-wrap">
139 <div class="wpc-pro-bnf-sect-1-anwp-text-wrap">
140 <p class="wpc-pro-bnf-sect-1-anwp-text"><?php echo wp_kses(
141 _x('Upgrade to Filter Everything PRO to unlock the full power of filtering, advanced SEO tools, page builder support, and provide a <strong>much better navigation experience</strong> for your visitors.', 'benefits-landing', 'filter-everything'),
142 array('strong' => array(), 'u' => array())
143 ); ?>
144 </p>
145 </div>
146 <ul class="wpc-pro-bnf-sect-1-anwp-list">
147 <li class="wpc-pro-bnf-sect-1-anwp-list-item">
148 <div class="wpc-pro-bnf-sect-1-anwp-list-item-icon"><svg width="24" height="24"><use href="#fetm-icon-check-double"/></svg></div>
149 <p class="wpc-pro-bnf-sect-1-anwp-list-item-text"><?php echo _x('Filter any posts list, custom query, or page builder content','benefits-landing', 'filter-everything'); ?></p>
150 </li>
151 <li class="wpc-pro-bnf-sect-1-anwp-list-item">
152 <div class="wpc-pro-bnf-sect-1-anwp-list-item-icon"><svg width="24" height="24"><use href="#fetm-icon-check-double"/></svg></div>
153 <p class="wpc-pro-bnf-sect-1-anwp-list-item-text"><?php echo _x('Improve conversions and user experience with advanced filtering capabilities','benefits-landing', 'filter-everything'); ?></p>
154 </li>
155 <li class="wpc-pro-bnf-sect-1-anwp-list-item">
156 <div class="wpc-pro-bnf-sect-1-anwp-list-item-icon"><svg width="24" height="24"><use href="#fetm-icon-check-double"/></svg></div>
157 <p class="wpc-pro-bnf-sect-1-anwp-list-item-text"><?php echo _x('Get more organic traffic with SEO tools for filtered pages','benefits-landing', 'filter-everything'); ?></p>
158 </li>
159 </ul>
160 </div>
161 <div class="wpc-pro-bnf-sect-1-btns-wrap">
162 <a href="<?php echo esc_url(flrt_unlock_pro_link('features_view_link')) ?>" target="_blank" class="wpc-pro-bnf-sect-1-btns-up-to-pro"><?php echo _x('Upgrade to PRO', 'benefits-landing', 'filter-everything'); ?> <?php echo flrt_crown_icon(); ?></a>
163 <a href="#why-choose-pro" class="wpc-pro-bnf-sect-1-btns-view-all-pro"><?php echo _x('View all PRO features', 'benefits-landing', 'filter-everything'); ?> </a>
164 </div>
165 </section>
166
167 <!-- ------------------------------------- Trusted by WordPress Professionals (reviews) ----------------------------------------- -->
168 <section class="wpc-pro-bnf-sect-rvw">
169 <h2 class="wpc-pro-bnf-sect-rvw-title"><?php echo _x('Trusted by WordPress Professionals', 'benefits-landing', 'filter-everything'); ?></h2>
170 <p class="wpc-pro-bnf-sect-rvw-subtitle"><?php echo wp_kses( _x( 'Real reviews from independent experts<br>and verified customers.', 'benefits-landing', 'filter-everything' ), array( 'br' => array() ) ); ?></p>
171 <input type="checkbox" id="wpc-rvw-toggle" class="fetm-toggle-checkbox" hidden>
172 <div class="wpc-pro-bnf-sect-rvw-grid">
173 <?php
174 // YouTube video IDs — to add or swap a video, just change the ID here.
175 $rvw_videos = array( 'g1_qlJvNdsg', 'cNqd210P920', 'Ki7LBcrYuAo' );
176
177 // Real customer reviews taken from the filtereverything.pro landing page.
178 $rvw_reviews = array(
179 array(
180 'author' => 'ScarletLyn',
181 'date' => '2022-03-12',
182 'url' => 'https://codecanyon.net/ratings/3352977',
183 'text' => "I am crying my eyeballs out of happiness. I cannot thank you enough. I just spent the whole weekend trying to make one myself because all the others that were fitting my shop scenario were way too heavy and chunky. I needed a specific structure for my website along with efficiently displaying filters depending on which section of the shop the user is in, and GOD, your plugin has ALL the freaking options possible to make it possible for me. I love you, marry me! (Just kidding, but you get the idea). My Query Monitor is happy, I am happy, and when my shop will go online, my customers will be happy to enjoy a blazing fast filtering engine for my greeting cards and stationery! Keep the great work, and please please, keep it loading FAST. Take care.",
184 ),
185 array(
186 'author' => 'bsmolyanov',
187 'date' => '2024-09-08',
188 'url' => 'https://codecanyon.net/ratings/3601791',
189 'text' => "Filter Everything Pro is magnificent plugin! I use it for filtering WordPress posts database of more than 150k posts, with more than 10 custom taxonomies and thousands of terms and it does a great job! Not to mention, Filter Everything Pro is working alongside the GeneratePress theme like a charm, where other filtering solutions just do not cut it. The plugin is very well documented and very flexible for customization. Last but not least, the assistance I received was absolutely exceeding any level of support I have received around here - both in terms of speed, thoroughness and accuracy! The support team was extremely helpful, taking the time to review my entire setup (which is quite complex) and to pinpoint an issue which was related to a third-party plugin and has nothing to do with Filter Everything Pro. Outstanding!!! I definitely recommend Filter Everything Pro to everyone who needs a good filtering solution for posts, custom post types or WooCommerce products.",
190 ),
191 array(
192 'author' => 'migge',
193 'date' => '2024-10-17',
194 'url' => 'https://codecanyon.net/ratings/3605614',
195 'text' => "There are many reason to give this plugin a 5-star rating! I picked Customer Support because it's VERY important. Functionality is easier to spot before purchase. The support for this plugin is beyond what you would expect, so i can recommend Filter Everything both as the best filter plugin that comes along with a matching support. Thanks guys!",
196 ),
197 );
198
199 $rvw_total = max( count( $rvw_videos ), count( $rvw_reviews ) );
200
201 for ( $i = 0; $i < $rvw_total; $i++ ) :
202 // After the first row (one video + one review) push the rest under the "View more" toggle.
203 if ( $i === 1 ) :
204 ?>
205 </div>
206 <div class="wpc-pro-bnf-sect-rvw-more">
207 <div class="wpc-pro-bnf-sect-rvw-grid">
208 <?php
209 endif;
210 $rvw_has_video = isset( $rvw_videos[ $i ] );
211 $rvw_has_review = isset( $rvw_reviews[ $i ] );
212
213 // Checkerboard layout: even rows start with the video card, odd rows start with the text card.
214 if ( $i % 2 === 0 ) {
215 if ( $rvw_has_video ) { $this->renderRvwVideoCard( $rvw_videos[ $i ] ); }
216 if ( $rvw_has_review ) { $this->renderRvwReviewCard( $rvw_reviews[ $i ] ); }
217 } else {
218 if ( $rvw_has_review ) { $this->renderRvwReviewCard( $rvw_reviews[ $i ] ); }
219 if ( $rvw_has_video ) { $this->renderRvwVideoCard( $rvw_videos[ $i ] ); }
220 }
221 endfor;
222 ?>
223 </div>
224 <div class="wpc-pro-bnf-sect-rvw-fade" aria-hidden="true"></div>
225 </div>
226 <div class="wpc-pro-bnf-sect-rvw-bottom">
227 <label for="wpc-rvw-toggle" class="fetm-toggle-btn">
228 <span class="fetm-toggle-text fetm-toggle-text-more"><?php echo esc_html_x( 'View more', 'benefits-landing', 'filter-everything' ); ?></span>
229 <span class="fetm-toggle-text fetm-toggle-text-less"><?php echo esc_html_x( 'View less', 'benefits-landing', 'filter-everything' ); ?></span>
230 </label>
231 </div>
232 </section>
233
234 <!-- ------------------------------------- section 6 FREE VS PRO START ----------------------------------------- -->
235 <section class="fetm-freevspro fetm-section" id="why-choose-pro">
236 <div class="fetm-freevspro-wrap">
237 <h2 class="fetm-h2-medium"><?php echo wp_kses( _x( 'Choose the right version<br>for you', 'benefits-landing', 'filter-everything' ), [ 'br' => [] ] ); ?></h2>
238 <input type="checkbox" id="fetm-toggle-rows" class="fetm-toggle-checkbox" hidden>
239 <div class="fetm-features-grid">
240 <div class="fetm-row fetm-grid-header">
241 <div class="fetm-feature fetm-header"><?php echo _x('Features', 'benefits-landing', 'filter-everything'); ?></div>
242 <div class="fetm-header fetm-free"><?php echo _x('Current version', 'benefits-landing', 'filter-everything'); ?></div>
243 <div class="fetm-header fetm-pro"><?php echo _x('PRO', 'benefits-landing', 'filter-everything'); ?></div>
244 </div>
245 <!-- Advanced Filtering & Core Value -->
246 <div class="fetm-section-group fetm-section-advanced-filtering">
247
248 <div class="fetm-row fetm-section">
249 <div class="fetm-feature"><?php echo _x('Advanced Filtering & Core Value', 'benefits-landing', 'filter-everything'); ?></div>
250 <div class="fetm-cell fetm-free"></div>
251 <div class="fetm-cell fetm-pro"></div>
252 </div>
253 <div class="fetm-row">
254 <div class="fetm-feature"><?php echo _x('Filter any content — page builders, plugins, or even custom code', 'benefits-landing', 'filter-everything'); ?></div>
255 <div class="fetm-cell fetm-free">
256 <svg width="24" height="24"><use href="#fetm-icon-minus"/></svg>
257 </div>
258 <div class="fetm-cell fetm-pro">
259 <svg width="24" height="24"><use href="#fetm-icon-check-double"/></svg>
260 </div>
261 </div>
262 <div class="fetm-row">
263 <div class="fetm-feature"><?php echo _x('Instant filter counts', 'benefits-landing', 'filter-everything'); ?><span class="fetm-new-badge"><?php echo _x('New', 'benefits-landing', 'filter-everything'); ?></span><span class="wpc-icon-help-tip fetm-help-tip" data-tip="<?php echo esc_attr_x('Filter counts update instantly as visitors click — no page reload, no server request. Even faster than AJAX.', 'benefits-landing', 'filter-everything'); ?>">?</span></div>
264 <div class="fetm-cell fetm-free">
265 <svg width="24" height="24"><use href="#fetm-icon-minus"/></svg>
266 </div>
267 <div class="fetm-cell fetm-pro">
268 <svg width="24" height="24"><use href="#fetm-icon-check-double"/></svg>
269 </div>
270 </div>
271 <div class="fetm-row">
272 <div class="fetm-feature"> <?php echo _x( 'Unlimited Filter Sets', 'benefits-landing', 'filter-everything' ); ?></div>
273 <div class="fetm-cell fetm-free">
274 <svg width="24" height="24"><use href="#fetm-icon-minus"/></svg>
275 </div>
276 <div class="fetm-cell fetm-pro">
277 <svg width="24" height="24"><use href="#fetm-icon-check-double"/></svg>
278 </div>
279 </div>
280 <div class="fetm-row">
281 <div class="fetm-feature"><?php echo _x('Accurate out-of-stock products filtering', 'benefits-landing', 'filter-everything'); ?></div>
282 <div class="fetm-cell fetm-free">
283 <svg width="24" height="24"><use href="#fetm-icon-minus"/></svg>
284 </div>
285 <div class="fetm-cell fetm-pro">
286 <svg width="24" height="24"><use href="#fetm-icon-check-double"/></svg>
287 </div>
288 </div>
289 <div class="fetm-row">
290 <div class="fetm-feature"><?php echo _x('Accurate WooCommerce variation filtering', 'benefits-landing', 'filter-everything'); ?></div>
291 <div class="fetm-cell fetm-free">
292 <svg width="24" height="24"><use href="#fetm-icon-minus"/></svg>
293 </div>
294 <div class="fetm-cell fetm-pro">
295 <svg width="24" height="24"><use href="#fetm-icon-check-double"/></svg>
296 </div>
297 </div>
298 <div class="fetm-row">
299 <div class="fetm-feature"><?php echo _x('User-friendly mobile filters widget', 'benefits-landing', 'filter-everything'); ?></div>
300 <div class="fetm-cell fetm-free">
301 <svg width="24" height="24"><use href="#fetm-icon-minus"/></svg>
302 </div>
303 <div class="fetm-cell fetm-pro">
304 <svg width="24" height="24"><use href="#fetm-icon-check-double"/></svg>
305 </div>
306 </div>
307 <div class="fetm-row">
308 <div class="fetm-feature"><?php echo _x('Auto-hiding empty filters', 'benefits-landing', 'filter-everything'); ?></div>
309 <div class="fetm-cell fetm-free">
310 <svg width="24" height="24"><use href="#fetm-icon-minus"/></svg>
311 </div>
312 <div class="fetm-cell fetm-pro">
313 <svg width="24" height="24"><use href="#fetm-icon-check-double"/></svg>
314 </div>
315 </div>
316 </div>
317 <!-- SEO & Traffic Growth -->
318 <div class="fetm-section-group fetm-section-seo-traffic">
319 <div class="fetm-row fetm-section">
320 <div class="fetm-feature"><?php echo _x('SEO & Traffic Growth', 'benefits-landing', 'filter-everything'); ?></div>
321 <div class="fetm-cell fetm-free"></div>
322 <div class="fetm-cell fetm-pro"></div>
323 </div>
324 <div class="fetm-row">
325 <div class="fetm-feature"><?php echo _x('Full SEO control for filtered pages', 'benefits-landing', 'filter-everything'); ?></div>
326 <div class="fetm-cell fetm-free">
327 <svg width="24" height="24"><use href="#fetm-icon-minus"/></svg>
328 </div>
329 <div class="fetm-cell fetm-pro">
330 <svg width="24" height="24"><use href="#fetm-icon-check-double"/></svg>
331 </div>
332 </div>
333 <div class="fetm-row">
334 <div class="fetm-feature"><?php echo _x('Clean, SEO-friendly filter URLs', 'benefits-landing', 'filter-everything'); ?></div>
335 <div class="fetm-cell fetm-free">
336 <svg width="24" height="24"><use href="#fetm-icon-minus"/></svg>
337 </div>
338 <div class="fetm-cell fetm-pro">
339 <svg width="24" height="24"><use href="#fetm-icon-check-double"/></svg>
340 </div>
341 </div>
342 <div class="fetm-row">
343 <div class="fetm-feature"><?php echo _x('No empty filter pages or 404s', 'benefits-landing', 'filter-everything'); ?></div>
344 <div class="fetm-cell fetm-free">
345 <svg width="24" height="24"><use href="#fetm-icon-minus"/></svg>
346 </div>
347 <div class="fetm-cell fetm-pro">
348 <svg width="24" height="24"><use href="#fetm-icon-check-double"/></svg>
349 </div>
350 </div>
351 <div class="fetm-row">
352 <div class="fetm-feature"><?php echo _x('XML sitemap for filtered pages', 'benefits-landing', 'filter-everything'); ?></div>
353 <div class="fetm-cell fetm-free">
354 <svg width="24" height="24"><use href="#fetm-icon-minus"/></svg>
355 </div>
356 <div class="fetm-cell fetm-pro">
357 <svg width="24" height="24"><use href="#fetm-icon-check-double"/></svg>
358 </div>
359 </div>
360 </div>
361 <!-- Core Features (Free + Pro) -->
362 <div class="fetm-section-group fetm-section-core-features">
363 <div class="fetm-row fetm-section">
364 <div class="fetm-feature"><?php echo _x('Core Features (Free + Pro)', 'benefits-landing', 'filter-everything'); ?></div>
365 <div class="fetm-cell fetm-free"></div>
366 <div class="fetm-cell fetm-pro"></div>
367 </div>
368 <div class="fetm-row">
369 <div class="fetm-feature"><?php echo _x('Filtering any post type', 'benefits-landing', 'filter-everything'); ?></div>
370 <div class="fetm-cell fetm-free">
371 <svg width="24" height="24"><use href="#fetm-icon-check"/></svg>
372 </div>
373 <div class="fetm-cell fetm-pro">
374 <svg width="24" height="24"><use href="#fetm-icon-check-double"/></svg>
375 </div>
376 </div>
377 <div class="fetm-row">
378 <div class="fetm-feature"><?php echo _x('Filter by any criteria', 'benefits-landing', 'filter-everything'); ?></div>
379 <div class="fetm-cell fetm-free">
380 <svg width="24" height="24"><use href="#fetm-icon-check"/></svg>
381 </div>
382 <div class="fetm-cell fetm-pro">
383 <svg width="24" height="24"><use href="#fetm-icon-check-double"/></svg>
384 </div>
385 </div>
386 <div class="fetm-row">
387 <div class="fetm-feature"><?php echo _x('Auto-generated filters', 'benefits-landing', 'filter-everything'); ?></div>
388 <div class="fetm-cell fetm-free">
389 <svg width="24" height="24"><use href="#fetm-icon-check"/></svg>
390 </div>
391 <div class="fetm-cell fetm-pro">
392 <svg width="24" height="24"><use href="#fetm-icon-check-double"/></svg>
393 </div>
394 </div>
395 <div class="fetm-row">
396 <div class="fetm-feature"><?php echo _x('AJAX filtering', 'benefits-landing', 'filter-everything'); ?></div>
397 <div class="fetm-cell fetm-free">
398 <svg width="24" height="24"><use href="#fetm-icon-check"/></svg>
399 </div>
400 <div class="fetm-cell fetm-pro">
401 <svg width="24" height="24"><use href="#fetm-icon-check-double"/></svg>
402 </div>
403 </div>
404 <div class="fetm-row">
405 <div class="fetm-feature"><?php echo _x('Step-by-step filtering', 'benefits-landing', 'filter-everything'); ?></div>
406 <div class="fetm-cell fetm-free">
407 <svg width="24" height="24"><use href="#fetm-icon-check"/></svg>
408 </div>
409 <div class="fetm-cell fetm-pro">
410 <svg width="24" height="24"><use href="#fetm-icon-check-double"/></svg>
411 </div>
412 </div>
413 <div class="fetm-row">
414 <div class="fetm-feature"><?php echo _x('Search within filtered results', 'benefits-landing', 'filter-everything'); ?></div>
415 <div class="fetm-cell fetm-free">
416 <svg width="24" height="24"><use href="#fetm-icon-check"/></svg>
417 </div>
418 <div class="fetm-cell fetm-pro">
419 <svg width="24" height="24"><use href="#fetm-icon-check-double"/></svg>
420 </div>
421 </div>
422 <div class="fetm-row">
423 <div class="fetm-feature"><?php echo _x('Sorting widget', 'benefits-landing', 'filter-everything'); ?></div>
424 <div class="fetm-cell fetm-free">
425 <svg width="24" height="24"><use href="#fetm-icon-check"/></svg>
426 </div>
427 <div class="fetm-cell fetm-pro">
428 <svg width="24" height="24"><use href="#fetm-icon-check-double"/></svg>
429 </div>
430 </div>
431 <div class="fetm-row">
432 <div class="fetm-feature"><?php echo _x('Multilingual compatibility', 'benefits-landing', 'filter-everything'); ?></div>
433 <div class="fetm-cell fetm-free">
434 <svg width="24" height="24"><use href="#fetm-icon-check"/></svg>
435 </div>
436 <div class="fetm-cell fetm-pro">
437 <svg width="24" height="24"><use href="#fetm-icon-check-double"/></svg>
438 </div>
439 </div>
440 <div class="fetm-row">
441 <div class="fetm-feature"><?php echo _x('Responsive design', 'benefits-landing', 'filter-everything'); ?></div>
442 <div class="fetm-cell fetm-free">
443 <svg width="24" height="24"><use href="#fetm-icon-check"/></svg>
444 </div>
445 <div class="fetm-cell fetm-pro">
446 <svg width="24" height="24"><use href="#fetm-icon-check-double"/></svg>
447 </div>
448 </div>
449 </div>
450 <!-- Advanced Workflow & Flexibility -->
451 <div class="fetm-section-group fetm-section-workflow">
452
453 <div class="fetm-row fetm-section">
454 <div class="fetm-feature"><?php echo _x('Advanced Workflow & Flexibility', 'benefits-landing', 'filter-everything'); ?></div>
455 <div class="fetm-cell fetm-free"></div>
456 <div class="fetm-cell fetm-pro"></div>
457 </div>
458 <div class="fetm-row">
459 <div class="fetm-feature"><?php echo _x('Import & export settings', 'benefits-landing', 'filter-everything'); ?></div>
460 <div class="fetm-cell fetm-free">
461 <svg width="24" height="24"><use href="#fetm-icon-minus"/></svg>
462 </div>
463 <div class="fetm-cell fetm-pro">
464 <svg width="24" height="24"><use href="#fetm-icon-check-double"/></svg>
465 </div>
466 </div>
467 <div class="fetm-row">
468 <div class="fetm-feature"><?php echo _x('Advanced AJAX support', 'benefits-landing', 'filter-everything'); ?></div>
469 <div class="fetm-cell fetm-free">
470 <svg width="24" height="24"><use href="#fetm-icon-minus"/></svg>
471 </div>
472 <div class="fetm-cell fetm-pro">
473 <svg width="24" height="24"><use href="#fetm-icon-check-double"/></svg>
474 </div>
475 </div>
476 <div class="fetm-row">
477 <div class="fetm-feature"><?php echo _x('Additional filtering options', 'benefits-landing', 'filter-everything'); ?></div>
478 <div class="fetm-cell fetm-free">
479 <svg width="24" height="24"><use href="#fetm-icon-minus"/></svg>
480 </div>
481 <div class="fetm-cell fetm-pro">
482 <svg width="24" height="24"><use href="#fetm-icon-check-double"/></svg>
483 </div>
484 </div>
485 <div class="fetm-row">
486 <div class="fetm-feature"><?php echo _x('One-click Filter Set duplication', 'benefits-landing', 'filter-everything'); ?></div>
487 <div class="fetm-cell fetm-free">
488 <svg width="24" height="24"><use href="#fetm-icon-minus"/></svg>
489 </div>
490 <div class="fetm-cell fetm-pro">
491 <svg width="24" height="24"><use href="#fetm-icon-check-double"/></svg>
492 </div>
493 </div>
494 </div>
495 <!-- Support -->
496 <div class="fetm-section-group fetm-section-support">
497 <div class="fetm-row fetm-section">
498 <div class="fetm-feature"><?php echo _x('Support', 'benefits-landing', 'filter-everything'); ?></div>
499 <div class="fetm-cell fetm-free"></div>
500 <div class="fetm-cell fetm-pro"></div>
501 </div>
502 <div class="fetm-row">
503 <div class="fetm-feature"><?php echo _x('Standard support', 'benefits-landing', 'filter-everything'); ?></div>
504 <div class="fetm-cell fetm-free">
505 <svg width="24" height="24"><use href="#fetm-icon-check"/></svg>
506 </div>
507 <div class="fetm-cell fetm-pro">
508 <svg width="24" height="24"><use href="#fetm-icon-check-double"/></svg>
509 </div>
510 </div>
511 <div class="fetm-row">
512 <div class="fetm-feature"><?php echo _x('Priority support', 'benefits-landing', 'filter-everything'); ?></div>
513 <div class="fetm-cell fetm-free">
514 <svg width="24" height="24"><use href="#fetm-icon-minus"/></svg>
515 </div>
516 <div class="fetm-cell fetm-pro">
517 <svg width="24" height="24"><use href="#fetm-icon-check-double"/></svg>
518 </div>
519 </div>
520 </div>
521 </div>
522 <div class="fetm-freevspro-bottom">
523 <label for="fetm-toggle-rows" class="fetm-toggle-btn">
524 <span class="fetm-toggle-text fetm-toggle-text-more"><?php echo esc_html_x('View more', 'benefits-landing', 'filter-everything'); ?></span>
525 <span class="fetm-toggle-text fetm-toggle-text-less"><?php echo esc_html_x('View less', 'benefits-landing', 'filter-everything'); ?></span>
526 </label>
527 <div class="fetm-freevspro-links">
528 <a href="<?php echo esc_url(flrt_unlock_pro_link('compare_buy_btn')) ?>" target="_blank" class="wpc-pro-bnf-sect-1-btns-up-to-pro"><?php echo _x('Buy PRO', 'benefits-landing', 'filter-everything'); ?> <?php echo flrt_crown_icon(); ?></a>
529 </div>
530 </div>
531 <div class="fetm-freevspro-bottom-extra-wrap">
532 <p class="fetm-freevspro-bottom-extra-title"><?php echo _x('Unlock all PRO features', 'benefits-landing', 'filter-everything'); ?></p>
533 <div class="fetm-freevspro-bottom-extra-grid">
534 <div class="fetm-freevspro-bottom-extra-grid-item">
535 <div class="fetm-freevspro-bottom-extra-grid-item-wlt-icon"></div>
536 <p class="fetm-freevspro-bottom-extra-grid-item-text"><?php echo _x('Risk-free purchase', 'benefits-landing', 'filter-everything'); ?></p>
537 </div>
538 <div class="fetm-freevspro-bottom-extra-grid-item">
539 <div class="fetm-freevspro-bottom-extra-grid-item-res-icon"></div>
540 <p class="fetm-freevspro-bottom-extra-grid-item-text"><?php echo _x('Regular updates', 'benefits-landing', 'filter-everything'); ?></p>
541 </div>
542 <div class="fetm-freevspro-bottom-extra-grid-item">
543 <div class="fetm-freevspro-bottom-extra-grid-item-hdf-icon"></div>
544 <p class="fetm-freevspro-bottom-extra-grid-item-text"><?php echo _x('Premium support', 'benefits-landing', 'filter-everything'); ?></p>
545 </div>
546 </div>
547 </div>
548 </div>
549 </section>
550 <!-- ------------------------------------- section 6 FREE VS PRO END ----------------------------------------- -->
551
552 <section class="wpc-pro-bnf-sect-2">
553 <h2 class="wpc-pro-bnf-sect-2-title">
554 <?php echo wp_kses(
555 _x('Why Upgrade to<br>Filter Everything PRO?', 'benefits-landing', 'filter-everything'),
556 array('br' => array())
557 ); ?>
558 </h2>
559 <div class="wpc-pro-bnf-sect-2-ultm-wrap">
560 <div class="wpc-pro-bnf-sect-2-ultm-wrap-ultm-img">
561 <?php echo $this->wpc_pro_bnf_get_retina_img( 'wpc-unlm-numb-fset.png', _x( 'Unlimited Filter Sets', 'benefits-landing', 'filter-everything' ) ); ?>
562 </div>
563 <h3 class="wpc-pro-bnf-sect-2-ultm-h3-title"><?php echo _x('∞ Create Unlimited Filter Sets', 'benefits-landing', 'filter-everything'); ?></h3>
564 <p class="wpc-pro-bnf-sect-2-ultm-text"><?php echo _x('Create unique filters for every section of your site and let visitors filter content by relevant criteria — e.g. smartphones by brand, clothing by size, or cars by fuel type.', 'benefits-landing', 'filter-everything'); ?></p>
565 </div>
566 <div class="wpc-pro-bnf-sect-2-seou-wrap">
567 <div class="wpc-pro-bnf-sect-2-seou-img">
568 <?php echo $this->wpc_pro_bnf_get_retina_img( 'wpc-seo-cap-cln-url.png', _x( 'SEO Capabilities', 'benefits-landing', 'filter-everything' ) ); ?>
569 </div>
570 <h3 class="wpc-pro-bnf-sect-2-seou-h3-title"><?php echo _x('Auto-generate SEO data for filtered pages', 'benefits-landing', 'filter-everything'); ?></h3>
571 <p class="wpc-pro-bnf-sect-2-seou-text"><?php echo _x('Generate SEO titles, H1s, descriptions, and SEO texts based on selected filters to attract more organic traffic from search engines and AI services.', 'benefits-landing', 'filter-everything'); ?></p>
572 </div>
573 <div class="wpc-pro-bnf-sect-2-mobl-wrap">
574 <div class="wpc-pro-bnf-sect-2-mobl-img">
575 <?php echo $this->wpc_pro_bnf_get_retina_img( 'wpc-mob-dvs-comf.png', _x( 'Mobile Devices', 'benefits-landing', 'filter-everything' ) ); ?>
576 </div>
577 <div class="wpc-pro-bnf-sect-2-mobl-h3-title-text-wrap">
578 <h3 class="wpc-pro-bnf-sect-2-mobl-h3-title"><?php echo wp_kses(
579 _x('Maximum convenience for Mobile devices', 'benefits-landing', 'filter-everything'),
580 array('br' => array())
581 ); ?></h3>
582 <p class="wpc-pro-bnf-sect-2-mobl-text"><?php echo _x('Use the built-in, user-friendly filter widget for mobile devices.', 'benefits-landing', 'filter-everything'); ?></p>
583 </div>
584 </div>
585 </section>
586
587 <section class="wpc-pro-bnf-sect-4">
588 <h2 class="wpc-pro-bnf-sect-4-title">
589 <?php echo wp_kses( _x( 'What does Filter Everything PRO<br>unlock?', 'benefits-landing', 'filter-everything' ), [ 'br' => [] ] ); ?>
590 </h2>
591 <p class="wpc-pro-bnf-sect-4-desc"><span class="wpc-pro-bnf-sect-4-text-wrapper"><?php echo wp_kses( _x( "The PRO version includes tools that <strong>increase conversions</strong><br />by helping visitors find the right content faster.", 'benefits-landing', 'filter-everything' ), [ 'br' => [], 'strong' => [] ] ); ?></span></p>
592 <div class="wpc-pro-bnf-sect-4-gseo-wrap">
593 <div class="wpc-pro-bnf-sect-4-gseo-icon"></div>
594 <p class="wpc-pro-bnf-sect-4-item-title"><?php echo wp_kses( _x( 'Full control over SEO', 'benefits-landing', 'filter-everything' ), [ 'br' => [] ] ); ?></p>
595 <p class="wpc-pro-bnf-sect-4-item-desc"><?php echo _x('Get the most out of filtered pages with full control over SEO titles, H1s, descriptions, SEO text, and XML sitemaps. Better indexation means more organic traffic.', 'benefits-landing', 'filter-everything'); ?></p>
596 </div>
597 <div class="wpc-pro-bnf-sect-4-flwp-wrap">
598 <div class="wpc-pro-bnf-sect-4-flwp-icon"></div>
599 <p class="wpc-pro-bnf-sect-4-item-title"><?php echo wp_kses( _x( 'Filter Any Content', 'benefits-landing', 'filter-everything' ), [ 'br' => [] ] ); ?></p>
600 <p class="wpc-pro-bnf-sect-4-item-desc"><?php echo _x('Page builder content, WooCommerce products, custom post types, and even custom WP_Query — the PRO version handles it all!', 'benefits-landing', 'filter-everything'); ?></p>
601 </div>
602 <div class="wpc-pro-bnf-sect-4-flst-wrap">
603 <div class="wpc-pro-bnf-sect-4-flst-icon"></div>
604 <p class="wpc-pro-bnf-sect-4-item-title"><?php echo wp_kses( _x( '∞ Unlimited Filter Sets', 'benefits-landing', 'filter-everything' ), [ 'br' => [] ] ); ?></p>
605 <p class="wpc-pro-bnf-sect-4-item-desc"><?php echo _x('Create a dedicated Filter Set for every section of your site instead of using the same filters everywhere.', 'benefits-landing', 'filter-everything'); ?></p>
606 </div>
607 <div class="wpc-pro-bnf-sect-4-dupl-wrap">
608 <div class="wpc-pro-bnf-sect-4-dupl-icon"></div>
609 <p class="wpc-pro-bnf-sect-4-item-title"><?php echo _x('Tools for faster workflow', 'benefits-landing', 'filter-everything'); ?></p>
610 <p class="wpc-pro-bnf-sect-4-item-desc"><?php echo _x('Back up, duplicate, transfer, and reuse your filters, Filter Sets, and settings with ease.', 'benefits-landing', 'filter-everything'); ?></p>
611 </div>
612 <div class="wpc-pro-bnf-sect-4-extr-wrap">
613 <div class="wpc-pro-bnf-sect-4-extr-icon"></div>
614 <p class="wpc-pro-bnf-sect-4-item-title"><?php echo _x('Precision filtering', 'benefits-landing', 'filter-everything'); ?></p>
615 <p class="wpc-pro-bnf-sect-4-item-desc"><?php echo _x('Accurate variation filtering, proper handling of out-of-stock products, auto-hiding empty filters, and more — the details that make the difference.', 'benefits-landing', 'filter-everything'); ?></p>
616 </div>
617 </section>
618
619 <!-- ------------------------------------- Works and is trusted worldwide (moved below "What does PRO unlock?") ----------------------------------------- -->
620 <section class="wpc-pro-bnf-sect-3">
621 <h2 class="wpc-pro-bnf-sect-3-title"><?php echo wp_kses(
622 _x('Works and is trusted<br>worldwide', 'benefits-landing', 'filter-everything'),
623 array('br' => array())
624 ); ?></h2>
625 <div class="wpc-pro-bnf-sect-3-wbst-wrap">
626 <h3 class="wpc-pro-bnf-sect-3-wbst-h3"><?php echo _x('160&nbsp;000+', 'benefits-landing', 'filter-everything'); ?></h3>
627 <p class="wpc-pro-bnf-sect-3-wbst-desc"><?php echo _x('websites / users worldwide', 'benefits-landing', 'filter-everything'); ?></p>
628 </div>
629 <div class="wpc-pro-bnf-sect-3-csmt-wrap">
630 <h3 class="wpc-pro-bnf-sect-3-csmt-h3"><?php echo _x('16&nbsp;200+', 'benefits-landing', 'filter-everything'); ?></h3>
631 <p class="wpc-pro-bnf-sect-3-csmt-desc"><?php echo _x('customers on CodeCanyon', 'benefits-landing', 'filter-everything'); ?></p>
632 </div>
633 <div class="wpc-pro-bnf-sect-3-rate-wrap">
634 <h3 class="wpc-pro-bnf-sect-3-rate-h3"><?php echo _x('4.88/5', 'benefits-landing', 'filter-everything'); ?></h3>
635 <p class="wpc-pro-bnf-sect-3-rate-desc"><?php echo _x('rating based on real reviews', 'benefits-landing', 'filter-everything'); ?></p>
636 </div>
637 </section>
638
639 <section class="wpc-pro-bnf-sect-5">
640 <h2 class="wpc-pro-bnf-sect-5-title"><?php echo _x('PRO Features Overview', 'benefits-landing', 'filter-everything'); ?></h2>
641
642 <div class="wpc-pro-bnf-sect-5-ablt-wrap">
643 <div class="wpc-pro-bnf-sect-5-default-data-wrap">
644 <div class="wpc-pro-bnf-sect-5-pro-label"><?php echo _x('PRO', 'benefits-landing', 'benefits-landing', 'filter-everything') ?></div>
645 <p class="pc-pro-bnf-sect-5-default-text"><?php echo _x('Full power of filtering', 'benefits-landing', 'filter-everything'); ?></p>
646 <div class="pc-pro-bnf-sect-5-default-icon"></div>
647 </div>
648 <div class="wpc-pro-bnf-sect-5-default-hover-list">
649 <ul class="wpc-pro-bnf-sect-5-default-hover-list-ul">
650 <li class="wpc-pro-bnf-sect-5-default-item">
651 <div class="wpc-pro-bnf-sect-5-default-item-icon"><svg width="24" height="24"><use href="#fetm-icon-check-double"/></svg></div>
652 <p class="wpc-pro-bnf-sect-5-default-item-text"><?php echo _x('Filtering any content including page builders and custom queries', 'benefits-landing', 'filter-everything'); ?></p>
653 </li>
654 <li class="wpc-pro-bnf-sect-5-default-item">
655 <div class="wpc-pro-bnf-sect-5-default-item-icon"><svg width="24" height="24"><use href="#fetm-icon-check-double"/></svg></div>
656 <p class="wpc-pro-bnf-sect-5-default-item-text"> <?php echo _x( 'Unlimited Filter Sets', 'benefits-landing', 'filter-everything' ); ?></p>
657 </li>
658 <li class="wpc-pro-bnf-sect-5-default-item">
659 <div class="wpc-pro-bnf-sect-5-default-item-icon"><svg width="24" height="24"><use href="#fetm-icon-check-double"/></svg></div>
660 <p class="wpc-pro-bnf-sect-5-default-item-text"><?php echo _x('Works with your existing content no need to rebuild your site', 'benefits-landing', 'filter-everything'); ?></p>
661 </li>
662 </ul>
663 </div>
664 </div>
665
666 <div class="wpc-pro-bnf-sect-5-advn-wrap">
667 <div class="wpc-pro-bnf-sect-5-default-data-wrap">
668 <div class="wpc-pro-bnf-sect-5-pro-label"><?php echo _x('PRO', 'benefits-landing', 'benefits-landing', 'filter-everything') ?></div>
669 <p class="pc-pro-bnf-sect-5-default-text"><?php echo _x('Filtering accuracy', 'benefits-landing', 'filter-everything'); ?></p>
670 <div class="pc-pro-bnf-sect-5-default-icon"></div>
671 </div>
672 <div class="wpc-pro-bnf-sect-5-default-hover-list">
673 <ul class="wpc-pro-bnf-sect-5-default-hover-list-ul">
674 <li class="wpc-pro-bnf-sect-5-default-item">
675 <div class="wpc-pro-bnf-sect-5-default-item-icon"><svg width="24" height="24"><use href="#fetm-icon-check-double"/></svg></div>
676 <p class="wpc-pro-bnf-sect-5-default-item-text"><?php echo _x('Accurate WooCommerce variation filtering', 'benefits-landing', 'filter-everything'); ?></p>
677 </li>
678 <li class="wpc-pro-bnf-sect-5-default-item">
679 <div class="wpc-pro-bnf-sect-5-default-item-icon"><svg width="24" height="24"><use href="#fetm-icon-check-double"/></svg></div>
680 <p class="wpc-pro-bnf-sect-5-default-item-text"><?php echo _x('Accurate out-of-stock products filtering', 'benefits-landing', 'filter-everything'); ?></p>
681 </li>
682 <li class="wpc-pro-bnf-sect-5-default-item">
683 <div class="wpc-pro-bnf-sect-5-default-item-icon"><svg width="24" height="24"><use href="#fetm-icon-check-double"/></svg></div>
684 <p class="wpc-pro-bnf-sect-5-default-item-text"><?php echo _x('Auto-hiding empty filters', 'benefits-landing', 'filter-everything'); ?></p>
685 </li>
686 </ul>
687 </div>
688 </div>
689
690 <div class="wpc-pro-bnf-sect-5-expr-wrap">
691 <div class="wpc-pro-bnf-sect-5-default-data-wrap">
692 <div class="wpc-pro-bnf-sect-5-pro-label"><?php echo _x('PRO', 'benefits-landing', 'benefits-landing', 'filter-everything') ?></div>
693 <p class="pc-pro-bnf-sect-5-default-text"><?php echo _x('Convenience for everyone', 'benefits-landing', 'filter-everything'); ?></p>
694 <div class="pc-pro-bnf-sect-5-default-icon"></div>
695 </div>
696 <div class="wpc-pro-bnf-sect-5-default-hover-list">
697 <ul class="wpc-pro-bnf-sect-5-default-hover-list-ul">
698 <li class="wpc-pro-bnf-sect-5-default-item">
699 <div class="wpc-pro-bnf-sect-5-default-item-icon"><svg width="24" height="24"><use href="#fetm-icon-check-double"/></svg></div>
700 <p class="wpc-pro-bnf-sect-5-default-item-text"><?php echo _x('User-friendly mobile filters widget', 'benefits-landing', 'filter-everything'); ?></p>
701 </li>
702 <li class="wpc-pro-bnf-sect-5-default-item">
703 <div class="wpc-pro-bnf-sect-5-default-item-icon"><svg width="24" height="24"><use href="#fetm-icon-check-double"/></svg></div>
704 <p class="wpc-pro-bnf-sect-5-default-item-text"><?php echo _x('One-click import & export for Filters, Filter Sets, and settings', 'benefits-landing', 'filter-everything'); ?></p>
705 </li>
706 <li class="wpc-pro-bnf-sect-5-default-item">
707 <div class="wpc-pro-bnf-sect-5-default-item-icon"><svg width="24" height="24"><use href="#fetm-icon-check-double"/></svg></div>
708 <p class="wpc-pro-bnf-sect-5-default-item-text"><?php echo _x('Instant Filter Set duplication', 'benefits-landing', 'filter-everything'); ?></p>
709 </li>
710 </ul>
711 </div>
712 </div>
713
714 <div class="wpc-pro-bnf-sect-5-seop-wrap">
715 <div class="wpc-pro-bnf-sect-5-default-data-wrap">
716 <div class="wpc-pro-bnf-sect-5-pro-label"><?php echo _x('PRO', 'benefits-landing', 'benefits-landing', 'filter-everything') ?></div>
717 <p class="pc-pro-bnf-sect-5-default-text"><?php echo _x('SEO & organic traffic', 'benefits-landing', 'filter-everything'); ?></p>
718 <div class="pc-pro-bnf-sect-5-default-icon"></div>
719 </div>
720 <div class="wpc-pro-bnf-sect-5-default-hover-list">
721 <ul class="wpc-pro-bnf-sect-5-default-hover-list-ul">
722 <li class="wpc-pro-bnf-sect-5-default-item">
723 <div class="wpc-pro-bnf-sect-5-default-item-icon"><svg width="24" height="24"><use href="#fetm-icon-check-double"/></svg></div>
724 <p class="wpc-pro-bnf-sect-5-default-item-text"><?php echo _x('Full SEO control for filtered pages', 'benefits-landing', 'filter-everything'); ?></p>
725 </li>
726 <li class="wpc-pro-bnf-sect-5-default-item">
727 <div class="wpc-pro-bnf-sect-5-default-item-icon"><svg width="24" height="24"><use href="#fetm-icon-check-double"/></svg></div>
728 <p class="wpc-pro-bnf-sect-5-default-item-text"><?php echo _x('Clean, SEO-friendly filter URLs', 'benefits-landing', 'filter-everything'); ?></p>
729 </li>
730 <li class="wpc-pro-bnf-sect-5-default-item">
731 <div class="wpc-pro-bnf-sect-5-default-item-icon"><svg width="24" height="24"><use href="#fetm-icon-check-double"/></svg></div>
732 <p class="wpc-pro-bnf-sect-5-default-item-text"><?php echo _x('XML sitemap for filtered pages', 'benefits-landing', 'filter-everything'); ?></p>
733 </li>
734 </ul>
735 </div>
736 </div>
737 </section>
738
739 <!-- ------------------------------------- section 6 FAQ START ----------------------------------------- -->
740 <section class="fetm-sec-faq fetm-section">
741 <h2 class="fetm-h2-medium"><?php echo _x('Frequently Asked Questions', 'benefits-landing', 'filter-everything'); ?></h2>
742 <details>
743 <summary><?php echo _x('What happens to my existing setup when I upgrade to PRO?', 'benefits-landing', 'filter-everything'); ?></summary>
744 <p>
745 <?php echo _x('None of your work will be lost. All your created Filter Sets, filters, and settings are fully preserved — the PRO version uses the same data. You also won\'t need to rebuild your page structure, content, or filter placement: PRO simply extends the plugin\'s capabilities and adds new features without changing your current filtering logic. The only thing we recommend regarding the order of steps is to install and activate the PRO version first, and only then deactivate the Free version. This way all your data is guaranteed to stay in place.', 'benefits-landing', 'filter-everything'); ?>
746 </p>
747 </details>
748 <details>
749 <summary><?php echo _x('Will the PRO version slow down my site?', 'benefits-landing', 'filter-everything'); ?></summary>
750 <p>
751 <?php echo wp_kses( _x( 'No, the PRO version will not slow down your site. The plugin itself is optimized for fast performance and does not add unnecessary load on its own.<br><br>However, keep in mind that the speed of filtering depends on the number of posts, attributes, and your hosting resources. With large datasets, performance is primarily determined by server capacity rather than the plugin version.', 'benefits-landing', 'filter-everything' ),
752 [ 'br' => [] ]
753 ); ?>
754 </p>
755 </details>
756 <details>
757 <summary><?php echo _x('Is the PRO version compatible with my theme or page builder?', 'benefits-landing', 'filter-everything'); ?></summary>
758 <p>
759 <?php echo wp_kses( _x( 'Yes, the PRO version is compatible with most WordPress themes and popular page builders. The plugin relies on the standard WP_Query mechanism, which allows it to integrate correctly with Gutenberg, Elementor, WPBakery, Divi, Avada, and other page builders.<br><br>In most cases, no additional configuration is required — filters will work with your theme out of the box. For highly customized or non-standard templates, flexible integration options are also available.', 'benefits-landing', 'filter-everything' ),
760 [ 'br' => [] ]
761 ); ?>
762 </p>
763 </details>
764 <details>
765 <summary><?php echo _x('How many sites does my license cover?', 'benefits-landing', 'filter-everything'); ?></summary>
766 <p>
767 <?php printf( _x('The <a href="%s" target="_blank">Personal license</a> covers two sites — your main production website and its development copy (DEV / staging). This means you can use the plugin on the live site and simultaneously on its test copy for development, updates, and verification before applying changes to the production environment.', 'benefits-landing', 'filter-everything'), esc_url( flrt_unlock_pro_link( 'faq_hms' ) ) ); ?>
768 </p>
769 <p>
770 <?php echo _x('For larger projects, Freelancer and Agency licenses are available and allow you to use the plugin on multiple websites.', 'benefits-landing', 'filter-everything'); ?>
771 </p>
772 </details>
773 <details>
774 <summary> <?php echo _x('Is support included with the PRO upgrade?', 'benefits-landing', 'filter-everything'); ?></summary>
775 <p>
776 <?php echo _x('Yes, of course — support is included with the PRO version. Your purchase comes with 1 year of premium support and plugin updates, with the option to renew. Even if you choose not to renew after a year, you can keep using the plugin — you just won\'t receive updates anymore.', 'benefits-landing', 'filter-everything'); ?>
777 </p>
778 </details>
779 <details>
780 <summary><?php echo _x('What is the refund policy?', 'benefits-landing', 'filter-everything'); ?></summary>
781 <p>
782 <?php printf( _x('We always do our best to help resolve any issues with the plugin and provide the support you need. If that\'s not possible, you can use the refund policy and get your money back in accordance with the rules of the website where you purchased the plugin (CodeCanyon, or the official site <a href="%s" target="_blank">filtereverything.pro</a>).', 'benefits-landing', 'filter-everything'), esc_url( flrt_refund_policy_link() ) ); ?>
783 </p>
784
785 <p>
786 <?php echo _x('We follow a standard refund period — 30 days from the date of purchase.', 'benefits-landing', 'filter-everything'); ?>
787 </p>
788 </details>
789 </section>
790
791 <section class="wpc-pro-bnf-sect-8">
792 <div class="wpc-pro-bnf-sect-8-left-wrap">
793 <h2 class="wpc-pro-bnf-sect-8-left-title"><?php echo _x('Ready to unlock the full power of Filter Everything PRO?', 'benefits-landing', 'filter-everything'); ?></h2>
794 <p class="wpc-pro-bnf-sect-8-left-desc"><?php echo _x('Upgrade to PRO and take full control over filtering, SEO, and user experience.', 'benefits-landing', 'filter-everything'); ?></p>
795 <a href="<?php echo esc_url(flrt_unlock_pro_link('footer_upgrade_btn')) ?>" target="_blank" class="wpc-pro-bnf-sect-1-btns-up-to-pro"><?php echo _x('Upgrade to PRO', 'benefits-landing', 'filter-everything'); ?> <?php echo flrt_crown_icon(); ?></a>
796 </div>
797 <div class="wpc-pro-bnf-sect-8-right-wrap">
798 <?php echo $this->wpc_pro_bnf_get_retina_img( 'wpc-red-unl-ftr.png', _x( 'Risk-free purchase, premium support and regular updates', 'benefits-landing', 'filter-everything' ) );?>
799 </div>
800 </section>
801
802 </div>
803 </div>
804
805 <svg style="display: none;" xmlns="http://www.w3.org/2000/svg">
806 <symbol fill="none" id="fetm-icon-check" viewBox="0 0 24 24">
807 <path d="M20.25 6.75L9.75 17.25L4.5 12"
808 stroke="#3858E9"
809 stroke-width="2.25"
810 stroke-linecap="round"
811 stroke-linejoin="round"/>
812 </symbol>
813 <symbol fill="none" id="fetm-icon-check-double" viewBox="0 0 24 24">
814 <path d="M17.75 6.75L7.25 17.25L2 12"
815 stroke="#3858E9"
816 stroke-width="2.25"
817 stroke-linecap="round"
818 stroke-linejoin="round"/>
819 <path d="M22.75 6.75L12.25 17.25"
820 stroke="#3858E9"
821 stroke-width="2.25"
822 stroke-linecap="round"
823 stroke-linejoin="round"/>
824 </symbol>
825 <symbol fill="none" id="fetm-icon-minus" viewBox="0 0 24 24">
826 <path d="M4 12C4 11.4477 4.44772 11 5 11H19C19.5523 11 20 11.4477 20 12C20 12.5523 19.5523 13 19 13H5C4.44772 13 4 12.5523 4 12Z"
827 fill="#3D484C"/>
828 </symbol>
829 <symbol fill="none" id="fetm-icon-star" viewBox="0 0 24 24">
830 <path d="M12.0012 16.9998L6.12321 20.5898L7.72121 13.8898L2.49121 9.40976L9.35621 8.85976L12.0012 2.49976L14.6462 8.85976L21.5122 9.40976L16.2812 13.8898L17.8792 20.5898L12.0012 16.9998Z" fill="#3858E9"/>
831 </symbol>
832 <symbol fill="none" id="fetm-icon-link" viewBox="0 0 24 24">
833 <path d="M18.0001 13.4998V19.4998C18.0001 20.0303 17.7894 20.539 17.4143 20.9141C17.0392 21.2891 16.5305 21.4999 16.0001 21.4999H5.00001C4.46958 21.4999 3.96087 21.2891 3.58579 20.9141C3.21071 20.539 3 20.0303 3 19.4998V8.49977C3 7.96933 3.21071 7.46062 3.58579 7.08555C3.96087 6.71047 4.46958 6.49976 5.00001 6.49976H11.0001" stroke="#3858E9" stroke-width="2.02501" stroke-linecap="round" stroke-linejoin="round"/>
834 <path d="M15 3.5H21V9.50004" stroke="#3858E9" stroke-width="2.02501" stroke-linecap="round" stroke-linejoin="round"/>
835 <path d="M10 14.5001L21.0001 3.5" stroke="#3858E9" stroke-width="2.02501" stroke-linecap="round" stroke-linejoin="round"/>
836 </symbol>
837 </svg>
838
839 <script>
840 ( function () {
841 var section = document.querySelector( '.wpc-pro-bnf-sect-rvw' );
842 if ( ! section ) {
843 return;
844 }
845 // Delegate from the whole section so the videos under the "View more" area work too.
846 section.addEventListener( 'click', function ( e ) {
847 var btn = e.target.closest( '.wpc-pro-bnf-rvw-video-btn' );
848 if ( ! btn ) {
849 return;
850 }
851 var card = btn.closest( '.wpc-pro-bnf-rvw-video' );
852 var id = card && card.getAttribute( 'data-ytid' );
853 if ( ! id ) {
854 return;
855 }
856 var iframe = document.createElement( 'iframe' );
857 iframe.className = 'wpc-pro-bnf-rvw-video-iframe';
858 iframe.src = 'https://www.youtube-nocookie.com/embed/' + id + '?autoplay=1&rel=0&playsinline=1';
859 iframe.title = 'YouTube video player';
860 iframe.allow = 'accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share';
861 iframe.setAttribute( 'referrerpolicy', 'strict-origin-when-cross-origin' );
862 iframe.setAttribute( 'allowfullscreen', '' );
863 iframe.frameBorder = '0';
864 card.innerHTML = '';
865 card.appendChild( iframe );
866 } );
867 } )();
868 </script>
869
870 <?php
871 }
872 }
873
874 /**
875 * Renders a single video review card (lazy YouTube facade) for the "Trusted by WordPress Professionals" section.
876 *
877 * @param string $video_id YouTube video ID.
878 */
879 protected function renderRvwVideoCard( $video_id ) {
880 $vid = preg_replace( '/[^A-Za-z0-9_-]/', '', $video_id );
881 ?>
882 <div class="wpc-pro-bnf-rvw-card wpc-pro-bnf-rvw-video" data-ytid="<?php echo esc_attr( $vid ); ?>">
883 <button type="button" class="wpc-pro-bnf-rvw-video-btn" aria-label="<?php echo esc_attr_x( 'Play video', 'benefits-landing', 'filter-everything' ); ?>">
884 <img class="wpc-pro-bnf-rvw-video-thumb"
885 src="<?php echo esc_url( 'https://i.ytimg.com/vi/' . $vid . '/maxresdefault.jpg' ); ?>"
886 onerror="this.onerror=null;this.src='https://i.ytimg.com/vi/<?php echo $vid; ?>/hqdefault.jpg';"
887 alt="" loading="lazy">
888 <span class="wpc-pro-bnf-rvw-video-play" aria-hidden="true">
889 <svg viewBox="0 0 68 48" xmlns="http://www.w3.org/2000/svg">
890 <path d="M66.52 7.74c-.78-2.93-2.49-5.41-5.42-6.19C55.79.13 34 0 34 0S12.21.13 6.9 1.55c-2.93.78-4.63 3.26-5.42 6.19C.06 13.05 0 24 0 24s.06 10.95 1.48 16.26c.78 2.93 2.49 5.41 5.42 6.19C12.21 47.87 34 48 34 48s21.79-.13 27.1-1.55c2.93-.78 4.64-3.26 5.42-6.19C67.94 34.95 68 24 68 24s-.06-10.95-1.48-16.26z" fill="#FF0000"/>
891 <path d="M45 24 27 14v20z" fill="#FFFFFF"/>
892 </svg>
893 </span>
894 </button>
895 </div>
896 <?php
897 }
898
899 /**
900 * Renders a single text review card for the "Trusted by WordPress Professionals" section.
901 *
902 * @param array $rv Review data: author, date (Y-m-d), url, text.
903 */
904 protected function renderRvwReviewCard( $rv ) {
905 ?>
906 <div class="wpc-pro-bnf-rvw-card wpc-pro-bnf-rvw-text">
907 <div class="wpc-pro-bnf-rvw-head">
908 <span class="wpc-pro-bnf-rvw-author"><?php echo esc_html( $rv['author'] ); ?></span>
909 <span class="wpc-pro-bnf-rvw-time"><?php echo esc_html( sprintf( _x( '%s ago', 'benefits-landing', 'filter-everything' ), human_time_diff( strtotime( $rv['date'] ) ) ) ); ?></span>
910 </div>
911 <div class="wpc-pro-bnf-rvw-stars">
912 <?php for ( $s = 0; $s < 5; $s++ ) : ?><svg width="20" height="20"><use href="#fetm-icon-star"/></svg><?php endfor; ?>
913 </div>
914 <p class="wpc-pro-bnf-rvw-text-body"><?php echo esc_html( $rv['text'] ); ?></p>
915 <a class="wpc-pro-bnf-rvw-link" href="<?php echo esc_url( $rv['url'] ); ?>" target="_blank" rel="noopener noreferrer">
916 <?php echo esc_html_x( 'Read more on CodeCanyon', 'benefits-landing', 'filter-everything' ); ?>
917 <svg width="20" height="20"><use href="#fetm-icon-link"/></svg>
918 </a>
919 </div>
920 <?php
921 }
922
923 public function getLabel()
924 {
925 return esc_html__('PRO benefits', 'filter-everything');
926 }
927
928 public function getName()
929 {
930 return 'aboutpro';
931 }
932
933 public function valid()
934 {
935 return true;
936 }
937
938 public function labelIcon() : string
939 {
940 return flrt_diamond_icon('#000');
941 }
942 }