Code

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Cart 16,183 sales
Recently Updated

Stepasyuk supports this item

Supported

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

9140 comments found.

Hi, I’m doing maintenance on a site not developed by me. The Filter Everything PRO plugin is installed here. When I activate the plugin all the pages of the site are not displayed. I see this message everywhere: The page can’t be found. It looks like nothing was found at this location.

The plugin and wordpress are updated to the latest version. I’m trying to put filters on a elementor page.

Thank you

Hi alchemica-agency

Please, write your support request from the account where the PRO version was purchased. Unfortunately there is no support for accounts, who did not purchase the plugin in accordance with Rules.

I am using PRO version of the plugin and I created a filter set to display via a popup. I created the popup using elementor pro and put in the shortcode [fe_widget] to show the filter set.

Problem I’m facing is that the price filter of type custom_field_numeric is not showing a slider even though the option is turned on. It’s just showing input boxes.

Hi, I tried calling the function you mentioned in my functions.php file as shown below:

function initiate_filter_scripts() {
if (is_archive()) :
?>
<script>
jQuery(‘div.woocommerce’).on(‘click’, ’.elementor-element-da1ac1b a.elementor-button’, wpcInitiateAll());
</script>
<?php
endif;
}


But I got the exception that the function wpcInitiateAll() doesn’t exist. I was trying to run this query whenever we click the button that opens the filter popup.

Hi, I tried calling the function you mentioned in my functions.php file as shown below:

function initiate_filter_scripts() {
if (is_archive()) :
?>
<script>
jQuery(‘div.woocommerce’).on(‘click’, ’.elementor-element-da1ac1b a.elementor-button’, wpcInitiateAll());
</script>
<?php
endif;
}


But I got the exception that the function wpcInitiateAll() doesn’t exist. I was trying to run this query whenever we click the button that opens the filter popup.

Hi kuber_kalra

I would be glad to help you with this, but unfortunately custom coding or code debugging is not included in the CodeCanyon item support scope.

I can only say that if you get message that wpcInitiateAll(); does not exists it means you fired your code before filtereverything.min.js file was loaded in browser. You have to fire this code after your popup is opened but not when your page is loaded.

I’m new at this and am at the Settings page and cannot figure out how to create a WP Query. The Field “Select Query” has no queries to select. I am creating a filter for Woocommerce Categories and am watching a video that displays an existing query but does not indicate how to create one. https://www.youtube.com/watch?v=ko9zqeYz7n8&t=251s

Hello SapphireSales

Thank you for using Filter Everything PRO.

In fact you don’t need to create a WP_Query. It already exists on the page you select in the “Where to filter?” field if this page already contains posts or products list. In this case it will be presented in the “And what to filter?” field.

If you don’t see any WP_Query it means on the page you selected in the “Where to filter?” field there is not posts list yet and you have to add them or to select another page.

Thank you very much for your reply. May I ask another question while I am here. Is there a setting where once a filter is checked, only that one will show and the others will drop off? For example, a filter set of Brands, Colours, Condition with each one having multiple entries. I have 24 Brands and If a customer chooses the brand ‘Brother’ then all the other brands in that filter will drop off instead of just seeing a check in the box and the remaining 23 still showing. And if they choose the colour Cyan, the other colours will drop off. Am I making sense?

Hello SapphireSales

In general if you select one Brand it should not hide other Brands because visitor can try to select them. 99% of filters works in such way.

But if you want to hide unneccessary terms in other filters (for example Colors that never be combined with already selected Brand) you have to set Empty Terms -> Always Hide in the Filter Set.

Or if you want to save space in the sidebar, you can set view Dropdown for desired filters and visitors will not have ability to select two or more terms in one filter and such filter will be most compact.

Hello Support,

We are currently using the filter on : https://newpages.idlwebclients.com/magazine-category/magazines/alternative-magazines/ On the category view, the page works perfectly, but we also want to display the filter directly on home page and then from home page, when someone uses the filter, it should automatically move over to the same category page with filtering appended in url: https://newpages.idlwebclients.com/magazine-category/magazines/alternative-magazines/format-print/genre-nonfiction/

Is that possible? Right now, when we try to add the filter for https://newpages.idlwebclients.com/magazine-category/magazines/alternative-magazines/ on home page, it seems to search for the wpquery loop on the homepage itself.

Please help.

Hello caseyh14

