Code

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Cart 15,662 sales
Recently Updated

Stepasyuk supports this item

Supported

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

8953 comments found.

Hi

Please assist.

We have purchased, installed the license on this site: https://philmac.boylen.dev/product/philmac-3g-metric-compression-fitting/ This is an example page.

The issue we are experiencing is that the filter is not counting the items correctly (for ‘types’), so I can’t use the hide empty terms feature.

I have added a block (“FOUND TYPES: “) to show how the loop’s found terms don’t match FilterEverything’s found count.

I have debug mode switched on, but can’t see log files anywhere & I can’t find any documentation around debug mode.

I would appreciate your help.

FE_support Author Team

Hi weareboylen

We do not have access to the admin panel to check how the filter sets are configured, but we can more or less understand what the issue is.

Most likely, you created one filter set and placed it on “Products + Any product,” and now you want the filters to work on all of your singular product pages.

However, instead of working on each product page, it is only working correctly on the first product in the list (those are the counters that you see). When you place a filter set on “any product pages”, it takes the query from the first product page and assumes that the query is the same on every other page, but in your case, it is not using the main query. It uses unique queries on each product page, so you need a separate filter set for each product page in order to make it work as you expect it to work.

To sum your case up. You have 10 singular product pages = 10 unique queries, which requires 10 separate filter sets for each product page, so each filter set will work on the exact product page with its exact query. If the product pages somehow used one main query across all of them, then it could work with one filter set just like on the default archive pages.

Best Regards,
Victor

Yes, the filter does work if set only to one Post.

Can I not get the ID of the current post and use that variable with the shortcode? `$postID = get_the_id()`?

We have many Posts and it is ungainly to create a filter for each, and also will not account for new Posts. And edits will have to be done to each filter individually if we want to make any changes.

FE_support Author Team

Hi weareboylen

For such a setup, you need a separate filter set. It is not an issue with the post ID; each page has its own unique query, so if there is no filter set that works with that specific query, it will not filter anything.

If, instead of singular product pages, you used category pages that rely on the main query, then one filter set would be enough. But with the setup you currently have, you need a separate filter set for each product page.

Why is it not possible to place one filter set and scan each product page and save all of those queries to work with each of them? Because it would require scanning many pages, and the more you have, the longer it will take, 1k or 10k product pages. Basically, all script-running timers on the server would stop this process. Besides, opening each page and looping through a huge list to make sure it is working with that exact unique query would add another layer of functionality that would slow down the filtering and the page loading itself. And this list should be regenerated every time with new products added or removed.

The general approach is to have filters on the main pages, like shop pages and archive pages, such as categories, cars, laptops, and so on. But since you want to go even further by having a filter set on each product, this requires a separate filter set for each product page, as each page comes with its own unique query. Is it recommended to add filters to product pages as well? Not really, as it would require more server resources for functionality that is not very useful. However, if you want to go with this approach, you need a separate filter set for each page.

Best Regards,
Victor

Filter Everything PRO Cannot Detect the Archive Page

Symptom: The Filter Set configuration shows: “No Insights lists found on the page”

Root Cause: Filter Everything PRO’s configuration interface does not provide an option to target custom post type archive pages. The “Apply filtering if the page is:” dropdown only offers: - “Any insight page” (for individual posts) - Individual insight post titles

There is no “Insights Archive” option to target `/insights/`.

Impact: - Filter widget does not appear on the page - Filtering functionality is not active - Error message shows on frontend

FE_support Author Team

Hi wael_jalal

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 are trying to display the filters so we can create you an example of how to do it.

Best Regards,
Victor

Hi Victor, thanks for your reply.

This is a staging site where I’m using Filter Everything PRO on a custom post type archive for Insights.

I’ve created a temporary admin user for you and sent the login credentials via your secure form as requested in your documentation.

Goal:

I’m already using Filter Everything on /insights/ with a Filter Set called “Insights – Main Filters”.

