Code

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Cart 15,718 sales
Recently Updated

Stepasyuk supports this item

Supported

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

8977 comments found.

Hello again, I also have another issue where the filter isn’t working correctly unless I’m logged into the WP dashboard

FE_support Author Team

Hi AmyEdwards

Basically, by modifying the code snippet that displays those posts, you can achieve this.

The easiest way is to feed your current code snippet to any AI like GPT or Grok and ask it to add such functionality. It will succeed in 90% of cases on the first try. This way, you can even extend it further to fit your requirements in a matter of seconds.

But please test code snippets on a staging site to avoid any fatal errors if the snippet is broken.

Best Regards,
Victor

Hi Victor, I got Chatgpt to come up with the code I needed, however, I was wondering how I can format the pagination, since it’s displaying vertically down the page and looks quite strange, how can I fix this?

UPDATE: Sorted it

FE_support Author Team

Hi AmyEdwards

We are glad to hear that it was resolved.

Just in case it may be useful for other users, this can be done with the help of CSS.

Best Regards,
Victor

Hello,

Please take a look at this page on a containing a blog filter, however the “Apply” and “reset” buttons are overlapping the filters, how do I style them to site below the tags?

https://dcecpd.clyq.co.uk/online-cpd-events/

FE_support Author Team

Hi AmyEdwards

Thank you for choosing Filter Everything PRO.

This issue with styles is caused by the custom CSS on the site, which is overriding the original filter styles. Unfortunately, custom styles and custom code are outside the scope of our support policy. If we disable some of the custom styling added to the filters, they will revert more or less to their original appearance: https://prnt.sc/PRo3lTCTU6Sl

Best Regards,
Victor

Hello, I have the filter everything plugin installed on my wordpress website, using Timber/Twig. On the attend page there is a list of “events”, which are custom post types, which I want to be able to filter on the front-end. I want to filter them by category. The categories are added to the CPTs by an ACF “Select” field type called genres. Whilst the filter on the front-end correctly identifies the correct number of each event in each category and lists the ( e.g. “Category name: [1]” ), it does not display any actual filter results (i.e. events) below

FE_support Author Team

We have checked the site and are almost 100% sure that the issue is with the custom field applied to the events with the meta key “genre_types”

Try creating a new custom checkbox field with the same values but a new, unique meta key, such as genre_types_test01, and apply these values to the posts. Then create a filter from it and test it. Unfortunately, the WPphpMyAdmin plugin is not working on your site to check the database, so you may need to check the database yourself for any mixed data types in your custom field genre_types.

Additionally, please check this page: https://filtereverything.pro/resources/acf-and-fe/#important

Best Regards,
Victor

Hello, thank you, I have just tried this but I’m getting the same result. What I don’t understand is, why can the plugin identify how many events are tagged in each category, but it can’t then show those results?

FE_support Author Team

Yes, indeed, and we noticed that the taxonomy filtering is working nicely.

However, with the help of Query Monitor, we found an interesting plugin named “timber-library” or simply Timber in the WP-Admin > plugins, which seems to be modifying the filtered query. Can you please deactivate this plugin for testing purposes?

The issue occurs during filtering: the counter is correct because it is pulled by the plugin itself without any modifications, but the final query that displays the posts is modified. As a result, no posts are shown because additional parameters are being added by other plugin.

Best Regards,
Victor

arwebsa

arwebsa Purchased

I need to activate the license on a website I’m developing under the final domain, which I’m using as a host so I can work on it from my computer. However, when I try to activate the license, I get the error: Unknown error. Could you please help me?

FE_support Author Team

Hi arwebsa

Thank you for choosing Filter Everything PRO.

In such cases, we need two things:

1) Please send the credentials to the wp-admin dashboard following this document.

2) Please attach your license key along with the credentials information, the license key that you are using to activate the plugin on the site.

Best Regards,
Victor

arwebsa

arwebsa Purchased

Good morning. The information has been sent.

This is what appears after activation: Unknown error.

We’ll be waiting for your response.

FE_support Author Team

Hi arwebsa

All done. As long as the plugin is not fully deleted from the site, the license will remain active. The issue is that, for some reason, even we are blocked from visiting your site and have to use a VPN, so it is most likely blocking the connection to the license server in the same way.

Best Regards,
Victor