Thank you for using FIlter Everything PRO.

Yes, sure it is possible. Please set your filtering results page (your Category page) in the Where to filter? field and enable “Apply button” mode and set there your Homepage in the Alternative Location field.

Hey boss,

I’m running into a problem with ACF data not updating in FEP.

Case: I change a Choice in an ACF field. It does not update in FEP.

Video example: https://www.screencast.com/t/T7xldRZt0

This has happened twice now. I don’t want to re-create the ACF field and go through fifty posts to reassign the correct values to the field, then add a new filter for that ACF in FEP. It would be much better to just solve this so the ACF change updates in FEP.

Cheers and thanks for a great plugin.

Hello nplatt

Thank you for using Filter Everything PRO.

You don’t need to re-create ACF field. Just set this new value in ACF field to any of your filtered posts and this term will appear in filter. Optionally you can reset filters term cache if you open any page of your site with ?reset_filters_cache=true  parameter in the page’s URL.

Please, try to do this and let me know about the result.

Annoyingly, I had this working, but then for some reason it stopped. And when I re-checked the filters settings, I see that it is unable to detect the queries on the page anymore, showing “— Select Query —” where previously I had set what I needed to make it work, and no matter what I try to swap or change, it simply cannot detect the queries anymore.

I have a feeling it’s a cache issue, but would that affect the dashboard where the settings are also? And if it is truly a cache issue, what can I do about it?

Thanks

I’ve narrowed this down to being something within my theme that is blocking this, because when I switched theme on a staging version of my site, the queries were detected. Since my theme was custom coded by a 3rd party however, finding it is like looking for a needle in a haystack. Any idea as to where I might start to look or what to look for? Thanks!

Hi Stepasyuk, just wondering if you’ve received all my info and credentials that I PM’d you?

Hi trevolution

Thank you for using the plugin and for your patience. FYI – if you write new comments here my answer will delay because my author dashboard shows me at first comments that were been left up to 2 days ago.

Indeed, in 99% cases reason of such behavior is caching of the WP_Query. And technically I can’t do nothing with this because I can only catch WP_Query, but it’s cached copy can be stored in different ways dependendly from a theme or plugin. And there is no common way to get it.

But usually next steps help to bypass it – if it is for example posts module of any Page Builder, just udpate the page with this posts module inside. Or if it is custom code, usually it should reset cached WP_Query if you change any its value, for example posts per page count or so. I think you understand what I mean.

Helo Stepasyuk, it would be great if we can duplicate filter sets – maybe in future update – copy it and then select where to filter. Thanks

Hello anoagency

Yes, sure. This feature already presented in my development plans. But for the moment I don’t know when exactly this will happen. I will notify you here in this comments thread when it will be ready.

Hi Stepasyuk, I have a problem with value order, I have a ACF number field and in the filter the number is not ordered.

picture of the problem Schermata-2022-09-16-alle-15-23-02

Hi francescoMenabo

Thank you for using the plugin.

In general you can try to play with the values for the “Sort Terms by” inside More options of your filter. If this will not give you desired result, you always can sort your terms via PHP code and using hook ‘wpc_terms_before_display’ – https://filtereverything.pro/resources/hooks/#terms-before-display-hook

We have your plugin installed on a webshop and it works great for our categories. It’s not working of our search results though. The reason is that we use another plugin to optimize the search results (Advanced Woo Search). It helps a lot with the quality and speed of the results. We’d really like to use both plugins together, but it seems Filter Everything PRO isn’t picking up the right query to filter. Any tips on how we might get the two to work together? I’ve also send you a link to the problem via PM. We are happy to pay an hour of your time if that helps.

Hi Logo4Life

Thank you for using Filter Everything PRO plugin.

In general to make this WP_Query to be filterable you have to look in the body of the collectWPQueries(); function located in the WpManager.php file and to check why this WP_Query is not included in the list of WP_Queries available for selection in the “And what to filter?” field. If you will find the reason, you can try to change plugin’s code and include this query and filter it. But of course this modification should be copied in your future plugin updates.

I would be glad to help you with this, but unfortunately I have no time for such paid modifications. But maybe any other developer has time and desire to do this.

Hi,