AJAX filtering works and the posts container selector is .aurora-insights-grid.

Sorting is handled via your Sorting widget and the shortcode: [fe_sort id=”2”]

The archive template intentionally does not call the_posts_pagination() because I want to use Filter Everything’s own AJAX “Load More” button instead of numeric pagination.

What I need help with:

On the “Insights – Main Filters” edit screen I do not see any “Sort / Search in filtered results” or Pagination → Load More settings.

However, on the front-end the filter shows 24 insights found when I choose “HR Policy Development,” but only 10 posts are displayed, and there is no Load More button.

Could you please:

Show me where in this version of Filter Everything PRO I can enable Load More pagination for this Filter Set,

Configure it so the button text is “More Insights”, and

Let me know exactly which settings you changed so I can document it developer.

Thank you!

FE_support Author Team

Hi wael_jalal

We have checked the site. And your description.

1) The sorting widget should have a default value first, which means no sorting at all. Placing any other sorting option as the first one will not sort posts on page load; you still need to select it, as it adds a URL GET sorting parameter.

2) Our plugin does not modify or add any pagination; it has no relation to pagination at all. This is handled by the theme templates. Also, there are plugins for WooCommerce, such as this one: https://wordpress.org/plugins/load-more-products-for-woocommerce/ and another for WordPress, something like “Load More Everything” that convert the default pagination into a load-more option and similar features.

Best Regards,
Victor

senepro Purchased

Hi! I’d like to setup the plugins Category filter (checkbox list rendering) to open the ‘real’ category page of the clicked category name. I’d like to use the filtering with using the checkboxes, but open the category if I click to the category name. Help me please to setup this workaround.

Thank you

senepro Purchased

Hi Victor!

Thanks for help. If I use the suggested default Woo product categories widget, the filtering for categories stops working, right? I’m looking for a solution to make the filtering useable, but links to the real category page if click, but I’m understand, if it is not possible to configure. Is there any snippet or function override abailable? Inserting custom code to functions.php is no problem. Thank you

FE_support Author Team

No, the filters continue working as they did on the category pages. It’s just that when you click on a category to navigate to it via the default Woo widget, all filters are reset because the category navigation widget doesn’t save any chosen filters.

The product-category widget simply lets you navigate to the exact physical category page. Filters only filter products on the current page; they do not redirect you to any category pages.

So if you click on the Laptops category in the Woo widget, it will open that category page, and the filters on that page will work as before, filtering only within that specific page by color, RAM, CPU, and so on.

Best Regards,
Victor

senepro Purchased

OK, thank you Victor for the detailed clarification!