Hello Victor, is it to make this kind of filter, in a simplified version (without the lightbox) only with dropdowns ?

https://www.insead.edu/programme_finder

thanks!

I found the way to do it with your perfect plugin, thank you!!

FE_support Author Team

Hi eloday64

Great job! We’re happy to hear that the issue has been resolved.

Best Regards,
Victor

uzair35 Purchased

Hello, Iam using this plugin long time, but I found a big bug, or maybe there is a function to stop it that I don’t know. Iam using this for multiple pages.

But iam mentioning one page.

https://visaboards.com/jobs/

My website was getting unnecessary requests, so I checked the raw logs and Cloudflare. There I found out. This plugin is generating multiple complex URLs that the Google crawler is trying to index. This is a major bug, as it’s using massive resources of the server and affecting SEO badly.

Is there any way to stop this instantly, plugin generating complex URLs?

FYI: Iam not using any SEO Rule, and the Indexable Filter is turned off too

FE_support Author Team

Hi uzair35

You can use either robots.txt or a firewall with wildcard settings to prevent crawlers from going beyond specific paths like  site.com/shop/, site.com/product-category/cars/, and so on. This way, bots will be blocked from crawling deeper into filtered pages. And normal users can use the filters without any issues.

Also, the development team is working on future updates that could potentially change this by removing links from filters. However, this is still in the planning stage, in coordination with SEO experts to determine the best approach.

Best Regards,
Victor

RCVSK Purchased

Hi, Our site uses the FE-pro plugin however my support has expired. I have a situation where bots are enumerating our taxonomies and categories and then constructing complex query URLs in order to overload the server with urls such as /browse/filter_cat=cat1-or-cat2-or-cat3-or-cat4-or-cat5-” and so on. I have 3 solutions currently active: 1) Modded functions.php in the child theme to prevent any users from selecting more than 5 checkboxes in the front-end. This works but doesn’t stop bots. 2) fail2ban, added a jail that checks the log files for any request having >5 filters checked and bans the visitor instantly. (No normal user can select >5, but bots can by visiting directly with a complex url). 3) .htaccess, similar to the fail2ban check above, this issues a 403 to any visitor having >5 “or” conditions in the URL. The above all work, but I was just wondering if there are any plans to incorporate something like this into the plugin itself because this appears to be affecting more than just my website but all users of FE-pro.

Many thanks,

Anthony

RCVSK Purchased

On the plugin’s side, perhaps a setting that limits the maximum number of filters that can be selected at once? I have implemented something along these lines using the functions.php action but that only works on the checkboxes in the front-end and doesn’t stop bots visiting the site with a pre-formed complex-query URL. Just wondering if the database query could be prevented from running entirely if the query exceeded a max filters limit? (My .htaccess rules work in this regard and the bots don’t even reach Wordpress, but there are the occasional false-positives and it’s not user-friendly receiving a 403 error)

I do appreciate the other attack vectors, etc.. and we run Wordfence which does protect against that kind of thing and I am also using mod_evasive, fail2ban, etc.. with aggressive settings.

The server slowing down due to complex queries isn’t a problem for me any more but I just wondered if part of the solution could be incorporated into FE-Pro because it looks to me from the log files that the plugin is trying to handle the brunt of these attacks.

Kind regards.

FE_support Author Team

Hi Anthony

On the plugin’s side, perhaps a setting that limits the maximum number of filters that can be selected at once?

We will pass this suggestion on to the development team. We are always open to suggestions on what can be implemented on the plugin side.

Best Regards,
Victor

RCVSK Purchased

Thanks Victor, that’s great. I think it would be a good quality of life improvement for the plugin.

We are using the Filter Everything plugin with a custom post type Product. The filter widget displays correctly, and the product data shows on the page, but filtering does not affect the results.

The custom template file name is: product-demo.php File location: /public_html/prakash-chemical/wp-content/themes/prakaschemical/product-demo.php

We followed the plugin guide and added filter items, but filtering is still not updating the product list.

Page URL: https://staging.project-in-progress.com/prakash-chemical/testing-product/

We need help making the filters work with the custom WP_Query loop.

https://www.awesomescreenshot.com/image/57613460?key=29fd3b08dd1bc589282c48ae47ade35d https://prnt.sc/TpYXtUcRWKOF

FE_support Author Team

Hi juhishah

