Code

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Cart 15,683 sales
Recently Updated

Stepasyuk supports this item

Supported

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

8967 comments found.

How can i use seo urls. I know the complete process but I see that with permalink manager plugin I have to use get variable for filtering. this comes with ? query.

Hi mansooryousaf

Can you please explain what exactly you mean by using SEO Rules links?

If you mean how you can turn off friendly URL links from our plugin you can use the code in your functions.php file

define( 'FLRT_PERMALINKS_ENABLED', false );

Best Regards,
- Victor

I mean https://yourdomain.com/color-blue/brand-samsung/ is this possible with flrt permalinks enabled false with permalink manager pro.

Hi mansooryousaf

No, it is not possible as it turns off this permalink manager that makes them look like /color-blue-or-red/size-l/ so they will look like ?color=blur, etc

Best Regards,
- Victor

Is there a way to set a filter value by default when the page loads?

e.g. we’ve added a filter on _stock_status and want to default to showing “in stock” products when the page loads.

Hi 6qtc9cqy5c

Thank you for choosing Filter Everything PRO.

You can delete the stock status filter (it should be deleted) and go to the filters -> settings -> experimental and turn on this option – https://prnt.sc/4wGgNt8hBU1o

Best Regards,
- Victor

Hello, are we able to set custom content like a description for each filter, instead of just letting eg. a H1 be generated automatically?

We want custom descriptions per filter.

Hi matthijscsnl

If you are using the PRO version of the plugin, please make a request from the account where the plugin was purchased. So we can help to solve the issue you are facing.

Also, please provide a more detailed description of the issue with the screenshots, as it is a bit confusing as to what exactly you are trying to achieve.

You can create SEO Rules for each filter mix, etc – https://filtereverything.pro/resources/seo-rules/

Best Regards,
- Victor

Hi Victor, how can we reproduce filters on horizontal layout like in your demo : https://demo.filtereverything.pro/horizontal-views/color-blue/brand-hm/

And I would also like to know how to set the terms inline or on a two columns layout like here : https://demo.filtereverything.pro/elementor/

thanks!!!

Hi eloday64

Can you please specify which filter exactly? How many columns filter?

Those are labels, they will set in the free space or you can use custom CSS to make any of the filter terms to be in as many columns as you need.

Best Regards,
- Victor

Sorry I meant the first filter for this one : https://demo.filtereverything.pro/horizontal-views/color-blue/brand-hm/

Actually I have 10 items so maybe I could set 2×5 columns? https://catalogue.e-bony.com/catalogue/

Otherwise I can reduce to 5, I would just like to test this layout. Thanks!

If you are using the filter widget, you can specify the widget’s horizontal layout and the number of columns. More about it you can read here – https://filtereverything.pro/resources/filters-widget/

If you are using the shortcode you can do it like this [fe_widget horizontal=”yes” columns=”2”] More information about it can be found here – https://filtereverything.pro/resources/shortcodes/

The maximum amount of columns is 5.

Best Regards,
- Victor

Hi i’ve been using your plugin for a couple of days and its working perfectly.

I’m trying to set the filter Titles/Labels to be displayed above every filter but i can’t find a way. can you please assist me ? thank you

I sent you everything in a PM thank you

Hi Spyros12nik

We have checked the site. This issue is called by the “Page transition” from the Elementor settings, it is applying this trigger on “a” tags – https://imgur.com/Oh5lE8H if you turn it off it is working as it should.

Best Regards,
- Victor

ohhh thats unfortunate.. okay thank you so much for the Support Victor

Dear,

I am interested in trying the Pro edition for an eCommerce website, but I am uncertain if the plugin will meet all our needs. Is there a trial period available that allows for a refund and cancellation of the subscription if it doesn’t work out for us? Or do we need to commit to the purchase without any guarantee?

Thank you.

Hey, what is CodeCanyon refund policy? I tried to Google it, it says: If you have not downloaded a purchased item within 30 days from the date of purchase, you may be eligible for a refund. However, in our case, we will download it and use it for max 7 days if it works then we will keep it, if not, we are asking if we can ask for a refund. Thanks again

Yes, that is absolutely okay, if it won’t work on your site you will get a refund.