I contacted you on WordPress to help me with 404 ajax (https://wordpress.org/support/topic/support-custom-permalinks-plugin/#post-15954184).

Seem I can figure it what case the 404 ajax error, I try many similar plugins, and all seem not to work. Seem something is with filter-everything. Can you check it?

Thanks, Alex

Hi Stepasyuk, I send credentials.

Hi alexandru292

I checked this and realized that it looks like 404 erorr is not generated by Filter Everything plugin, but it seems by the Custom Permalinks plugin. This plugin does not recognize FE URL parts and “thinks” that it is invalid URL.

In general you can use FE with Custom Permalinks plugin, but wihtout permalinks in FE. If you add in the functions.php file of your active theme: define( 'FLRT_PERMALINKS_ENABLED', false );

Another option to combine these two plugins for the moment is not possible.

About problem with Range slider – I will check it later and will let you know.

Hi Stepasyuk, thank you very much! Seem it works correctly with FLRT_PERMALINKS_ENABLED. Please let me know when you check the ranger slider.

How do I remove the term “Select” from a dropdown filter?

Hi Santosfel5

Thank you for using the plugin.

You have several ways to change string - Select %s - to your own:
1) To translate it with the Loco translate plugin or other software.
2) To use template overriding feature https://filtereverything.pro/resources/templates-overriding/ to override the dropdown.php template and replace the string.
I think the second way is more preferred for you if you use the English language on your site.

Hi. Is it possible If I ask for a refund because I can’t use it at all. It’s very difficult for me to use.

Hi koiinattji

I’m sorry that you was not able to use the plugin. Did you see this video? https://www.youtube.com/watch?v=ko9zqeYz7n8 It can be helpful to understand how to create and display filters.

Hi Stepasyuk, congratulations on the plugin. Im very happy for my purchase.

I just have 2 doubts:

1. I found how to filter products by other categories, but i also need a filter for the sub-categories of the category opened.

2. How can i create a filter set for search results page?

THANKS!

Hi,

1. Sorry, it got very confused to me.

I select a “custom field” filter and insert “wpc_terms_before_display” in the meta key?

If so, it didnt work…

Can you guide me better trough it?

2. It worked! Tks

3. It worked! Tks

4. Ok, I’ll try and let you know because its not high priority.

5. Is it possible to also show on sale products in the “order by” dropdown? So its orders the product list by products on sale first.

6. WCFM (the marketplace plugin) has a product filter by vendor (seller user), can we use this widget inside your plugin? Would we need its metakey, if so how can i find it? Dev console or something?

THANKS!

3. Actually, it didnt worked.

Its showing a higher amount of products on sale and it is not filtering.

The URL is showing “ofertas-yes” for products on sale but i have tested and if it goes like ”?ofertas=1” it works!

How can the URL give that? ”?ofertas=1” instead of “ofertas-yes” and also show the right number of products on sale.

Hi raphaelschaffer.

1. No no, ‘hook’ is programmers word and my answer expects that you are familiar with PHP coding. If you are not, you have to ask a developer to help you with this.

3. It looks like you created “Custom Field Num” fitler instead of regular “Custom Field”.

5. In theory, you could create a sorting criteria by the meta key ‘_sale_price’ and it should sort by “On Sale” status. But I didn’t try it before so you can check it by yourself.

6. I’m not sure if you can use 3rd party plugin filter inside Filter Everything filters widget. But if that filter works by meta key, it means you can create in Filter Everything filter by the same meta key (Custom Field) and it should work.

After I activate this plugin, the search bar functionality all of a sudden breaks. Instead of showing search results, it shows a “404 Error” in the body content (menu, header and footer still display correctly). Anything I can do to fix this?

Reminder that I’m still in need to a fix please (fyi I don’t use the permalink manager that others have issues with)

Hello benwcrane

Please, send me credentials to your /wp-admin in accordance with this document I will check it myself. Also send please link to the page with the problem.

Can I replace the label ‘Select first’ with the original Label? How can I select the sub-category-product in the Add Filter place?

Hello nguyenthaitoan

You can only translte phrase “Select %s first” for example with Loco translate plugin or other software for *.po files. Optionally you can edit it in the FiltersWidget.php file inside plugin folder, but these changes will be overriden, when you update the plugin.

If you need to select sub-category as page for desired Filters Set just select in the “Where to filter?” field “Product categories” in the left dropdown and desired sub-category in the right dropdown.

Hi,

Congrats, great plugin!

I’ve just bought the PRO version in order to use it in all my categories and also in the Blog.

I have 3 problems/questions. The 3 of them are MOBILE related.