We simply installed this plugin: https://wordpress.org/plugins/code-snippets/

And created a new snippet with the next code:

define( 'FLRT_PERMALINKS_ENABLED', false );

After that, we go to the filter set and hit the update button.

Best Regards,
Victor

Is it possible that this code is coming from the default WordPress theme files, such as the functions.php file or other theme files? I have not installed any plugins for this, even for a single line of code. Please let me know if this is possible or not.

FE_support Author Team

Yes, you can place that code in the functions.php file of your theme. Just keep in mind that if the theme is updated, it may remove that code.

Also, you can create your own mu-plugin if needed. It is a plugin that runs faster than a regular plugin, ensuring everything works correctly.

https://developer.wordpress.org/advanced-administration/plugins/mu-plugins/

Basically, you can feed that small code snippet to the AI and ask it to create a mu-plugin, and it will generate a mu-plugin for you. With instructions on how to add it to your site. (thats if you are not familiar with the mu-plugins)

Best Regards,
Victor

ilkerk

ilkerk Purchased

Hi, I’m getting a MySQL syntax error from Filter Everything queries: ORDER BY DESC, wp_posts.post_date DESC It seems the first ORDER BY field is empty. This comes from FilterEverything\Filter\EntityManager->getAllSetWpQueriedPostIds. How can I fix the ordering configuration so that it always sets a valid ORDER BY field?

FE_support Author Team

Hi ilkerk

Thank you for choosing Filter Everything PRO.

Can you please provide more information about where you are getting this MySQL syntax error and include some logs?

Also, please provide additional information on this:

How can I fix the ordering configuration so that it always sets a valid ORDER BY field?

By which field? Is it connected to the sorting widget, or is it connected to the sorting filter terms?

Best Regards,
Victor

ilkerk

ilkerk Purchased

Hi Victor, thanks for your reply. I’m still getting MySQL syntax errors when Filter Everything PRO is active on my WooCommerce product archive / tag pages. Here are two examples from my debug.log: [26-Nov-2025 10:52:16 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘THEN 2 ELSE 6 END), wp_posts.post_date DESC’ at line 13 for query:

SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) WHERE 1=1 AND ( wp_posts.ID NOT IN ( SELECT object_id FROM wp_term_relationships WHERE term_taxonomy_id IN (627,8) ) ) AND (((wp_posts.post_title NOT LIKE ‘ -6 ‘) AND (wp_posts.post_excerpt NOT LIKE ‘ -6 ‘) AND (wp_posts.post_content NOT LIKE ‘ -6 ‘))) AND (wp_posts.post_password = ’’) AND ( wp_postmeta.meta_key = ‘_stock_status’ AND wp_postmeta.meta_value IN (‘instock’) ) AND ((wp_posts.post_type = ‘product’ AND (wp_posts.post_status = ‘publish’))) GROUP BY wp_posts.ID ORDER BY (CASE WHEN THEN 2 ELSE 6 END), wp_posts.post_date DESC LIMIT 0, 44

And another one:

[27-Nov-2025 02:32:02 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘DESC, wp_posts.post_date DESC’ at line 13 for query:

SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) WHERE 1=1 AND ( wp_posts.ID NOT IN ( SELECT object_id FROM wp_term_relationships WHERE term_taxonomy_id IN (627,8) ) ) AND (((wp_posts.post_title NOT LIKE ‘ =1234567890-=1234567890-= ‘) AND (wp_posts.post_excerpt NOT LIKE ‘ =1234567890-=1234567890-= ‘) AND (wp_posts.post_content NOT LIKE ‘ =1234567890-=1234567890-= ‘))) AND (wp_posts.post_password = ’’) AND ( wp_postmeta.meta_key = ‘_stock_status’ AND wp_postmeta.meta_value IN (‘instock’) ) AND ((wp_posts.post_type = ‘product’ AND (wp_posts.post_status = ‘publish’))) GROUP BY wp_posts.ID ORDER BY DESC, wp_posts.post_date DESC LIMIT 0, 44

So there are two problems with the generated ORDER BY:

ORDER BY (CASE WHEN THEN 2 ELSE 6 END), wp_posts.post_date DESC

– the CASE WHEN expression is empty → invalid SQL.

ORDER BY DESC, wp_posts.post_date DESC

– again, the first ORDER BY expression is empty.

