Code

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Cart 15,686 sales
Recently Updated

Stepasyuk supports this item

Supported

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

8967 comments found.

Hi! I have created a custom field with ACF. I have setup a custom field filter, with a dropdown widget. It works well, but when I leave the custom field empty (sometimes I don’t need to enter the value into the custom field), I get a return of items without the name from the custom field, but just the counter number of items that have nothing inside custom field. For example: 1. Product color: blue 2. Product color: red 3. Product color: (empty field)

What I get in return: Blue (1) Red(1) (1)

The filter sees the third item as empty and returns only the number. What I need is that when the custom filed is empty, nothing should be returned. Blue (1) Red (1) ... nothing else.

I hope you understand my issue. Hopefully, there is a solution. Thank you for a great plugin and your support! Teo

Hi sitemaster

Thank you for choosing Filter Everything PRO.

This can be done in two ways, first, use the include/exclude functionality for the needed filter, so you can exclude that empty term from appearing. Go to the filter set settings, choose the needed filter click “more options” and use include/exclude.

The second one is just to create an ACF field with checkboxes instead of a select, and you need to use use anything more.

About issues with ACF that might appear if you modify them, you can check here – https://filtereverything.pro/resources/acf/

Best Regards,
- Victor

Thank your for a quick reply! The first way didn’t work, because it doesn’t see an empty value. I can pick ‘blue’ and ‘red’ to include in filtering, but the empty value remains. The second way didn’t work at first, but I found a workaround. I hope with this solution it will work in the future. Thanks again!

Perhaps you should name the empty field as empty and then exclude the empty term. But we are glad to hear that you found the workaround.

Best Regards,
- Victor

Hello!

I purchased the PRO version of the filter set b/c it was the only way to have it work on a single page. After purchasing I spent some time testing it out and realized it will require a lot of custom code to get the filters to look and function exactly how i want. Do you have a refund policy for a purchase less than 24hrs old?

Thanks for understanding.

Cheers Todd

Hi Victor, hope you are well. When doing some recent test, I realized the Frame Color filter doesn’t filter anything at all and currently I can select more than one color at a time, which I don’t want. Ideally it would be able to filter by showing the largest frame size in the selected color (no need to display smaller frame sizes). I’m sure it has something to do with there being so many product variations, but I don’t know how to target the specific frames that it should filter. Any help would be greatly appreciated. I also want it to automatically switch between selections so only one color shows at a time. https://bergenandbedford.com/all-prints/

I’ve realized it may be due to my loop grid not being able to display variations of a product. So now to figure out a workaround.

Hi toddroneparker

We have checked the site, and the issue on this current page with colors is that all products have those colors, there are no products that’ll have different ones, like one is red and the second one white only.

As to the do not display the small frames filter, you always can go to the filter set, choose the needed filter, and click the “More options” where you can use include/exclude functionality in order to remove not needed terms from a filter.

With labels, you cannot change this behavior, so you can use radio buttons to choose only one color at a time.

Best Regards,
- Victor

Hello Dear, After setting seo rules they don’t work. For example settings for filter by Brand https://prnt.sc/NgeL8O519Z5R Also tried setting for a only one brand, but the same situation – the rule didn’t applied https://prnt.sc/HWoG4_sFN0FH

We have checked the site and the issue here is in this order plugin – https://prnt.sc/qDY1e8cl_q69 This is a typical issue, as more likely this code was written without WP standards. In general, this is the cause of the issue. We turned it off so you can see that the SEO Rules are working.

Best Regards,
- Victor

Thank you for your help! Then we will ask our programmer to solve this problem!

Yes, that sounds like a great idea.

Best Regards,
- Victor

Categories filter is a bit headache, if you have multiple subcategories, dropping them down is difficult. How can we increase the size or style of + and – for categories?

Hi achi1

You need to edit :before and :after elements in order to do it - https://prnt.sc/P6CSBqQe6GoC Use the browsing tools to inspect this element, copy the classes it usings, and add your custom CSS styles on it, from the Filters -> Settings -> Experimental -> Custom CSS


In general, there is no support for accounts whose support period has expired following the support policy.

But we can help you later after all requests from accounts with valid support periods are processed. It may take some time – days or weeks.

If you want to get it faster, please extend your support period and this request will be processed in the first queue for supported accounts.

Best Regards,
- Victor

Hi! How do I change the order in which categories are laid out on the frontend to filter?

For example, in Product > Categories they are organized in the following order for parent categories (which I would like on the frontend also): • Live • MP3s • Topic • Level

On the frontend it currently is ordered: • Level • Topic • Live • MP3s

Many thanks for your help! Alina

Hi Alina

You would need to write custom code, to sort it in the manual order using hook “wpc_terms_before_display” – https://filtereverything.pro/resources/hooks/#terms-before-display-hook