Hello, first of all thanks for your great plugin. I’m having a problem with the search. If I search for an existing item ( https://www.mcdigital.it/catalogo/?srch=canon ) and then delete the search from the chip, everything works fine. If the item doesn’t exist ( https://www.mcdigital.it/catalogo/?srch=kenwood ) and I delete the search from the chip, some parts of the CSS don’t load. This doesn’t happen when searching directly from the FE box, but for convenience, I decided to search directly on the catalog page from a box in the header. The CSS not loaded is:

.wp-container-core-group-is-layout-3b95c1a1 { flex-wrap: nowrap; flex-direction: column; align-items: flex-start; justify-content: space-between; } .wp-container-content-e1bb55cb { flex-basis: 50px; }

Do you think it is possible to solve the problem? TY very much! Luca

FE_support Author Team

Hi mbsxx7zjwb

Hmm, this is quite weird. But here’s what you can try to do. The CSS that is disappearing, try to add that CSS directly in the Filters > Settings > Experimental > Custom CSS.

Best Regards,
Victor

Can’t add css ‘cause the class selectors are dynamic ( .wp-container-core-group-is-layout-3b95c1a1 ). I’ll need to add additional class selectors to every objects…

FE_support Author Team

In that case, there is a JS code that is generating those CSS styles on the postcards. What you can do is find it and reinitialize it.

There is this JS code wrapper:

jQuery(document).on('ready', function(e){
    /* Plugin function to re-init, e.g. jQuery("[data-fancybox]").fancybox(); */
});

Where you can place a function to reinitialize that JS code.

Best Regards,
Victor

Hi, I set SEO rules, but I can’t see the new h1 title and SEo title in archive page. what im doing wrong?

FE_support Author Team

Hi Andreid89

Thank you for choosing Filter Everything PRO.

Most likely, your theme is using some type of unique hooks for those entities. Please check this page: https://filtereverything.pro/resources/all-about-seo/#seo_h1_description_issue

Best Regards,
Victor

I set up everything. but in front end also the object value $seoFrontend->seoH1 looks empty.. probably setting worng… can you help?

FE_support Author Team

Try to use the H1/description hooks that you used for the code snippets from the documentation in order to directly change the text in those areas. If it does not change directly, then the issue is that you are using the wrong hooks. You can contact your theme or page builder support so they can provide you with the required hooks to change the H1/description text.

But also, please check if the site title is changing and the meta as well. Maybe your SEO rules aren’t working on the tested pages.

Best Regards,
Victor

Hi there, i made the switch from dev to live and now it says i have a invalid license.

Okay, i’ve done that but there’s no active license under this account

Never mind, now it works. Strange, whole weekend nothing and now it works.

FE_support Author Team

Usually, using incognito mode helps, as you are 100% guaranteed to have only one account currently logged in. Without incognito mode, it can use a different account depending on how many you have logged in during the current session, which may result in a message like “no active license under this account.”

Best Regards,
Victor

Thanks for helping me out! It works well. Could you please tell me how you added this widget “the Filter Everything – Filters widget” in Elementor Pro in case I need it again? It gives me no results when I type there ‘Filter Everything’ into the widget search.

FE_support Author Team

Hi garmatiuk1996

You can find it manually in the WordPress area of Elementor widgets (when editing the page via Elementor, scroll to the bottom of the Elementor widgets; there will be a WordPress section, open it, and it will have the Filter Everything widgets).

In the next updates, you can find it via the Elementor search bar as well.

Best Regards,
Victor

Hello, When editing items, the cache of the filter pages is not cleared and remains outdated. Do you have a solution to this problem? The caching plugin is WP Rocket.

FE_support Author Team

When you update the price of your products via the Admin panel, it also clears the transients to display updated data in the filters.

However, if the prices are not updating and the issue is only resolved by clearing the page or site cache, it means that the problem is strictly related to the caching plugin settings.

We recommend reviewing the settings and configuring the plugin to avoid caching certain elements on pages with filters to prevent such issues.

Best Regards,
Victor

When I change the price, it is reflected in categories, products, search. This means that the cache is cleared correctly. Only in the filter ones it is not.

FE_support Author Team

Here’s what you can try to do: turn off the caching plugin completely on the site, then update a product’s price and click the Update button. After that, check whether the price filter updates correctly (reload the page with the filters). If it does update correctly without the caching plugin, then you will need to configure the caching plugin to prevent this behavior.

Additionally, you can send the credentials to the wp-admin dashboard following this document so we can check it in the same way.

Best Regards,
Victor

Hi, I sent you the credentials. Could you please have a look? Thank you!

Best regards, Tetiana

FE_support Author Team

Hi Tetiana

We have checked the site, and it looks like the shortcodes were somehow either removed or modified during page rendering. However, we simply placed the Filter Everything – Filters widget instead of a shortcode, and everything is now appearing correctly and working. We also slightly configured the filter set and checked the mobile button to ensure everything is functioning as it should. All changes were applied on the /all-lessons-hub/ page, please check it.

Best Regards,
Victor

akaEnot Purchased

Filter Everything – the Cause of a Potential DoS Threat

I’ve written about this problem more than once. The issue is that the filter on the page generates a huge number of links to pages with selected criteria. It’s easy to calculate: with multi-select enabled, a simple 10-item filter produces 1,000 such combination pages with URLs like “...or...or...or...”. With 20 items, that already becomes 1 million pages! :shocked:

I don’t think I need to explain what kind of load this creates on the server, or how enormous the cache becomes when this entire pool of links gets crawled by bots and scanners from all over the world. A single day of such crawling can completely exhaust the hosting storage, and when bots from different regions hit simultaneously, you can easily end up with a DoS attack. If several online stores using “Filter Everything” are hosted on the same server — and these attacks always come in parallel — a DoS is practically guaranteed.

Yes, all these pages have “noindex, nofollow”… Seriously??? Is that meant for Google Search Console? How is that supposed to stop anyone from opening a page and throwing it into cache? Even Google often couldn’t care less about these directives, not to mention the rest of the online riff-raff. And even if every link had “nofollow” (which it doesn’t), bots don’t care about this “politeness” at all.

So why do I have to sit at night with ChanGPT, inventing workarounds to protect an online store running FE? For several days now, there has been a massive wave of worldwide requests hitting exactly these “...or...” pages. And yes — I’ve managed to put together something fairly decent. In most cases, bots now get the middle finger and a 403. But it’s still just a workaround, not a real solution. The server still has to process these parasitic requests, even if much lighter than before.

A huge request to finally pay attention to this issue and come up with a real solution. Why not simply remove clickable links from filter criteria altogether, just like Premmerce Product Filter did back in the day?

FE_support Author Team

The XML feature should be released in the upcoming 1.9.2 update. As for the links and other related features in the filter terms, we do not have the dates yet, as they require significant changes to the core functionality, and the best approach is still under consideration. Most likely, it will be in the 1.9.3 update.

Best Regards,
Victor

akaEnot Purchased

If you’re interested, I can share my method for dealing with dirty bots… It’s a crutch, of course, but it works to some extent.

FE_support Author Team

Yes, you can share it via PM: https://codecanyon.net/user/fe_support

Since these improvements are still in the planning stages, additional input may provide new ideas. The end goal is to make the product as solid as possible. Any ideas, technical information, or feedback are always welcome.

Best Regards,
Victor

Hi. Love your plugin :-) I have the PRO Version. Can’t add a filter for text search. Item is missing in the dropdown. No matter what configuration. Should be product and shop site. Thanks.