I am not using any special sorting filter terms in the Filter Set and I am not using a custom sorting widget from the plugin. I just use the standard WooCommerce sorting and your filters on the product archive pages.

Let me know what kind of configuration screenshot or additional info you need (Filter Set settings, WordPress/WooCommerce/Plugin version, etc.) and I will send it.

Best regards, Ilker

FE_support Author Team

Hi Ilker

Thank you for the log data.

Can you please send the credentials to the wp-admin dashboard following this document so we can check it?

Our development team needs to check this on the site in order to find the root of the issue. Also, please attach the page where this error is happening so it can be checked directly, which will help test whether the issue has been resolved.

Best Regards,
Victor

Hi there

I am using Divi and Woo, latest current versions of both.

I created Filter and added Shortcode into Sidebar using Divi Builder – I also tried with a widget – I then selected Common Wordpress Pages and Shop Page.

Regardless of the WP_Query that I pick, when previewing I see the message: No one Filter Set is related to this page. You can configure it in the Filter Set -> “Where to filter?” field. The page is live now and sidebar is empty.

Here is the page in question: https://maplestore.eu/buy-maple-syrup/

Any suggestions please?

Many thanks,

P

FE_support Author Team

Hi teknovision

We have checked the site. Placing the filter set on the “Pages + your shop page” displayed the filters.

However, there is one thing about your page: you are using dozens of different product widgets to display all of your products separately. A filter set can work with only one query at a time; it cannot work with multiple separate queries simultaneously. You need to display all of your products together with a single product widget in order to filter all of those products.

Best Regards,
Victor

Thank you that worked, I am sorry I did not see the Pages + Shop, thank you for your help!!!

FE_support Author Team

Hi teknovision

We are glad to hear that everything is working.

Best Regards,
Victor

Hello FE Support team,

I am facing 3 problems right now and i would like your support on those.

1) The filter for the stock is not translated even though the website’s default language and woocommerce’s language in that extend, is set to my language (Greek). 2) On mobile when i apply a filter the styling of the filters, order, view row, loses its styling and only after i refresh it comes back. 3) I have an animation that plays when the products in the product archive page load, but when i apply a filter nothing show up, until i scroll the page.

None of those 3 are problems using another filtering plugin!

The website i am talking about is https://arvuniquejewelry.com/shop/ . I would be more then happy to provide extra info if needed.

Best Regards, Daniel

FE_support Author Team

After checking the shop page, we have found a couple of things:

You are currently using #primary for AJAX filtering: https://prnt.sc/1ONL01xg04pd this also covers the filter container. You can try using the products class instead to filter only the products, as described on this page: https://filtereverything.pro/resources/ajax-instructions-only/ this should fix the issue with the mobile filtering.

There is also an explanation on the page about AJAX filtering about what to do if some features stop working, and how you can reinitialize the JS code on filtered pages.

Best Regards,
Victor

Both worked thank you! For the translation is there a way i could provide you the translation?

FE_support Author Team

If you are referring to creating a full localization file via Loco Translate for the Greek language and want to share it with us so we can add it to the plugin, you can send your email via PM here: https://codecanyon.net/user/fe_support

We will contact you, and you can share the localization files. After the development team reviews them, they could be included in future updates.

Best Regards,
Victor

Hi again, I am facing an issue configurating my query in my Elementor post archive. If I select Source > “posts”, the filter doesn’t work. And if I select Source > “current query”, it just displays the last choice in the filter. Here is my test with Source > “posts” :

https://preprod.ssef.ch/research-library/

Thank you!

FE_support Author Team

We have checked the site and the page. To filter works now, you simply need to choose the required post list in the filter set settings under “And what for filter”: https://prnt.sc/xOPcGal461k4

Best Regards,
Victor

I am a bit surprised, because I couldn’t select anything there… but if it works then… ;-) thank you!

FE_support Author Team

Maybe some type of site caching, but we simply chose the one and hit the update button. In any case, we are happy to hear that everything is working.

Best Regards,
Victor

Hi there!

is it possible to add a language filter in my filter set? I’m using WPML. Best regards, Elodie

FE_support Author Team

Hi Elodie

In general, when using WPML or any other translation plugin, translations are created as separate pages. This means a language filter is typically not needed, because switching languages automatically loads the corresponding page versions for EN, UA, KA, and so on. A language filter isn’t necessary in this case, as it won’t actually switch languages.