Or you can use sorting orders that you can choose from “more options” when you choose the needed filter from the filter set settings.

Best Regards,
- Victor

Thank you!

Hi Victor, There are a few things I’d like to do please, if you can point me in the right direction? I’ve selected a hierarchy to show (so Parent & Child in Taxonomies)

a) Is there a way to get these into a custom order? b) Is there a way to bold, or stylise the Parent categories in the filter, so it’s more obvious than just the + icon?

Thank you :-)

Hi caroline278

1) It would require writing custom code, to sort it in the manual order using hook “wpc_terms_before_display” – https://filtereverything.pro/resources/hooks/#terms-before-display-hook The sorting starts before the hierarchy view functionality. If after enabling the hierarchy, the order is not what you need, in that case, you can rewrite the checkboxes.php template to your own needs using the Templates Overriding – https://filtereverything.pro/resources/templates-overriding/

2) You can apply CSS manually as each of them has their own ID – https://prnt.sc/kwt7YSRuq4HR So you can check it all using browsing tools, and find the needed ones.

Best Regards,
- Victor

Hello, when i set Ajax for filter the counters works fine on the sidebar but the results are not accurate: the desidered results are ordered at top but, after that, all products are displayed. https://nordcaravan.it/camper/categoria-usato/ I deactivated infinite scroll on kadence engine. Thank you

Hi Funkwarrior

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

Also, send step-by-step instructions on how we can recreate the issue.

Best Regards,
- Victor

Hi Victor, thank you for your support but, after a few tries, I managed to make it work correctly. I first deactivated the shop page which I don’t need instead of hide it (i think caused problems with canonical url) and also set correctly the post container tag in the settings tab. I also removed the custom one in the filter set (which I set wrong) . Maybe is better to improve the description in the Post Container html id setting telling is overriding the main one? Also I have improved a little the italian language .mo file available here: https://drive.google.com/drive/folders/1KhK61HZkL35Z_oOdibwkjzmil0WfTJdw?usp=sharing Thank you again, great plugin and great support.

Hi Funkwarrior

We are glad to the that the issue was resolved. You did an amazing job!

Also, thank you so much for updating the Italian localization. We appreciate your hard work and effort on it.

Best Regards,
- Victor

Similar to the issue with incorrect pagination (https://codecanyon.net/comments/30334382), filtered results still include the WooCommerce “Showing x of y results” statement, which is of course completely incorrect. There must be a filter hook that can be used to update this statement for filtered results

Hi fireflywebz

Thank you for choosing Filter Everything PRO.

If you are having the same issue we have the same instructions.

If you are using the AJAX filter, you can find information on which container to choose here – https://filtereverything.pro/resources/plugin-settings/

In short, it should be a container that has inside pagination and products, in order to update both with AJAX.

Best Regards,
- Victor

WooCommerce pagination not updated

I am having the same problem described earlier today by user rickaahz, specifically that pagination persists even after filtered results are loaded and the need for pagination has changed. This would be extremely confusing to visitors, so naturally, I cannot use the plugin in production until the problem is fixed.

You are welcome to view the problem on my staging site here: https://oneearthstage.wpengine.com/store

Hi fireflywebz

The answer was presented in this comment thread – https://codecanyon.net/comments/30334400 please let’s continue the conversation there in order to remove any confusion.

Best Regards,
- Victor

I am using your filter on a page that has sticky posts displayed on the initial query at the top of the listing. These are custom posts, and because WordPress does not natively allow sticky posts for custom posts, I was able to add that functionality and they are sticky. However, WordPress also doesn’t natively allow sticky posts on a non-home page. Again, I was able to create a pre_get_posts function to enable this to happen.

However, on the listing page that uses Filter Everything, the filter search results do not work properly if my query includes the argument (‘wpse_is_home’ => true) which allows the sticky posts to work.

How can I get the Filter Everything search filters work correctly in this scenario?

Note: the filters work great in a template without sticky posts so I know that the plugin is working on the site. It just doesn’t work with the sticky posts in the above-mentioned set-up.

Thank you for your support.

Hi sherriatwmi

Thank you for choosing Filter Everything PRO.

Unfortunately, we cannot help here much. We cannot debug custom codes that were written for this or that functionality, or make them work with our plugin, as this is all out of the scope of support policy here on CodeCanyon.

From our memory, there were some clients who were utilizing a plugin for sticky posts that should always be at the top of the other posts, and it was working well. But we do not have the name of this plugin. We would recommend checking plugins for that.

Best Regards,
- Victor

Hello,

I’ve just puchased this plugin. Looks very good and works quite well. I’ve found out one problem untill now. I’ve set a product filter which should be on all pages with categories. I’ve tried 2 settings for „where to filter“: 1. Product categories + Any category 2. Common WordPress pages + All archive pagesfor this Post Type Both work the same for me: - OK on the desktop (No filter on the Homepage, filter displayed on pages with categories, no filter on product page and other pages) - On the mobile device – the filter button is displayed on the homepage too, but it’s not possible to click on it / it doesnt work. Other pages are same as on desktop and works OK. Questions: 1. Is it possible to make work the filter button on the mobile device only (stay hidden on the desktop)? 2. Is it possible to place working filter button on both homepages desktop and mobile device. (not a fully displayed filtering as on desktop but the button as it is on mobiles)? 3. Is it possible to hide the filter button on the mobile device? My page where you can see the actual setting is www.joe-parts.cz

Thank you for your support Magdalena

Hi Magdalena

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

Also, please send the link to the pages where you don’t want to display the mobile filter button.

Best Regards,
- Victor

Hello Victor, I’ve sent the credentials by PM. Best Regards, Magdalena

We have checked the site and added just ta simple CSS in the Customize -> Advanced CSS:

@media screen and (max-width: 768px) {
    .page-id-60 .wpc-filters-open-button-container,
    .page-id-18 .wpc-filters-open-button-container,
    .page-id-20 .wpc-filters-open-button-container,
    .page-id-122 .wpc-filters-open-button-container,
    .page-id-14 .wpc-filters-open-button-container {
        display: none !important;
    }
}

So it won’t display a mobile button on those pages. If you add more pages, you simply can add their ID to the CSS in order to hide it there as well.

The 1. option is not possible as those pages do not have anything to filter. The second option we already added how to hide it. If you need to hide on specific category you can use term-number – https://prnt.sc/0-jXBlozJBfV so instead of the .page-id-14 add .term-10 .wpc-filters-open-button-container

Best Regards,
- Victor

Please help, urgent.

In the free version: “Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /srv/htdocs/wp-content/plugins/filter-everything/src/Settings/Container.php on line 163.”

I bought your PRO version and got errors:

“Upload problem: json_syntax.” “An error occurred while installing the plugin.”

Hello lucasewall.

I’m sorry for the inconvenience. It seems you use the latest PHP version, but we planned to add its support in the next update.

Please, write me message in PM with your site address and I will help you to solve the issue.

Thank you. Regards.

https://b138v02.myraidbox.de/wp-admin/

Hi, the Plugin was janky when I started using it, but I managed to get it to work in parts. Even when it worked, it didn’t show all the ACF filters that were selected, only a few. When I created some extra dummy projects, the whole plugin broke down and is now only showing one filter (without me changing anything in the plugin settings themself). I exchanged the real content with dummy content so it is easier for you to see whas happening.

Hi bora-bora

Thank you for choosing Filter Everything PRO.

The issue here is how you created those fields. First, you have created a group in the ACF field, and you should add all your custom fields there. But instead, you created another group there, with its meta key, and in that group created sub-fields.

What you should do is just create a new ACF group, and add all of the needed custom fields there, instead of creating inside another group with sub-fields.

Also if you are planning to use the same names for the new custom field please read this page about what type of issues you might get – https://filtereverything.pro/resources/acf/

Best Regards,
- Victor

Hi victor, thanks for the info, now it works. Follow-up question: the customer wants to use the filter as kind of a guided path to find the right organisation in one of two different areas. Some orgs offer only one area, some both. the first filter asks for a decision between the two general areas. the next filters should only show up if the right area was selected in the first filter. At the moment it still shows filter options for the area that was not selected in the first place. (which makes sense because some orgs offer both). Is there a way to also hide children filters if a certain option was selected in the parent filter?

There are no options that you can choose in order to display a certain filter, depending on which filter term is chosen in the parent one.

The only thing that’s available is to hide the filter until you choose any term in the parent.

The closest thing you can do is use “AND” logic for the parent filter, you can change it from the “more options” on the needed filter. And choose to hide empty filters and hide empty terms “always hide”

Best Regards,
- Victor

Hi there,

When I filter my product category page, the pagination is still showed. So for example, when I filter the view with a filter that shows 6 results. I can still click the pagination to go to other pages that don’t show the product with the selected terms.

Ideally when I filter the overview, I only want to view the products with that specific term (in my case a custom field).

Any ideas on how to fix this?

Hi rickaahz

If you are using the AJAX filter, you can find information on which container to choose here – https://filtereverything.pro/resources/plugin-settings/

In short, it should be a container that has inside pagination and products, in order to update both with AJAX.

Best Regards,
- Victor

Hi Victor, thanks for the reply. This helped, thanks.

We are glad to hear that everything is working.

Best Regards,
- Victor

Hello,

Today i find one problem, that when i choose some filter for more products like this : https://imgur.com/a/VFtG5Rc and try to reload on second page : https://imgur.com/a/3MsmWve after reloading it takes me back to the overall category without a filter ie. I can’t view more than one page of filtered products. Do you know from where this problem could be coming from and how to fix it?

You can try to use this code in your code snippets plugin:

define( 'FLRT_PERMALINKS_ENABLED', false );

In order to turn off our friendly URL permalink manager. So it will work as GET parameters in the URL instead of a /some/some1/ maybe it can help.

Best Regards,
- Victor

The problem really was from this plugin, but they send me functions, that fix this problem. Thank you a lot, that you have guided me to find out exactly where the problem is coming from! Have a nice weekend!

Hi dragoev10

We are glad to hear that everything is working well.

Best Regards,
- Victor

Hi. Does the PRO work with Avada theme, Custom Post Type with ACF fields and Avada Postcards to display?

Hi besandco

Click on our name and send the message there.

Best Regards,
- Victor

Creds sent

Hi besandco

Can you please send the credentials to the wp-admin dashboard following this document so we can check it? Because we cannot log in with the credentials that you sent.

Best Regards,
- Victor

Dear sir, madam,

I see the following PHP warning in the filter everything pro plug-in: Constant FILTER_SANITIZE_STRING is deprecated

wp-content/plugins/filter-everything-pro/src/Settings/Container.php:163 FilterEverything\Filter\Container->getTheGet() wp-content/plugins/filter-everything-pro/src/Plugin.php:39 FilterEverything\Filter\Plugin->register_hooks() wp-content/plugins/filter-everything-pro/src/Plugin.php:21 FilterEverything\Filter\Plugin->__construct() wp-content/plugins/filter-everything-pro/filter-everything.php:181 FlrtFilter->oneTwoThreeGo() wp-includes/class-wp-hook.php:324 do_action(‘init’) wp-settings.php:643

Hopefully this can be fixed.

Kind regards,

Vincent

Hi Vincent

Thank you for choosing Filter Everything PRO.

Yes, we are aware of this issue, and soon there should be an update to fix it.

Best Regards,
- Victor

Thanks for your fast reply!

How do I search/filter by variations? I cannot work this out!! I have products that have variations. I have created a filter menu and clicked the “use variation” checkbox. But when I either search for a variation or try and find it by filtering, it brings back zero results.

You can send 3 or some more products that you were expecting to appear when you are choosing, for example, the “SnapBar” option. So we can check it. Maybe you did some simtake there.

Do you mean to show an image of variation that you are looking for? Or how you wanna hide it?

Best Regards,
- Victor

So I have tried to replicate your example with the following products:

https://www.themagicofwax.co.uk/product/santas-village-melts/ https://www.themagicofwax.co.uk/product/knitted-snowman/

I owuld like the main catalogue to show the parent product. But when filtering, the parent should be hidden and only show the variation. For example, on the Ghost Of Chrostmas Past that you edited, when filtering for the ShotPot it shows the parent product AND the ShotPot variation. It should only show the variation.

It seems that we cannot use credentials anymore to check it.

As to showing only variations instead of the one product where you can choose variations, that is impossible. It would require some third-party plugin in order to create variations as separate products, but in that case, it is better to just not create variants, and create just separate products to show them like that.

Best Regards,
- Victor

Hi,

The filter is working well, but H1 title does not change when I filter the products.

I have followed the documentation. Before to create the first SEO Rule I have do setting this https://drive.google.com/file/d/1TFWPkSmg-2fQgQoIi78fCEnwHd8dlcCU/view?usp=sharing and this https://drive.google.com/file/d/1Bws4jPlUPekWy48qGEFl4UQZWItYjpZ1/view?usp=sharing After that, I add SEO rule and update it https://drive.google.com/file/d/1kigbcBU4Lp99h2dKMLgGix8MeMF6FHbE/view?usp=sharing

After I set it all, the H1 title still does not change. Could you help to fix it?

I use woocommerce_page_title() to display the H1 title, and here’s the url of the website https://www.poufspillows.com/product-category/pouffes/

Thank you

Hi PoufsPillows

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 send it. Please check.

Hi PoufsPillows

Ah, everything working as it should. That’s correct it is working only for one filter term from each filter, if you choose a couple of them it won’t work.

This was made to the SEO good practices. As no one searching for example, buy a red or blue, or green iPhone. But if you create such SEO Rules, this can lead to poor website ranking and potential blacklisting by spam filters. To maintain a positive online reputation, it is strongly recommended that businesses adhere to established SEO guidelines and avoid any behaviors that could be perceived as spam or intentional manipulation of search engine rankings.

That’s why it is working like that.

Best Regards,
- Victor

Feature request: Since there some case that some filter sets may similar and just abit different, so if there a option to clone or duplicate a selected filter set will be great :) thanks

Hi chris_yks

This feature should be added in future updates. We do not have exact dates when, but it will be added.

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