FE_support Author Team

Hi vinothekreneschmidliadmin

Thank you for choosing Filter Everything PRO.

Can you please provide a bit more detailed information on this: “Can’t add a filter for text search. Item is missing in the dropdown”, along with links to the screenshots showing what exactly you are trying to add?

There is a search filter, and there are search term inputs. For a dropdown to include a search input field, you can go to Filters > Settings > Experimental and enable Use improved styles for dropdowns.

Best Regards,
Victor

Sorry for not being absolutely precise. I would love to add a text search, where users can enter text and it searches/filters the products in the shop. I thought there is such an option with your plugin. In the setup of the filter I thought there would be an option like search in the add filter section to build such a search field und add it to the shop’s side bar. Regards Remo

FE_support Author Team

There is a search filter, which can be enabled from the filter set settings: https://prnt.sc/vkjK-hyHAYY5

Best Regards,
Victor

Hello,

Thank you for the plugin.

I’m trying to add the FIlter Set to multiple Product Categories but i can only choose one. How can i assign it to multiple categories ?

Thank you

FE_support Author Team

Hi manolisklp

Thank you for choosing Filter Everything PRO.

You can either apply it to the “any category” option, which will apply the filters to all category pages, or use separate filter sets on each required taxonomy page.

Unfortunately, selecting multiple category pages simultaneously is currently not supported, as it would add another layer to loop through the chosen category pages. This could cause other filter sets to overlap and be applied to the same ones, resulting in a slowdown. However, this may be introduced in future updates if there is a way to almost nullify the performance impact. We are currently working on the core plugin functionality, and after that, we will move on to more specific features like this.