However, if for some reason all translated products are displayed on the same page, you could add a custom checkbox field with predefined values like EN, UA, KA, and assign the appropriate language code to each product. This would simulate filtering products based on language.

Best Regards,
Victor

Thank you I am going to investigate further in this way.

How to respond inline to your response within the comments section?

I see no “respond” button within the comments section…

FE_support Author Team

Hi getgotgems

You just need to go to the comments sections: https://codecanyon.net/item/filter-everything-wordpress-woocommerce-filter/31634508/comments find the required comment and write a reply, also it could be at the bottom of the page in some cases.

You can write a reply in those comments that you have started.

Best Regards,
Victor

I had to confirm my email address with Envato – DONE.

FE_support Author Team

That’s good news.

Can you please provide a short description of what you are trying to achieve so we can give you the relevant information?

Best Regards,
Victor

adroas

adroas Purchased

Hi I have a problem with the ” the color filter does not filter ”.

I chose to display the filter on the product category page. I created a separate color attribute, and within it, in the taxonomy, I included every color available in the store. Then, I specified that color searches would appear in variant versions. After creating this filter and placing it on the category page (Elementor builder), nothing appears.

FE_support Author Team

Hi adroas

Thank you for choosing Filter Everything PRO.

Can you please send the credentials to the wp-admin dashboard following this document so we can check it?

Also, please attach the link to the exact page where you expect the filters to appear, so we can test it.

Best Regards,
Victor

adroas

adroas Purchased

I sent credentials

FE_support Author Team

Hi adroas

We have checked the site. The attribute you used for the filter “product kolor” is absolutely empty and not applied to any of your products. You can check it yourself; here is a screenshot: https://prnt.sc/iquwnDaI4O2Z

Also, you have multiple attributes with the same name; we’re not sure why, but this is what we noticed. In general, you can go to Products > Attributes and check whether any of your attribute terms are applied to at least one product.

Best Regards,
Victor

I’m using the Filter Everything plugin. It works well, but I have a question:

I want filters that are at 0 (no products) to not be displayed. How can I achieve that? “Hide empty filters” is enabled, but it’s not working.

FE_support Author Team

Hi marikov1

Thank you for choosing Filter Everything PRO.

Please use this option in a filter set for that: https://prnt.sc/sPLBRxE3BIZr

Best Regards,
Victor

Hello,

I have a use case that I’d appreciate input on from FE PRO. I’m seeking to know if this filter concept is feasible.

The core question is at the bottom, at:

• "How to make it function:" 
• "ACF implementation - brainstorming some ideas:"

The rest is info helps understand what I am seeking to do.

I’m wondering how to get Filter Everything + ACF to work together. There could be many ways to accomplish the filter process, but using ACF seems best. And, there are many ways to design the ACF (various key/value structures, text, boolean).

About the site:

Our site has a total of 4 Categories (parent), and a total of ~30 Subcategories (child) linked to those parents. OVERLAP IS COMMON between the subcategories!

Filtering will be done on subcategories only. Top-level parent categories will not be filtered.

Home page filter only, not Category/Tag pages.

Boolean vs Gradient (“Relevant”):

The goal is to help site visitors explore content without having to iterate – filter/search – multiple times.

Filtering concept: instead of boolean, it’s gradient with the option to toggle to boolean. This toggle would be a 2nd filter that is stacked on the 1st filter.