Best Regards,
- Victor

Ok thank you. I will proceed with purchase.

I just bought the plugin and installed. how can I confirm that license is active and verified for for my specific domain. do you have any client portal where I can view site/ domain license

Hi mansooryousaf

Thank you for choosing Filter Everything PRO.

All you need to do is activate the license in the Filters -> Settings -> License Tab. You can find the instructions on how to get the license key here – https://filtereverything.pro/resources/license-key-issues/#how_to_get_the_license_key

Best Regards,
- Victor

I’m trying a simple function in the Free version to see if this is something I should purchase. I have added a shortcode to filter posts by date. There are really no selectable options in the settings, so I am seeing an “After” and “Before” field to enter filtering criteria. So far, so good. However, when I filter for one full month, it only shows the posts for about half of the month. The pagination also always shows an extra page and if you go to that last page, you get a “page not found error”. Not sure if these issues would exist in the paid version, but I cannot proceed with a purchase until I know I can accurately filter posts by date.

Hi mcaravaglia

Thank you for your interest in the Filter Everything plugin.

If you are currently using the Free version of the plugin, please make a request in the forum section here –  https://wordpress.org/support/plugin/filter-everything/

Also, please include a link to the page with the issue in your request on the forum, so that we can check it out.

Best Regards,
- Victor

PROBLEM
[fe_sort]
does not work, instead it shows error message “There are no Sorting widgets on this site yet. Please, create it first.” Screenshots: https://ibb.co/kgPkCf4 https://ibb.co/5F12spG

using 2024 theme with Gutenberg

EXPECTED Sorting is shown, instead of error message

Hi kens39

Thank you for choosing Filter Everything PRO.

In order to make it work you need to create the sorting widget in the widget area, then you can display it with the shortcode. More about it is described here – https://filtereverything.pro/resources/shortcodes/#sorting-widget under the “How can I find widget id?”

Best Regards,
- Victor

Hey, guys. Sorting of filter elements works incorrectly for Ukrainian alphabet. The letters “i / ї” come first, the rest after.

https://prnt.sc/4CdPn0YLbjj3

Uh, guys, what am I supposed to do with this piece of code? Do you want me to complete the plugin myself?

Hi akaEnot

Well, you can switch this code in the plugin as the previous version wasn’t working normally, so it was rolled back to the default code. When it will be included we as a support team do not decide, as a support team we are trying to help you as much as possible. Until the solution is added to the plugin itself.

So if you go to the filter folder/src/Entities/EntityManager.php on line 999 there will be those functions – https://prnt.sc/tx-uA-SxlSHP

So you can change them for those ones (but please test it on the staging site first):

 public static function compareAsc($key)
 {
 return function ($a, $b) use ($key) {
 $value_1 = isset($a->$key) ? mb_strtolower($a->$key) : '';
 $value_2 = isset($b->$key) ? mb_strtolower($b->$key) : '';

 // Extract numeric and unit values
 preg_match('/(\d+)(\D*)/', $value_1, $matches1);
 preg_match('/(\d+)(\D*)/', $value_2, $matches2);

 $num1 = isset($matches1[1]) ? (int)$matches1[1] : null;
 $unit1 = isset($matches1[2]) ? trim($matches1[2]) : '';

 $num2 = isset($matches2[1]) ? (int)$matches2[1] : null;
 $unit2 = isset($matches2[2]) ? trim($matches2[2]) : '';

 // Compare numeric parts first if both values have numbers
 if ($num1 !== null && $num2 !== null) {
 if ($num1 !== $num2) {
 return $num1 <=> $num2;
 }
 // If numeric parts are equal, compare unit parts
 return strcoll($unit1, $unit2);
 }

 // If numeric comparison is not applicable, compare alphabetically
 $comparison = strcoll($value_1, $value_2);
 return $comparison !== 0 ? ($comparison > 0 ? +1 : -1) : 0;
 };
 }

