Code

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Cart 16,202 sales
Recently Updated

Stepasyuk supports this item

Supported

This author's response time can be up to 1 business day.

9164 comments found.

I have a problem with our mobile versino of Filter Everything PRO. It only shows on our product page, but not in the category pages like additiver etc. on mobile. It works fine on desktop.

Se shop.maulbiler.com

Hi Maulbileras

Thank you for using Filter Everything PRO.

It seems on your Category pages your theme does not contain hook on which displaying Filters button is attached. You can add it manually ‘woocommerce_before_shop_loop’ if you are famliar with PHP or you can insert the button with shortcode [fe_open_button]

You can read more about shortcodes in Filter Everything here – https://filtereverything.pro/resources/shortcodes/

How do I change the name/value of “Reset all” in the Chips?

sommarzan

This problem is the same as for ‘Filters’ button on mobile devices. You can translate the phrase ‘Reset all’ with Loco translate or override Chips.php template file – https://filtereverything.pro/resources/templates-overriding/

Using PODS and Elementor.

This problem is kind of related to the problem I just posted (= IDs showing instead of labels):

I can do a dirty quick fix by changing the relationship type, BUT then I get a problem with the sort order.

Have a look at this screen recording: https://puu.sh/JaZV6/9d396e8223.mp4

Please advice.

Thanks!

Hi sommarzan

Thank you for using Filter Everything PRO.

To sort a filter terms in desired order you always can use hook ‘wpc_terms_before_display’ and code example that shows you how to buid your own code for your case – https://filtereverything.pro/resources/hooks/#terms-before-display-hook Of course this expects that you are familiar with PHP coding or you have to ask a developer to help you with this.

I understand that it would be better to make the plugin more universal and for 100% compatible with all other popular plugins like ACF, PODS etc but it requires some time and efforts. Fnd there are a bit more urgent features that should be implemented in my plugin for the moment.

Using PODS and Elementor.

As many other I have the problem with the IDs showing instead of the labels. I’ve searched here in the comments and found your answer to add code to functions.php.