-> Boolean: select category.
-> Gradient: select category, but also get some from other categories - if relevant - that you did not directly select. The toggle to boolean (filter #2) = remove the extra "relevant" posts.

NOTE: The labeling of “relevant” will be ‘hard-coded’ by the post author by assigning ACF (more on implementing that below) to a post.

Primary vs Secondary category:

Okay, so… I have blog posts with a category assigned. Each post is assigned to 1 category only (call it the arbitrary name “Primary category”). However, many of the posts have overlap – they relate to another category(ies). This overlap can be attributed the arbitrary name “Secondary category”.

-> "Primary category" = arbitrary name = the post's assigned category in WordPress.  NOTE: this name is duplicating the wording of the assigned category. Sounds weird, but I'll show why, below.
-> "Secondary category" = arbitrary name = category(ies) in which the post is related to (it's RELEVANT), but has NOT been assigned to in WP: Post: Categories.
Clearly, I cannot create the category "Wordpress Developer" + tag "Wordpress Developer" (same name as category).  But, I can add ACF value (key:value pair) "Wordpress Developer" without conflict.  So, that's the motivation to go the ACF route.

Example:

Post = “Programming Languages for Wordpress Developers – Creating a Plugin for Blogs and Websites” /_________________________________________________________________/

-> This post would be assigned to the "Wordpress Developers" category, and also have ACF (key:value pair) = "Primary Category" : "Wordpress Developers".
  -> Also, this post would have a ACF field "Secondary Category" : "Plugins".  This is because the post relates to plugins, but not 100%.  When site visitors click "Plugins", it's useful and RELEVEANT for them to see this post, even though it's primarily for "Wordpress Developers" which is not the category they clicked/filtered on.
  • This is also good for site traffic ;) & user engagement – WIN WIN! **

Here’s what the site visitor would see:

Homepage only, not Category/Tag pages

By default the site visitor should be served a post list that also includes “all relevant”, but be able to hide “all relevant” with a 2nd filter set (via a toggle switch or check box) that boils the post list down to only the assigned category (or ACF “Primary category”, whichever one since they are the exact same wording).

IMPORTANT: The Entry Category meta data (each category has it’s own color) will be displayed within the post list next to a post title. Therefore, the user will see categories, in which they did not select in the filter (i.e. they will see the posts that have been deemed as “relevant” => ACF: “Secondary category” ... along with it’s associated categories via ‘Entry Category Metadata’).

How to make it function:

a) Page load -> post list is all posts (unfiltered).

b) User selects a category(ies) (multi-select is an option). The style of this filter is the “click & highlight” the category text, not a checkbox – not sure what FE PRO calls it.

c) Filter is AJAX.

d) All posts pertaining to the selected category or multiple categories (there will be some AND/OR logic here … (I will figure that out later) will display. That means that if there is a match for “Primary category” AND/OR “Secondary category”, THEN the post will be flagged to appear in the post list. *IMPORTANT: Flagged once, so no duplicates by means of matching with multiple selected categories (the filter should mark a post match = “YES” or “NO” once).

e) The 2nd filter, a stacked filter, would be titled as “display all relevant” and toggled as “YES” by default. This corresponds with the 1st filter displaying a post if it matches with “Primary category” AND/OR “Secondary category”. NOTE: This 2nd filter can be approached multiple ways… 1) as an “open door” that allows the filter results of Filter #1 to pass through, or 2) performs another filter process based on querying the “Secondary category” and appends it to the filter list of Filter #1. Maybe there’s other options?

-> My thought would be that the best solution is:  Filter #1 = a dataset that includes "selected category" + "all relevant". Then, Filter #2 = trims down that dataset to remove "all relevant" with toggled by the user (i.e. the "open door" approach as described in "e)" above).

Filter Type:

Filter #1: I prefer it to be “select + highlight”.

Filter #2: I prefer a toggle switch if available. But, I think this is not an option given by Filter Everything? And, boolean filters have less options? So, a checkbox may be the only way.

ACF implementation – brainstorming some ideas:

A) Filter based on {Filter #1} Assigned category + {Filter #2} ACF (key:value) = “Secondary category” : ““

B ) Disregard the assigned category and not use it for filtering (it is only for Entry Category metadata & Category pages). Filter based on {Filter #1} ACF (key:value) = “Primary category” : ”< same wording as it’s assigned category>” + {Filter #2} ACF (key:value) = “Secondary category” : ““

C) Filter based on {Filter #1} Assigned category + {Filter #2} ACF (key:value) = “All Relevant” : , which would be in one comma-separated list. NOTE: A post will only be 1 Primary, and can have multiple Secondary categories.

NOTE: Instead of key:value pairs, I could even use ACF text = [ ]

D) ?

E) ?

F) ?

FE_support Author Team

So this is an even more complicated setup. To be honest, it is actually a bit overcomplicated in general when it comes to filtering.

However, a couple of things to mention: there is no exclusion functionality in the filtering. It can only display posts based on the chosen filter terms; it cannot work with an exclusion method, as this feature is not yet implemented in the plugin.

So the yes/no option to change logic between include and exclude will not work.