And

 public static function compareDesc($key)
 {
 return function ($a, $b) use ($key) {
 $value_1 = isset($a->$key) ? mb_strtolower($a->$key) : '';
 $value_2 = isset($b->$key) ? mb_strtolower($b->$key) : '';

 // Extract numeric and unit values
 preg_match('/(\d+)(\D*)/', $value_1, $matches1);
 preg_match('/(\d+)(\D*)/', $value_2, $matches2);

 $num1 = isset($matches1[1]) ? (int)$matches1[1] : null;
 $unit1 = isset($matches1[2]) ? trim($matches1[2]) : '';

 $num2 = isset($matches2[1]) ? (int)$matches2[1] : null;
 $unit2 = isset($matches2[2]) ? trim($matches2[2]) : '';

 // Compare numeric parts first if both values have numbers
 if ($num1 !== null && $num2 !== null) {
 if ($num1 !== $num2) {
 return $num2 <=> $num1; // Reverse comparison for descending
 }
 // If numeric parts are equal, compare unit parts
 return strcoll($unit2, $unit1); // Reverse comparison for descending
 }

 // If numeric comparison is not applicable, compare alphabetically
 $comparison = strcoll($value_2, $value_1); // Reverse comparison for descending
 return $comparison !== 0 ? ($comparison > 0 ? +1 : -1) : 0;
 };
 }

Best Regards,
- Victor

Okay, guys, it’s working. Thank you.

Hello, I am wondering if we can remove the prefixes for filters – so instead of /products/brand-acme/ it would be /products/acme – there would not be conflicting urls, but it would of course share a slug with the category, so I am not sure if it is possible. Thanks!

Hi fullcircleweb

Thank you for your interest in the Filter Everything plugin.

No, unfortunately, the URL prefixes cannot be removed from filters, as it will cause conflict issues with other slugs, as there will be conflicts about who should work with this link, is it Woo or WP or Plugin or … as a result, you will get 404 or any other conflict issues.

Best Regards,
- Victor

Is there a way to turn off “Show counters” for just the Labels List view?

I’d like to have counters displayed for the other filters, but would like to remove the counter numbers next to my color swatches as they look a bit ugly and take it too much room.

”#wpc-term-taxonomy-product_tag-1892 .wpc-term-count { display: none; }”

I’ve tried using css which removes the counters, but makes the spacing for the color swatches uneven.

Thanks!

Hi equicentral

Yes, this is only possible with the custom CSS, you need to use browser tools in order to check it all and remove unnecessary margins or padding as well.

For example, this, to remove the counters (hide them) – https://prnt.sc/HYKG4PZUDrBj

And like this to remove extra padding – https://prnt.sc/33NCEEr6AwzX

Best Regards,
- Victor

Hi there,

We are having an issue with the filter plugin where even after applying the filter, the filter widget is showing the correct amount of results and we can see the filter hash using $wp_query->query_vars but the actual filtered products do not reflect the selected filters. Can you assist us in troubleshooting this issue please?

Unfortunately, all we can see is this – https://prnt.sc/04iyT48MDkTv can you please remove it for a while so we can check it?

Best Regards,
- Victor

Can you please check if you have access now? I have changed the firewall rules, sorry about that

There can be two issues:

1) Wrong query, so you can go to the filter set settings and in the “And what to filter” choose another query, and hit update, and then test it. Do not forget to refresh the page with filters before testing it.

2) If this won’t help, try to choose a specific page instead of “Any page” in the “Where to filter” and then test it.

Best Regards,
- Victor

Hi there,

I have an issue with WPML as filter set is not showing in all languages I followed the instructions on the docs page and I translated the filter set but it still doesn’t show I tried with classic editor of WPML but it removes all the fields inside filter set when I translate with Advanced Editor it translates but it says you don’t have any fields in this filter set!

Thanks, Rrota

Hmm, seems like there might be some issue after all with it. The development team will test it, and provide a more detailed answer, maybe it could be a bug with new updates or something else.

Best Regards,
- Victor

Hi Victor,

Is there any news regarding this issue?

Thanks

Hi Rrota

Yes, the development team is working on it, in order to find the roots of this behavior. As it may be caused by any recent updates, this process can take a bit more time than we expected.

Best Regards,
- Victor

I bought a license for this plugin but I’m getting the following error: Invalid license key. Please enter correct license key.

My key is 71798490-e4a9-4d2f-9ea8-5f9d658a6877