Best Regards,
Victor

Hey Victor,

That’s totally a bummer, with 150 categories it’s going to be a huge work and really heavy.

If i choose the Parent product category, is it going to apply to the sub categories ?

How about adding a Price and a Sorting filter ?

Thank you!

FE_support Author Team

You can simply apply one filter set with all possible filters to all of your category pages and enable the options to hide empty filter terms and empty filters (all available in the filter set settings). This way, each category page will display only the filters relevant to the products shown on that specific page.

If you want a more unique setup, then yes, it would require creating separate filter sets for each category page, potentially 150 filter sets in your case.

The price filter can be added in the same filter set by using a Custom Numerical Filter and the default WooCommerce meta key _price

The sorting widget needs to be created in the widget area, as it is a separate widget and not part of the filter functionality. For more details, please check this page about the sorting widget: https://filtereverything.pro/resources/sorting-widget/

Best Regards,
Victor

bertg5

bertg5 Purchased

Hello.

I have 1 filter set with 3 filters (search) (entertainment) (theme). I cannot seem to find the option to make the 3 filters independant from eachother, meaning, at this moment, when i choose an option from (entertainment) the filer (theme) then changes his amount of posts inside, according to the chosen option.

Thx in advance.

FE_support Author Team

Hi bertg5

That is absolutely correct behavior. If you choose the red color filter, it will display only products with the red color. Logically, the other filters will then work only with the products that are already shown, the ones with the red attribute applied. If the filters worked independently, they would not filter anything properly. For example, if a client wants to find a red dress + size L + a certain material, instead of showing the exact products that meet all those filter options, it would display all products that have the red color, all products that have size L, and all products with the chosen material, instead of displaying only the products that match all the chosen filters at once.

However, if you want to create such a filter, you can set up a custom taxonomy or attribute where you place all of your attributes, like color, size, etc. Then, when you choose the filter terms, it will show products with color red or size XXL, without any connection between the attributes.

Best Regards,
Victor

On my website, www.accesscomputacion.com, I have installed and configured the plugin. Everything works fine except that the category filter is not active and displays the message “This filter is inactive because it is not related to the selected post type.” I have several categories within the products. The post type for filtering is set to Products. The page where I am conducting the tests is the following: https://www.accesscomputacion.com/index.php/inicio_11/

FE_support Author Team

Hi kvandenbrule

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?

Best Regards,
Victor

jai127

jai127 Purchased

My Filter Everything pro license isn’t being shown in Envato?

My purchase code from Code Canyon is 862b7d0d-b488-4bef-8c7b-aeed7fbd4094

I can’t find my license anywhere and when I click activate my license it says there is nothing there?

FE_support Author Team

Hi jai127

Thank you for choosing Filter Everything PRO.

Please use incognito mode in your browser!

In order to set the License key for the Filter Everything PRO plugin, simply head to Filters -> Settings -> License and click the “Get your License Key” button.

It will take you to a new page where you have to log in with your Envato credentials (with an account where you have purchased the plugin) and obtain your License key.

This is the license key that is used for activation of the plugin.

Best Regards,
Victor

Hi, I have tried implementing the price range filter https://ascentstore.com.my/shop/

Somehow the price range cannot be drag and it is not working well. You can try to filter a range but it is on display the product within the price ranges

FE_support Author Team

Hi jackohjin

Thank you for choosing Filter Everything PRO.

Please make sure that the range filter is created from the correct price meta key. In WordPress, the default key is: _price

Best Regards,
Victor

Ok thanks it is work now. A question, I havent work on this page but i want to create a filter with the category already preselected a category like for this instant trail running shoes , How can i do so? https://ascentstore.com.my/product-category/trail-running-shoes/

FE_support Author Team

Hi jackohjin