Other than that, filtering will work. Also, if you have any reference site with such a complicated filtering system, you can send a link to that site with the example, so we can study it.

Best Regards,
Victor

It’s actually very simple.

step #1: select category.

step #2: posts of the category + “related” appear in post list.

step #3: click “NO”.

step #4: posts of the category appear in post list.

Step #3 is not an exclusion … it’s an extra filter (stacked filter).

Can your filter query a list within ACF? If the selected category is in the list, then display in post list?

Can filter #1 pass the category selection + post list to filter #2 to do it’s own filtering?

Can filter #2 take that category text and use it to search in a different ACF field, filtering it a second time? By clicking “NO” it will execute the filter?

FE_support Author Team

You need to have posts already displayed on the page. You can create custom functionality to hide them before choosing any filter, but that is not available out of the box.

To simulate the normal behavior, you have all of your posts displayed via WP_Query on the page, and you apply filters to that page. When you choose any category filter term, the posts that have that category applied will be displayed. Another filter (yes/no) will further refine the results. When you click yes or no, it will display posts that have both the chosen category and the corresponding boolean value.

In other words, it displays posts from the Cars category that also have the boolean field set to on.

The filter simply checks the applied data in the database for the posts and returns posts that have both the taxonomy and the custom field applied. This is how it is working, it is not returning any type of lists from ACF and so on. It works directly with the database, displaying only the posts that have the selected filter terms applied.

You can use the Query Monitor plugin on the filtered page to see the database query and understand what type of query is used to display filtered products.

Best Regards,
Victor

I just sent the information required on the email

FE_support Author Team

Hi kvandenbrule

We have checked the site. If you wanted to create a filter from the product category taxonomy, then everything is displayed correctly. You chose a category taxonomy that is not related to the products. We have created a filter from the product category taxonomy below it.

Best Regards,
Victor

onefox

onefox Purchased

Hello Stepasyuk,

First of all, thank you very much for this great solution. I really appreciate it. I just noticed that several posts are displayed twice after pagination. I am using Avada as my theme. Is this a known issue and, if so, how can I fix it? Thank you very much for your feedback.

For example: https://seilx.one-fox.com/immobilien/immobilientyp-mehrfamilienhaeuser/ort-rhein-ruhr-niedersachsen/

When I click on “Show more objects” here, an object from the top is randomly displayed twice.

Best regards, Philipp

FE_support Author Team

Hi Philipp

Thank you for choosing Filter Everything PRO.

By description, it sounds like you have an AJAX “load more” pagination. After filtering, when clicking on “load more/show more,” it displays posts that were already shown. The issue is that the load-more pagination is completely ignoring the filtered query and continues working with the original query, essentially loading posts as they would appear on the second page without filtering, which causes the duplicated posts.

In such cases, you can use the default numerical WordPress pagination. The problem with load-more/infinite-scroll paginations is that they are all unique; there’s no universal way to make them work with every setup. Each one requires case-specific handling. There used to be a plugin called “Load More Everything” (or something close to that name), which provided compatible load-more paginations, but you need to have the default numerical WordPress pagination available in order to keep working with that plugin.

Best Regards,
Victor

Hi, I’m having an issue with my website and the Filter Everything plugin. I’ve created several product collections and set up filters for each category. When I’m logged in, selecting a filter/category works perfectly. However, when I’m logged out (viewing the site as a normal user), the filters do not work — the products don’t update when a category is clicked.

I’m not sure whether this is caused by the plugin settings, caching, or something related to my theme. Could you please point me in the right direction or help me understand what might be causing this?

I can share the site link if needed. Thank you!

FE_support Author Team

We have checked the site, and the issue is related to the product slider itself. At the moment, we turned off caching in the product slider settings: https://prnt.sc/32M_ZE9lthKt and it seems everything is working correctly. Most likely, users were seeing the cached version, which is why filtering didn’t apply any changes. After turning caching off, everything appears to be filtering properly both in the admin and for users who are not logged in.

You might want to experiment with those caching settings and check the official documentation, because if the query is fully cached, the filtering will not work with it.

Best Regards,
Victor

Wow. Thank you so much you are the best support

FE_support Author Team

You can also adjust the CSS on your site so there is less sidebar movement during page loading by adding the necessary styles, ensuring the sidebar doesn’t shift depending on whether products are present or not.

Best Regards,
Victor

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