I need to get this resolved ASAP.

Hi bradleywhitehair

Thank you for choosing Filter Everything PRO.

Please follow the instructions from this page – https://filtereverything.pro/resources/license-key-issues/#how_to_get_the_license_key in order to get the license key. Also, we’d recommend doing it in incognito mode.

Best Regards,
- Victor

Hi

I’m having an issue creating a new rule. When I set the options it says – Error: SEO rule with selected Filters Combination already exists.

I have checked existing rules and there are no rules that match. I have also checked in the database but again, I can’t see anything. there is nothing in the trash either.

There is a rule set up for for a sub sub category of the category I’m trying to set up. Would this make a difference?

Please advise.

Thanks

Hi ebizuk

Please send the credentials to the wp-admin dashboard following this document so we can check it.

Also, please send the mix that you are trying to create that is showing an error like color + size, etc.

Best Regards,
- Victor

Sent, please let me know if you need anything further.

Thanks

The answer was provided via email as it contained the screen of categories.

Best Regards,
- Victor

I have recently purchased your plugin and would like to filter articles according to custom fields created. The filter works correctly because it tells me for example “1 result found” “6 results found” but does not filter the articles correctly.

The results it finds according to the criteria are not shown. How can I solve this?

Hi andreyellow

Thank you for choosing Filter Everything PRO.

Can you please send a link to the page with the issue so we can check it?

Best Regards,
- Victor

I solved it but wanted to ask … Since your search bar does not work with custom fields, do you have a plugin to recommend that is 100% compatible?

Well, the search uses default WordPress algorithms, so if you want to search only by a certain entity you would need to write a custom code that will extend it with your logic.

For example, you can use the WP ”posts_search” hook to apply the needed configurations – https://developer.wordpress.org/reference/hooks/posts_search/

posts type and needed custom fields. Unfortunately, there is no list like that.

Best Regards,
- Victor

I recently purchased your plugin to implement a basic checkbox filter for categories and tags to selectively display posts. After configuring the plugin according to the instructions, the filter options with checkboxes are displayed correctly on the page. However, no posts are shown beneath the filter options.

When I set the filter, I receive the following message: “No WP Queries matched the post type ‘Post’ found on the page.” The dropdown menu doesn’t show anything. I tried on other pages and sometimes I get 3 options but none of them works.

Could you please assist me in resolving this issue?

Hi davidbrodie1

Thank you for choosing Filter Everything PRO.

To understand the situation correctly, is the page empty? If the page is empty our plugin won’t display any products on it. The filter works on the page where products are already displayed in order to filter them.

Best Regards,
- Victor

Hello, I get redirected everytime I click on a filter to a not found page The requested URL was not found on this server. I’ve read about some perma link plugin issue and added the code provided define( ‘FLRT_PERMALINKS_ENABLED’, false );

Hi golto4

Thank you for choosing Filter Everything PRO.

If this doesn’t solve the issue then you have a URL prefix issue.

Go to the Filters -> Settings -> URL Prefixes and use unique prefixes like this: fe_prod_color, fe_prod_size, fe_prod_brand, and so on.

Please note that we used _ instead of the – it is an important part.

Best Regards,
- Victor

Hello, thank you for replying, something seems to be stuck is there an email I can send a private message?

You can send it here via PM – https://codecanyon.net/user/fe_support

Best Regards,
- Victor

I’m having an issue with the sort high to low, low to high using the product price. It’s not working at all. Alphabetically and reverse work just fine but the price does not. Can I please get some help with this issue?

Hi kemmieg

There could be two issues:

1) In the sorting you should create a sorting option by “Custom field numeric” and if this is the Woo products use meta key _price and then test it.

2) You have changed the default sorting option in the customization for Woo products for something like a price or old to new, etc, which should be set back to the default value in order to not cause any conflicts.

Best Regards,
- Victor

That worked. Thank you

Hi kemmieg

We are glad that your problem was solved.

If it is possible we would be thankful for a positive review about the plugin here on CodeCanyon – https://codecanyon.net/item/filter-everything-wordpress-woocommerce-filter/reviews/31634508

Thank you in advance!

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