Basically, when you create a filter from the required taxonomy, the only way to have predefined filters is to select them and use a link to the page with that predefined filter already chosen. As you may have noticed, when you choose filters, they are added to the URL, so you can use that URL on your page to have the filter already selected.

Best Regards,
Victor

Hi, I just installed your plugin and I’m very happy! After a little set-up I found an issue at category page. It shows all the filters with counters but doesn’t filter nothing. I set one more filter at Shop page and this works fine. The page Catalogs is under test site: https://dev.rosabakehouse.com/en/shop/products/. You can see Filter Set screnshot at: https://mega.nz/file/3cEVEAYA#WnH3EH-zD-TJ3rEtdCp334Ajyj9HIrCXk0yJfTx10Y0 Then the page with no filters applied at: https://mega.nz/file/bZlTzIDK#arZ9-_SbczxUkFuAYS7UK3o4YYkIyFBtZbIMi7_HnCA And then screenshot with filters applied: https://mega.nz/file/iQFCwaSB#JLnXVyocw05s9xXnVpXC7nyICpb1y6NZrMPSME0NtWw

Please, help me to solve the issue and let me know how can do it. Thank you for your support. Kind Regards, Sal

FE_support Author Team

Hi Sal

Thank you for choosing Filter Everything PRO.

When you configure the settings to display only categories on that page, the filter itself will not display any products. You need to display products as well in order to filter products. Only categories being displayed will not switch to products, at least not yet. Maybe such functionality will be added with future updates.

Best Regards,
Victor

I seem to have a Divi-related problem: I want to use the Pro Version in my Divi 4 theme (ver 4.27.4). I work with the theme builder to influence the product category pages as I have custom content. In the builder I use the regular Woo Products element to show the category-specific products which I want to filter with Filter Everything. When I implement the filter, the filter items are shown correctly and also limited to options, that exists in the products of the category (correct price range, correct brands, etc.) When i try to filter the options however, it won’t work and won’t filter the products. I gave the container for the products its own ID which I also implemented in my filter settings (the container does not include the filter). Still no fitlering possible. The output of the products is the regular WooCommerce list with its class “products” and each li with its class “product”, so I don’t think the template has any special differences to the regular output for products on category pages. Any idea why its still not filtering anything?

FE_support Author Team

Hi sbrinkmann1

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 are trying to make the filters work.

Best Regards,
Victor

Hello Victor, I sent you the credentials data. I tried out different kind of settings for the filter, but the only thing I managed to get working was a filter for one specific product category. I was not able to set the filter as a standard for every product category as the filterset would always have the same options. Ideally, I can have one standard filter to better organize myself and save time working with them. Is that maybe still possible?

FE_support Author Team

Hi sbrinkmann1

We have checked the site and reviewed your setup. Each of your category pages uses a unique query, which is why a single filter set will not work in your case. This is typical behavior with many page builders.

Therefore, you need to duplicate the filter set and place it on each category page separately in order for it to work with the unique query on each page.

Best Regards,
Victor

coleb16

coleb16 Purchased

https://maxacre.com/property-for-sale/ this is my site, and State filter is not working on it.

FE_support Author Team

Hi coleb16

Thank you for choosing Filter Everything PRO.

Unfortunately, this form (that cannot be closed) is not allowing us to view the page: https://prnt.sc/ASG9IKVvNse4

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

Best Regards,
Victor

leetwiz Purchased

why i cant add a custom prefix for individual filters? its using the global prefix i cant disable it. when i tried adding custom prefix to the filters it is greyed out.

FE_support Author Team

Hi leetwiz

We are not sure what you mean by the global and custom prefixes. If you have a filter created, you define which prefix it will use, and this prefix will remain for that filter. It will not change. In other words, you cannot create 10 filters from the same meta key or taxonomy and use a different prefix for each of them.

If you need multiple different filters, you need to add multiple separate taxonomies or custom fields in order to create a separate filter from each of them, each with its own unique prefix.

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