My benchmark is: https://roundmusic.nl/product-categorie/gitaar/akoestisch/aantal_snaren-6/model_akoestisch-dreadnought/links_handig-ja/

1. White Space below mobile button: The button “Filters” in mobile comes with a white space below which generates a bad UI experience in the site?

2. Sticky Button in mobile: I’d like to put the button sticky to the left corner at the bottom. But I can’t do this only for mobile cause it does it for desktop as well ruining the UX experience.

3. UI Padding in mobile: Regarding the filters, they seem to work very well but I’d like to add some padding in the left when they are opened in mobile. For desktop it’s showing it perfectly, but not for mobile.

Thanks again!

Update to save time: 1. Margins: solved 2. Sticky: solved

Last question: Can I change the word “filters” by other depending the category? Or just “filtros” since the audience is from Spain?

Hi joaquintorroba

Sorry fo the late response.

FYI – if you write new comment here my response will delay up to 2 days after this latest comment. My author dashborad here sort comments so that I see the most older first.

I’m glad that you were able to solve other problems. About word “Filters” – you can translate it with Loco translate plugin (and deactivate it after translation). Or you can edit the filters-button.php template using template overriding feature and add there current category name. Of course it requires to be familiar with PHP code or ask a developer to help you.

Thanks!

Hi, I wanted to filter posts as per Advance Customer Fields. But not sure what should I set here

https://prnt.sc/IJNB2Zz7izIG I can see this error. https://prnt.sc/Q_yLwn28G8PX

Cheers, Aan

Hi cresaan

Thank you for using FIlter Everything PRO.

In the “Where to filter?” dropdowns you have to specify page or pages, where posts you want to filter located. If it is Homepage you have to select “Common Wordpress pages” -> “Homepage”. If your posts are displayed on the Blog page – “Common Wordpress pages” -> “Blog page” If it is custom page with inserted posts module on it (for example via Elementor) it should be “Pages” -> “Your page title with posts module”

So as you see it depends from your current WordPress settings.

hi, can you share with me the CSS to make multiple filters horizontal when on Desktop and tablet, but remain as vertical when on mobile?

You can do this in reverse order – first to search for a word, then filter the results using the Filter Everything PRO. In this case regular WordPress search widget will be compatible.

widgets are not enabled on my site, so i wont be able to use that solution..

I understand your situation, but search widget is something out of Filter Everything support scope. You can insert it on your page in the way which is more prefered for you – with widget, shortcode, custom code or so.

Hello Stepasyuk, I have 2 questions about plugin: ¨ 1. when using button mode – is it possible to keep filter chips? When using autosubmit mode I have problem when I click one brand the other ones dissapears so I cant choose more of them (maybe if could slower autosubmit…) I dont know what is better but keeping the chips and button mode would do the trick.

2. can I move sorting widget to default position – over the product grid to the right and how?

Thank you very much, greetings from Czech rep – SLAVA UKRAINE!!! Olaf

Oh about question 1. – my fault, chips are working ok… so please look only at point 2. Thanks

Hello anoagency. Thank you, HEROIAM SLAVA!

If you mean Sorting widget you can place it anywhere on your site pages – as widget or as shortcode [fe_sort] https://filtereverything.pro/resources/shortcodes/#sorting-widget

Hi, first thanks for a great plugin doing what I need so far but just one issue. I am running a rugby website that uses Sportspress to capture scores from multiple teams and over 100 years of scores.

I am looking to filter by season and by team of the sportspress calendars, it appears as though I cannot assign the seasons (year) filter to all calendars but have to create a filter for each and every calendar which is possible but very time consuming – I created a single page structure on Elementor for calendars.

It seems the problem is that when I click on “apply filtering if page is” and I use calendars then it asks me to choose a specific calendar – is it not possible for it to be just all calendars?

And with regarding teams is there maybe code or shortcode I can use? I refer you to the this page:

https://support.themeboy.com/article/98-filters

Thank you so much for any assistance you can provide.

Hi tom518

Thank you for using Filter Everything PRO.

If your calendars are separate WP_Queries it means that you have to select one of them to filter it. You can not select “All WP_Queries” because they may be different and the plugin requires “to know” what exactly WP_Query should be filtered.

Optionally you can send me credentials to your /wp-admin in accordance with this document and I will check it myself (because I’m not sure I understood our problem clearly for 100%)

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