add_filter('wpc_filter_post_meta_term_name', 'wpc_custom_term_name', 10, 2); function wpc_custom_term_name($term_name, $e_name) { // 'post_object' should be replaced with your meta key if( $e_name === 'post_object' ){ $term_name = get_the_title( $term_name ); } return $term_name; }

Tried that, didn’t help unfortunately.

Please advice.

Look here, I recorded what I did: https://puu.sh/JaZEP/847327581d.mp4

(BUT surely there must be a way to add this to the settings instead of having to add code to functions.php???)

Cheers!

Indeed, this code example was written for case when ACF is used to handle Custom Fields that’s why it should not work with PODS. As I understood you already found the way how to show labels instead of IDs.

No, I haven’t. I did a dirty quick fix which gives me labels, but the labels are not sorted correctly.

If you have time to write correct code to be inserted into functions.php that would work for PODS it would be really helpful.

Hi sommarzan

Usually writing a code is not included in the CodeCanyon support. But if you provide me credentials to your /wp-admin in accordance with this document I can write such a code in 15 minutes. Otherwise I need to install and configured PODS what will take more than 1 hour for me.

Let me know.

Hello,

I need order the results page by custom field.

I have read the documentation, but it is not clear to me how to do it.

https://filtereverything.pro/resources/shortcodes/#sorting-widget

I have no widgets.

I am using [fe_sort] but not work

¿?

Hi dgcintas

Plugin should work fine. The first “n” in the order parameter is ok, the plugin was designed to add this letter. But you specified wrong meta_key – your meta key in ACF is indice_de_valoracion but specified indice_valoracion

Forgive my clumsiness, I don’t know how many times I have checked that field. I did not see it. I am sorry.

How do you take the sitamap?

Hi dgcintas

I’m not sure I undrstood you question. If you mean XML sitemap for indexed filtering result pages, this feature is still under development and will be available not faster than in 2 months.

I have a problem with _sale_price filter. I set them like the exemple https://demo.filtereverything.pro/example/by-sale/. But When I use the filter, some products with no _sale_price are showed anyway.

Hi davidleblanc

Thank you for using Filter Everything. If you use PRO version, please write your support request from the CodeCanyon account, where you purchased the plugin. If you use Free version, please write your request on WordPress.org forum – https://wordpress.org/support/plugin/filter-everything/

Hi, is there a way to optimise database queries. There seem to be a number of slow queiries causing high CPU load see below:

[13-Jul-2022 05:26:25] script_filename = /var/web/site/public_html/index.php; mysqli_query() /var/web/site/public_html/wp-includes/wp-db.php:2169; _do_query() /var/web/site/public_html/wp-includes/wp-db.php:2058; query() /var/web/site/public_html/wp-includes/wp-db.php:2798; get_col() /var/web/site/public_html/wp-includes/class-wp-query.php:3059; get_posts() /var/web/site/public_html/wp-content/plugins/filter-everything-pro/src/Entities/EntityManager.php:786; getAllSetWpQueriedPostIds() /var/web/site/public_html/wp-content/plugins/filter-everything-pro/src/Entities/EntityManager.php:825; prepareEntitiesToDisplay() /var/web/site/public_html/wp-content/plugins/filter-everything-pro/src/Plugin.php:153; prepareEntities() /var/web/site/public_html/wp-includes/class-wp-hook.php:307; apply_filters() /var/web/site/public_html/wp-includes/class-wp-hook.php:331; do_action() /var/web/site/public_html/wp-includes/plugin.php:476; do_action() /var/web/site/public_html/wp-includes/template-loader.php:13 View Details

[13-Jul-2022 05:25:25] script_filename = /var/web/site/public_html/index.php; mysqli_query() /var/web/site/public_html/wp-includes/wp-db.php:2169; _do_query() /var/web/site/public_html/wp-includes/wp-db.php:2058; query() /var/web/site/public_html/wp-includes/wp-db.php:2798; get_col() /var/web/site/public_html/wp-includes/class-wp-query.php:3059; get_posts() /var/web/site/public_html/wp-content/plugins/filter-everything-pro/src/Entities/EntityManager.php:786; getAllSetWpQueriedPostIds() /var/web/site/public_html/wp-content/plugins/filter-everything-pro/src/Entities/EntityManager.php:825; prepareEntitiesToDisplay() /var/web/site/public_html/wp-content/plugins/filter-everything-pro/src/Plugin.php:153; prepareEntities() /var/web/site/public_html/wp-includes/class-wp-hook.php:307; apply_filters() /var/web/site/public_html/wp-includes/class-wp-hook.php:331; do_action() /var/web/site/public_html/wp-includes/plugin.php:476; do_action() /var/web/site/public_html/wp-includes/template-loader.php:13 View Details

[13-Jul-2022 05:24:25] script_filename = /var/web/site/public_html/index.php; mysqli_query() /var/web/site/public_html/wp-includes/wp-db.php:2169; _do_query() /var/web/site/public_html/wp-includes/wp-db.php:2058; query() /var/web/site/public_html/wp-includes/wp-db.php:2798; get_col() /var/web/site/public_html/wp-includes/class-wp-query.php:3059; get_posts() /var/web/site/public_html/wp-content/plugins/filter-everything-pro/src/Entities/EntityManager.php:786; getAllSetWpQueriedPostIds() /var/web/site/public_html/wp-content/plugins/filter-everything-pro/src/Entities/EntityManager.php:825; prepareEntitiesToDisplay() /var/web/site/public_html/wp-content/plugins/filter-everything-pro/src/Plugin.php:153; prepareEntities() /var/web/site/public_html/wp-includes/class-wp-hook.php:307; apply_filters() /var/web/site/public_html/wp-includes/class-wp-hook.php:331; do_action() /var/web/site/public_html/wp-includes/plugin.php:476; do_action() /var/web/site/public_html/wp-includes/template-loader.php:13 View Details

[13-Jul-2022 05:23:25] script_filename = /var/web/site/public_html/index.php; mysqli_query() /var/web/site/public_html/wp-includes/wp-db.php:2169; _do_query() /var/web/site/public_html/wp-includes/wp-db.php:2058; query() /var/web/site/public_html/wp-includes/wp-db.php:2798; get_col() /var/web/site/public_html/wp-includes/class-wp-query.php:3059; get_posts() /var/web/site/public_html/wp-content/plugins/filter-everything-pro/src/Entities/EntityManager.php:786; getAllSetWpQueriedPostIds() /var/web/site/public_html/wp-content/plugins/filter-everything-pro/src/Entities/EntityManager.php:825; prepareEntitiesToDisplay() /var/web/site/public_html/wp-content/plugins/filter-everything-pro/src/Plugin.php:153; prepareEntities() /var/web/site/public_html/wp-includes/class-wp-hook.php:307; apply_filters() /var/web/site/public_html/wp-includes/class-wp-hook.php:331; do_action() /var/web/site/public_html/wp-includes/plugin.php:476; do_action() /var/web/site/public_html/wp-includes/template-loader.php:13 View Details

[13-Jul-2022 05:22:25] script_filename = /var/web/site/public_html/index.php; mysqli_query() /var/web/site/public_html/wp-includes/wp-db.php:2169; _do_query() /var/web/site/public_html/wp-includes/wp-db.php:2058; query() /var/web/site/public_html/wp-includes/wp-db.php:2798; get_col() /var/web/site/public_html/wp-includes/class-wp-query.php:3059; get_posts() /var/web/site/public_html/wp-content/plugins/filter-everything-pro/src/Entities/EntityManager.php:786; getAllSetWpQueriedPostIds() /var/web/site/public_html/wp-content/plugins/filter-everything-pro/src/Entities/EntityManager.php:825; prepareEntitiesToDisplay() /var/web/site/public_html/wp-content/plugins/filter-everything-pro/src/Plugin.php:153; prepareEntities() /var/web/site/public_html/wp-includes/class-wp-hook.php:307; apply_filters() /var/web/site/public_html/wp-includes/class-wp-hook.php:331; do_action() /var/web/site/public_html/wp-includes/plugin.php:476; do_action() /var/web/site/public_html/wp-includes/template-loader.php:13 View Details

[13-Jul-2022 05:21:25] script_filename = /var/web/site/public_html/index.php; mysqli_query() /var/web/site/public_html/wp-includes/wp-db.php:2169; _do_query() /var/web/site/public_html/wp-includes/wp-db.php:2058; query() /var/web/site/public_html/wp-includes/wp-db.php:2798; get_col() /var/web/site/public_html/wp-includes/class-wp-query.php:3059; get_posts() /var/web/site/public_html/wp-content/plugins/filter-everything-pro/src/Entities/EntityManager.php:786; getAllSetWpQueriedPostIds() /var/web/site/public_html/wp-content/plugins/filter-everything-pro/src/Entities/EntityManager.php:825; prepareEntitiesToDisplay() /var/web/site/public_html/wp-content/plugins/filter-everything-pro/src/Plugin.php:153; prepareEntities() /var/web/site/public_html/wp-includes/class-wp-hook.php:307; apply_filters() /var/web/site/public_html/wp-includes/class-wp-hook.php:331; do_action() /var/web/site/public_html/wp-includes/plugin.php:476; do_action() /var/web/site/public_html/wp-includes/template-loader.php:13 View Details

[13-Jul-2022 05:20:45] script_filename = /var/web/site/public_html/index.php; mysqli_query() /var/web/site/public_html/wp-includes/wp-db.php:2169; _do_query() /var/web/site/public_html/wp-includes/wp-db.php:2058; query() /var/web/site/public_html/wp-includes/wp-db.php:2798; get_col() /var/web/site/public_html/wp-includes/class-wp-query.php:3059; get_posts() /var/web/site/public_html/wp-content/plugins/filter-everything-pro/src/Entities/EntityManager.php:786; getAllSetWpQueriedPostIds() /var/web/site/public_html/wp-content/plugins/filter-everything-pro/src/Entities/EntityManager.php:825; prepareEntitiesToDisplay() /var/web/site/public_html/wp-content/plugins/filter-everything-pro/src/Plugin.php:153; prepareEntities() /var/web/site/public_html/wp-includes/class-wp-hook.php:307; apply_filters() /var/web/site/public_html/wp-includes/class-wp-hook.php:331; do_action() /var/web/site/public_html/wp-includes/plugin.php:476; do_action() /var/web/site/public_html/wp-includes/template-loader.php:13

What does this mean?

PHP Warning: First parameter must either be an object or the name of an existing class in /var/web/site/public_html/wp-content/plugins/filter-everything-pro/src/Plugin.php on line 831

Hi olstadesigns

It seems this problem appears in combination with some other plugins. It already is solved in the next version of the plugin, which will be available to the end of current month, but if you want you can solve it by yourself on your copy of the plugin. Just replace in /wp-content/plugins/filter-everything-pro/src/Plugin.php on line 831 this code string: if( property_exists( $screen, 'base' ) && $screen->base === 'widgets' ){
with this code string:
if( ! is_null( $screen ) && property_exists( $screen, 'base' ) && $screen->base === 'widgets' ){

ok thank you

The plugin widget shows as it is, but the widget title is missing, I don’t know why is the title not dispalying

MohamedZumry

I’m glad that your problem is already solved.

FYI – there is no support for the plugin for accounts who did not purchase the plugin. If you did it from another account, please write your support requests from that account.

I’m running into a big problem and it’s either me not understanding the settings or the plugin is incapable of this.

What I need is to be able to show these WooCommerce product category filters on every page in the site and have those filters go to the WooCommerce search results page using the selected filter. I want to be on the home page, select a Woo category, and get the results.

Hello mainehost

Thank you for using Filter Everything plugin.

In general you can not place Filters widget on every page of your site (but it is good idea to add such feature in future updates) but for example if you need to place Filters on your homepage and redirect user to filtered results on the search results page, you have to configure your Filter Set in the next way:

1. In the “Where to filter?” field set “Common WordPress pages” -> “All archive pages for this Post Type”

2. Activate «Apply Button» mode

3. Set in the “Alternative Location” value “Common WordPress pages” -> “Homepage”

Hi. Just one pre-sale question: can i use this on the front page of my site with results showing on a different page ? (so one selects the filter option, presses apply, and gets redirected to the SERP?)

Hi SvP

Yes, sure. You can configure plugin so that it works as you described with redirect to desired page from the Homepage.

I am using filter on custom post type. displayed widget using shortcode in a page. but result isn’t showing.

Hi elsnertechnologies

Thank you for purchasing the plugin.

I recommend you to read this short article of how to quickstart with the plugin – https://filtereverything.pro/resources/quickstart/ Pay attention to the moment, where you can specify correct value for the “Where to filter?” option to see Filters widget on desired page.

I have reviewed but only filter set is showing not actual results of posts.

It seems you configured your Filter Set wrong and filter does not make affect on your posts. Usually there are several possible reasons of such behavior:
- Wrong WP_Query selected in the “And what to filter?” field of the Filter Set. Please try to experiment with different WP_Queries in the dropdown.

- Cache issue (WP_Query is cached). You have to check and maybe disable your cache plugins or modules in your hosting provider dashboard.

Please, check these possible reasons and try to fix them. This should help you.

Hello, we have purchased the plugin and have questions. How to create radius (sliding) style attibute (filter). The system doesn’t let us choose the radius option.

Hi Peckinas

It’s good idea to add more detail instruction how to configure some type of fields in Filter Everything PRO and I have plans to do this in the future. But unfortunately these days I have no enough time to do this as there are more urgent features should be done for the plugin.

And your request about screenshots is something outside from the CodeCanyon item support scope. I’m sorry. Purchasing the plugin expects that customer already know how to use WordPress and Custom Fields. If you do not able to check what exactly data is stored in your Custom Fields you have to ask somebody familiar with this.

I hope on your understanding of this and I wish you luck in solving of this problem.

Hi Peckinas

Here is video tutorial of how to use Filter Everything with ACF plugin – https://www.youtube.com/watch?v=Ki7LBcrYuAo&t=1s Please, let me know if it was helpful for you.

Hi Peckinas

I’m glad to notify you that now numeric filter is also available for taxonomies. This new type of filter (Taxonomy Numeric) is available in the latest plugin version 1.7.0 available here on CodeCanyon.

Hi,

‘Filter Everything’ is a very great plugin for WooCommerce and SEO.

About XML sitemap for indexed filtering result pages IN PROGRESS, I would like to know if the plugin already has this functionality now?

Thank you.

Hi abletheme

Unfortunately XML sitemap for indexed filtering result pages is still in progress.

Thanks your reply.

I am very interested in this feature, when will it be completed?

I think not faster than in 3 months.

Hi, I’ve set up credentials as requested and sent you an email. If you could take a look at it, it would be appreciated. Thanks Lewis

Hello,

how can I find “id” of Sorting Widget for shortcode [fe_sort]?

I read documentation here https://filtereverything.pro/resources/shortcodes/#sorting-widget

But I don’t use widgets on my website. I completely removed widgets from my website (from wordpress). So I can’t place it even in the Inactive widgets!

Any advice?

I think you shoul rework way of using sorting widget with [fe_sort] shortcode.

Hello davidki11

I know this is inconvenient way, but unfortunately for the moment there is no another way except to use widgets for that. I’m sorry.

You can optionally register any widget area in the functions.php but to not dipslay this area nowhere on your site. Here is example – https://codex.wordpress.org/Widgetizing_Themes#How_to_Register_a_Widget_Area

17 days ago I wrote a comment and it’s showing under review. I am still waiting for the answer. Does your plugin work with Wilcity theme?

Hi Kemal1975

Sorry, I did not read your comment before.

I checked the Wilcity theme and I can say that in general Filter Everyrthing PRO is compatible with this theme. It will allow you to filter listings and AJAX will work as expected. The only one suspicion is that native theme animated effects when pagination works may require additional JS fixes described here – https://filtereverything.pro/resources/ajax-related-problems/

Hi I cant seem to get anything to work on Polish or French language with WPML and see no docs

Things work fine on English Version?? It says no terms but also sorting does not work …I cant post the URL here as hosts file needs to be changed to access

At the moment it only seem sto be the polish ones that are not working which is odd as no idea how the French and English ones started working

Hello matrixinternet-ie

I checked credentials your sent me, but I stil did not receive login and password for /wp-admin of your site as I asked about. Please, send me credentials to /wp-admin.

I have resent

Hello, I believe I may have found a bug. Whenever I apply a filter to my products list, I noticed the product pages button is always there regardless of how many products are filtered. For example my shop page has 3 pages of products. If I filter the products and only 2 products are displayed, it still list 3 pages of products at the bottom. Hoping to get this resolved as it’s confusing my customers into thinking that there are more pages of the filtered product. Thanks.

Hello timothy_chrisman

Thank you for using Filter Evrything PRO.

If you use AJAX feature you could set wrong value for the CSS id or class of the Posts Container option and this is the reason, why pagination links dont work as expected. Please, look on this article – https://filtereverything.pro/resources/plugin-settings/#ajax

Thank you sir, that was the problem.

Hi! I have a problem in Elementor, could you help me?

¿Incompatibility problem with pagination in Elementor?

jquery.min.js?ver=3.6.0:2 jQuery.Deferred exception: Failed to execute ‘observe’ on ‘IntersectionObserver’: parameter 1 is not of type ‘Element’. TypeError: Failed to execute ‘observe’ on ‘IntersectionObserver’: parameter 1 is not of type ‘Element’. at LoadMore.handleInfiniteScroll (https://atone.es/wp-content/plugins/elementor-pro/assets/js/preloaded-elements-handlers.min.js?ver=3.7.2:2:86127) at LoadMore.onInit (https://atone.es/wp-content/plugins/elementor-pro/assets/js/preloaded-elements-handlers.min.js?ver=3.7.2:2:85249) at Module.trigger (https://atone.es/wp-content/plugins/elementor/assets/js/frontend-modules.min.js?ver=3.6.7:2:11153) at e.each.n.<computed> [as trigger] (https://atone.es/wp-content/plugins/elementor/assets/js/frontend-modules.min.js?ver=3.6.7:2:9794) at init (https://atone.es/wp-content/plugins/elementor/assets/js/frontend-modules.min.js?ver=3.6.7:2:9983) at LoadMore.Module (https://atone.es/wp-content/plugins/elementor/assets/js/frontend-modules.min.js?ver=3.6.7:2:11233) at LoadMore.child [as constructor] (https://atone.es/wp-content/plugins/elementor/assets/js/frontend-modules.min.js?ver=3.6.7:2:11489) at new child (https://atone.es/wp-content/plugins/elementor/assets/js/frontend-modules.min.js?ver=3.6.7:2:11489) at new LoadMore (https://atone.es/wp-content/plugins/elementor-pro/assets/js/preloaded-elements-handlers.min.js?ver=3.7.2:2:83647) at e.exports.addHandler (https://atone.es/wp-content/plugins/elementor/assets/js/frontend.min.js?ver=3.6.7:2:2342) undefined

Hi cristian309

Thank you for using Filter Everything PRO.

In general JS error can occure because of any of your other plugin. By default Elementor and Filter Everything are compatible between each other. But you can provide me with link to the page with this problem and I can check if there is possible problem with Filter Everything.

Hello Is it possible to customize the Filter button and even to make it sticky/floating?

Hello z1p3rr

Support for the Free verison of the Filter Everything is available on WordPress.org forum – https://wordpress.org/support/plugin/filter-everything/ Please, write your support requests there.

Thank you for your understanding.

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey