Code

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Cart 15,678 sales
Recently Updated

Stepasyuk supports this item

Supported

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

8963 comments found.

How to sort filter elements in the way we want. For example, we have a discipline filter with these elements: math, history, and English. How can we add them in the order we want? For example, English, history, and math. We have changed the order in the database, but it’s still the same in the filter.

Hi rekosa

If you want to make a manual order for filter terms, you need to use the hook ’wpc_terms_before_display’ – https://filtereverything.pro/resources/hooks/#terms-before-display-hook

In order to write a custom code with the needed sorting logic that will fit your case.

Best Regards,
- Victor

Hi Team, I have created two filters. One for the region (eg Europe & Americas) and one for the country (eg Germany, Sweden, US, Canada). When I select Europe it only shows the country filters for Europe, which is fine. But when I change than the regions filter to Americas I still have URL slug elements from Europe.

Can I setup the filter somehow, that when I change the Region, the other filters will be reseted?

Thanks!

Hi via-con

Thank you for your interest in the Filter Everything plugin.

At the moment, there is no such functionality, but we will add it to the development list, so it may be added in the next updates.

Best Regards,
- Victor

Dear Stepas,

I would like to do a filter with data I imported from a excel sheet. In this Excel-sheet i want to take care of that the fiels in the collumn match on attribute level in Products-menu of WordPress, Elementor, Woocommerce and Filter Everything.

Which steps should i take in advance to make sure this will work with the Filter Everything plugin. Should i download further plugins or do some producer and how do I assure it won’t conflict with the plugin?

Thanks in advance.

Kind regards,

Remon

Hi Remon

Hmm, all possible conflicts that can appear are a 404 error, in case you use the already existing slugs for filter prefixes. For example, if you have a category “color” and create a filter with the prefix “color,” it can conflict.

The best option here is always to have some unique adding to the prefixes, like fe_color, fe_brand, fe_size, and so on. Just make sure you’ll use _ and not -

Best Regards,
- Victor

Hello,

I have a question. Is it possible to create a numeric range slider for numeric attributes? For instance, I want to create a numeric slider filter for the laptop screen size (11”, 13”, 15”, 17”), which is a product attribute. I ask the question, because usually with other filter products it only works with taxonomies, not attributes.

Hi Altano

Thank you for your interest in the Filter Everything plugin.

Yes, you can, but those values should be strictly numerical, for example: 10, 17, 10.5, 20.1, ..., and so on.

But if you use values like 17”, 20’, and other values like that it will be string values and not numerical, so those values would not work with the range slider.

Best Regards,
- Victor

Thank you. I have another question reguarding the numeric slider filter. Is it possible to disable the counter unit (+ and -) inside the inputs? The issue is that everytime the user click on the buttons, it triggers the AJAX search. The input entry and the slider are enough.

Hi Altano

Yes, that can be removed by the custom CSS.

Best Regards,
- Victor

Hello. Im Using Filter Everything Pro.

I had issue about currency filtering, cuz the filter allways showed the (EUR) base currency. As You recommended, Im using CURCY, and I get code from you what I need to insert in function php.

HONESTLY…... the CURCY is unstable, and always have issue in my site, regards coverting the shipping cost.

SOLUTION: I wanna use woopayments inbulid multi currency.

Do you have some code what I need to insert in function php? Because if im using WooPayments Multi Currency, the Filter also showing up only the base curreny.

Thanks for Help

Hi AttilaGegeny

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

Best Regards,
- Victor

Hi,

I have created a “Custom Post Type” in my WordPress and put one element on this page: https://easytechpro.com/clientes/

But when I tried to configurate the “Filter set” I received this message:

“No WP Queries matched the post type “%s” found on the page”

How can I show this filter in my page?

Hi sebasgogos

Thank you for choosing Filter Everything PRO.

It seems that the issue was resolved, as everything seems to work and filter – https://prnt.sc/B4QYUqNieHo8

Best Regards,
- Victor

Hi, presale question:

Does the filter support variation filtering that would result in loading that selected variation’s images on the product card as well?

I couldn’t find this on your demo.

Thanks

Hi gr8leo87

Thank you for your interest in the Filter Everything plugin.

The filter can filter by variations, but it will not display its image on the parent variable product, especially if there are a couple of variations chosen in the filter, as physically it is only one parent product and when you click on it you can choose the options. But we know that the development team is working on it, in order to provide at least some solution to this.

Best Regards,
- Victor

Hi, I recently installed the Filter Everything Pro plugin on my website. My goal is to show the filter bar and results on the homepage of my website.

Backend On the back end, I’ve configured the filter bar except that where it says ‘what to filter’ the only choice is ‘No WP Queries matched the post type “Template” found on the page”. Screenshot (https://share.zight.com/jku0O2DB).

Front End On the front end, you can see the “Template” posts appear on the homepage but the filter bar doesn’t seem to recognize them. (link: https://marketingdashboardtemplates.com/).

On this wordpress site, we are using the Avada builder and more specifically, the “postcard” functionality to display posts.

Thank you.

Hi rickmagoo

We have checked the site, and this is a typical issue with WPEngine-powered sites, the issue is in the caching that WPEngine is providing, to be more specific is an Object cache that caches all of the Queries on the pages. Please contact your hosting support or manually turn off/configure object cache so it won’t cause those types of issues.

Best Regards,
- Victor

Thank you Victor. I was able to disable object cache on that page and can confirm that it’s working as intended. I appreciated your support on this. Have a nice week ahead.

Rick

We are glad to hear that everything is working now. Have an amazing day!

Best Regards,
- Victor

Hi Support Team, could I ask a couple of questions, please? Is there any way to have a multi-select field on Dropdown so users can choose more than one filter? And where can I add/update the “not elements found” text? Any help is appreciated! Thank you.

Hi klarakucerova

1) Please check this comment – https://codecanyon.net/comments/30907742 

In case the ID picture is not opening there, here it is – https://prnt.sc/9j3SiL-VXk3f

It contains all of the needed information on how this can be achieved. In future updates, this feature should be added as out-of-the-box functionality.

2) This message is going from the page template, for example, archive.php or index.php if you are using any page builders it can be configured from there as well. The plugin is not connected to this message.

Best Regards,
- Victor

Hi Victor, thank you!

This is a perfect solution for us. However, we are having a little issue with the content: We are filtering by nested categories (custom taxonomies). Using your approach changes the markup but doesn’t respect the category nesting order. Is there a way to fix that?

Meanwhile, I have manually changed the order of the categories in the admin to visually simulate their correct order, but that’s not ideal for future changes.

I hope this makes sense. Thank you!

Hi klarakucerova

You can go to the filter set, choose the view option for categories as checkboxes, and from more options choose “Show hierarchy” – https://prnt.sc/h9T_BDsHc-vO also there will be an alphabetic sort order.

Best Regards,
- Victor

Hello Victor,

I have a compatibility problem between FE and the Elementor Pro query system on archive pages. The 2 systems cannot work together. If I apply a query with Elementor, then it shows the entire catalog, ignoring FE filtering.

The problem is that I have to perform a first query to filter a taxonomy. Can I indicate a mandatory search element in FE? All elements are taxonomies.

Thank you for your help,

Elodie

Hi Elodie

We have checked the site and chose another query in the Filter Set “And what to filter” Dropdown, hit update and now it is working at least on the

yoursite.com/catalogue/ page

If you have any other page where you need it to work let us know.

Best Regards,
- Victor

Thank you Victor, that’s perfect! Could you please tell me what you exactly did? I need to apply the same setting for 4 more showroom’s websites… which means 4 more FE licences for you ;-)

Hi Elodie

Yes, we simply changed the query in the “And what to filter,” please check this image – https://prnt.sc/Utvcyf3VmLLu (it is from our site) as you may see there are 4 different queries, and only one is responsible for displaying posts/products on your page. So you need to choose the correct one and hit the update button, and everything is working.

Best Regards,
- Victor

Hello,

I have given url prefix as p_c, d_r how to throw error if someone changes slug from domain.com/search/p_c-certificate-courses/ to domain.com/search_p_c1-certificate-courses/ how to catch error?

So basically, the filter prefix is the “p_c” and there is a slug that has for example, “p_c-something” this can cause a 404 error. You would need to create a unique prefix for the filters like fe_prod_something.

Best Regards,
- Victor

do you have any option in filtereverything pro plugin for changing default wordpress ie domain.com/?s= to domain.com/searchresults/?s=

Hi palivelasrikanth

No, unfortunately, there is no such thing in the plugin at all. No even sure what we can reccomend here.

Best Regards,
- Victor

Hi Victor, just checking – if I have the Pro version enabled, should I then disable and delete the Free version?

Hi goodbanter

Yes, the Free and the PRO versions are two separate plugins, so you do not need the Free version when you have a PRO. So after you install the PRO version and activate it, you can delete the Free version.

Best Regards,
- Victor

Hello, I’m facing an issue where search doesn’t work with elementor loop grid except the page 1. If I go to page 2 or any other page then the search doesn’t filter anything.

Here is a quick video of the issue: https://drive.google.com/file/d/10Xwtp9uf7JWqEwsVvO7f0Er8EfPwJTkm/view?usp=sharing

These are my settings: https://i.imgur.com/iFAzu2C.png https://i.imgur.com/8h7Pl5k.png

I have fixed the issue by turning this option off in Elementor’s loop grid options: https://i.imgur.com/8Q3rMx3.png

I’m not sure if this is optimal but it worked. :)

Hi char_iliad

Yes, that is the correct choice. When you had it “on” it was adding a unique GET parameter to the URL with pagination, so when you go to the second page and do the search it actually did find the product but you were physically still on the second page (which is empty) as this GET parameter is still in the URL

Best Regards,
- Victor

Thanks a lot!

Hey, is there any way to change the “srch” in the url bar to something different?

For example ?srch=sample

to ?search=sample

Hi jenesis

Thank you for choosing Filter Everything PRO.

Unfortunately, there is no such possibility in the default plugin settings. In order to change it to something else you would need to modify the plugin itself. But we do not recommend it to change to other values as it can cause conflicts with already used slugs.

Best Regards,
- Victor

Hello, I’m having issue with creating/adding filter to my product page template in elementor pro. I’ve successfully added filters (by category) to several pages (with product loop grid on page). i would like to add this to all of my product pages (via single product page template in sidebar) so when customer visits a product page, the category filter would show in the sidebar and the selected categories of products would show on page where product is showing. I hope this make sense.

Thank you!

Hi onestopsitedesign1

Thank you for choosing Filter Everything PRO.

A template with a sidebar and filter widget or shortcode would not allow for the ability to filter anything. When you create a filter set there are settings “Where to filter” and “And what to filter?”.

Where to filter – Defines a specific page or All of the pages (with a common query) on which this Filter Set should be applied.

And what to filter? – Defines which WP query (a posts list) should be filtered.

Just placing a filter set in the template is not possible, you need to place the filter set on the needed page and choose the needed query in order to make it display there and work.

Best Regards,
- Victor

Hi! I would like to make sure that when a user filters in my filters there is always this logic: For example https://decretoflussiitalia.it/profili/: The user clicks Food and Construction.

Now profiles that have both solutions come up as results, but that would not be correct. The system should work like the one in this demo under Processor https://demo.filtereverything.pro/product-category/electronics/laptops/processor-amd-athlon-or-amd-ryzen-5/ I would therefore like the profile with the food sector to be added to the results in addition to the profile corresponding to Construction

Therefore, a profile does not have to fulfil both conditions. It can also fulfil only one.

How can i do this? Thx,

Hi andreyellow

If you have two filters, one is food and the second one is construction, then they always will work with the “AND” logic. If you have one filter and have multiple filter terms, you can always go to the filter set settings, navigate to your filter, and choose the logic for it “OR/AND”. This logic will be for filter terms only, there is no possible way to choose a logic between filters.

Best Regards,
- Victor

Hi, How to change the text for the chips label “Reset all” (do not want to use Loco)

Changing inside chips.php not working: <a href="<?php echo esc_url( $chip['link'] ); ?>" title="<?php if( $chip['name'] !== esc_html__('Išvalyti visus', 'filter-everything') ){</code> Also I have made changes inside filter-everything.pot <code> #: src/Chips.php:62 views/frontend/chips.php:23 msgctxt " i="" visus="" all="">  Still got: <code> array(3) { ["link"]=> string(48) "https://corepetitus.rekos.agency/korepetitoriai/" ["name"]=> string(9) "Reset all" ["class"]=> string(18) "wpc-chip-reset-all" }
</code>  </a>

Hi rekosa

You can change it in the chips.php file. If you look closely at the code:

if( $chip['name'] !== esc_html__('Išvalyti visus', 'filter-everything')

In the presented code, the “IF” statement checks if the chip name is not “Reset All” (which you have changed.) This is not responsible for the “Reset All” label.

This part is responsible for it – https://prnt.sc/RJxFNTDUUB0c you need to rewrite it adding your own “IF” statement to check if the name is reset all then change it for certain another name, and the rest should be echoed as they are.

Best Regards,
- Victor

Hi,

I’ve been using the plugin on a site for a while, I’m trying to now implement the filters on the search results, but I have a display issue with the checkboxes. It appears that there is an invisible arrow in the checkbox…

(Where the plugin is not working) https://povertyhub.ca/page/2/?s=poverty&post_type%5B0%5D=publication&search_limit_to_post_titles=0&fs=1 (another page where the filters are implemented with no issue) https://povertyhub.ca/resources/

Thanks for your help!

Hi stephvasko

This is the CSS issue that causing it – https://prnt.sc/ZAG3VRcG6QRK

If we remove the padding it will look good – https://prnt.sc/oJHP_bl5oUIH

Best Regards,
- Victor

Great, thanks so much for your help!

I have sent credentials as requested in email.

Thank you so much for the AWESOME support! Much appreciated.

One question on the css – I see you put one new class in my child theme stylesheet – can’t I put the other customized CSS there as well so they are all in the same place?

Yeah, you can try to place it where it is more comfy for you. We just added it in the customization -> addition CSS as this is the fastest way.

.wpc-filters-main-wrap li.wpc-term-item a,
.wpc-filters-main-wrap a.wpc-filters-reset-button, .wpc-filters-main-wrap a.wpc-filters-submit-button {
    color: #696;
    font-weight: bolder;
}

.wpc-filters-main-wrap ul.wpc-filters-labels {
    max-height: 300px;
    overflow: auto;
}

body ul.wpc-filter-chips-list {
    display: flex;
    flex-direction: row;
    margin-bottom: 0;
}

.entry-content > br {
    display: none;
}

Best Regards,
- Victor

Hi! I sended you PM about request!

Hi stemmadesign1

Done! The license is activated on the site.

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