Code

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Cart 15,679 sales
Recently Updated

Stepasyuk supports this item

Supported

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

8963 comments found.

Hi there, I just recently got this error:

Fatal error: Uncaught Error: Call to undefined function FilterEverything\Filter\Pro\Api\curl_init() in C:\wamp64\www\Alchemy\wp-content\plugins\filter-everything-pro\pro\Api\ApiRequests.php on line 53

Call stack:

FilterEverything\F\P\A\ApiRequests::sendRequest()
wp-content/plugins/filter-everything-pro/pro/wpc-default-hooks-pro.php:253
flrt_ask_for_updates()
wp-content/plugins/filter-everything-pro/pro/wpc-default-hooks-pro.php:145
flrt_increase_count()
wp-includes/class-wp-hook.php:326
WP_Hook::apply_filters()
wp-includes/plugin.php:205
apply_filters()
wp-includes/option.php:2544
get_site_transient()
wp-includes/update.php:906
wp_get_update_data()
wp-admin/menu.php:33
require()
wp-admin/admin.php:158
require_once()
wp-admin/plugins.php:10

WAMPserver 3.3.6 – 64bit PHP 8.2.22 – (tried 8.3 same problem) Apache 2.4.41

Hi thefoster9

Thank you for choosing Filter Everything PRO.

Please ask your hosting support to enable CURL in PHP and this error will disappear.

Best Regards,
- Victor

Hi, Does your plugin offer conditional filters?

I only want to show FILTER_B if FILTER_A has a value selected. Something like that?

Oh, I think I just found the option in the free version for Parent Filter. If this works I’ll get the Pro for SEO features :)

Oh, so I can use the parent filter but on category pages where one filter has no related terms it shows “There are no filter terms yet”.

Is there an option in Pro to not show a filter when there are no terms?

I have the option enable to “hide empty terms” but I need to hide the entire filter when there are no options.

thanks

Hi jinsley8

Thank you for your interest in the Filter Everything plugin.

Yes, the PRO version has an option to hide empty filters.

Best Regards,
- Victor

Hi, Recently I have a problem with several checkbox filters of some custom fields.

These are set with “OR” filter logic but after selecting a checkbox, the second one I select cancels the first. It behaves as if it were a radio input and not a checkbox.

The filters worked for some time. I tried deactivating the plugins installed later, but the filters still don’t work.

I have the same filter, just change the custom field, which works as it should.

I wouldn’t know what went wrong.

Private message sent. Thank you!

We have checked the site and changed the filter for the home page, setting it exactly on it, “Common WordPress pages + homepage” Previously it was placed on all archive pages.

So you had two filter sets on “All archive pages” But one had dropdowns, and the second one had checkboxes, this is why you had such a conflict.

Best Regards,
- Victor

Very good. Thanks for the help! :)

Hello

We are experiencing several issues with your product filtering plugin (Pro Version) on our bookshop website, which we need your assistance to resolve urgently. Below are the details of the problems we have encountered:

Category Filtering Issue: We have a hierarchical structure of categories, with parent and child categories. When a parent category is selected, it is not possible to filter by any of its child categories without first deselecting the parent category. This behavior is confusing for our customers, as it is not consistent with typical filtering logic found on other websites.

Search Page Filtering Issue: The filter functionality does not work on our search results page. For instance, when a user searches for “encyclopedia” and the results are displayed, selecting a filter (e.g., age group 5-7) does not narrow down the results to match the selected filter. Although the filter appears to be checked, it does not apply the necessary filtering to the displayed products.

Series Page Filtering Issue: Filters on our book series pages are not functioning at all. Despite the filters being visible and selectable, they do not affect the product listings as intended. Attached, you can find screenshots/screen recordings of the issues.

These issues are significantly impacting our user experience and conversion rates. We would appreciate your prompt assistance in resolving these problems. Please let us know what steps we should take to troubleshoot or fix these issues, or if there are any updates or patches we need to apply.

https://demo.sulakauri.wearede.com/tsignebi/

Hi dpublisher

1) Category Filtering Issue – for this, you can either use “AND” logic from the more options or if you want the exact functionality that you have described you can write it with the custom code. When the parent category is chosen, then it shows items from all of the child categories, as long as you don’t uncheck it. But with the “AND” logic when you choose parent category and child one it will show products that have applied on them both parent and child, not separately. So logically, the child product applied to the parent category and to the child one specifically.

2) Search Page Filtering Issue – You can use the “Product Search” widget to do the product searching, the correct link should be like this – https://demo.sulakauri.wearede.com/?s=%E1%83%A1%E1%83%90%E1%83%91%E1%83%90%E1%83%95%E1%83%A8%E1%83%95%E1%83%9D&post_type=product it seems that you are using the search plugin with its own algorithms that are not compatible with the filtering.

3) Series Page Filtering Issue – Not sure about this one, but could be that each series page has a unique query, try to place a filter set only on the exact series page, and test it, also make sure you have chosen the correct query in the “And what to filter?”

If you have any further questions, please note that generally, 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 receive it faster, please extend the support period, and we will process the request with the priority for supported accounts.

Best Regards,
- Victor

i have tried the below css and function code but the dropdown coming as dropdown inside dropdown without multi check box.

.wpc-filter-set-2450 .wpc-filter-title{ margin-bottom: 0; } .wpc-filter-set-2450 .wpc-filter-content{ position: absolute; left: 0; right: 0; background: #fff; /box-shadow: 0px 5px 5px rgb(0,0,0,0.1);/ z-index: 10; border-radius: 2px; padding: 20px 20px; } .wpc-filter-set-2450 .wpc-filter-has-selected .wpc-filter-content, .wpc-filter-set-2450 .wpc-opened .wpc-filter-content{ border: 1px solid #cccccc; border-top: none; } .wpc-filter-set-2450 .wpc-filter-header{ padding: 9px 19px 10px 19px; border: 1px solid transparent; border-bottom: none; } .wpc-filter-set-2450 .wpc-filter-header{ border: 1px solid #cccccc; } .wpc-filter-set-2450 .wpc-filter-has-selected:not(.wpc-closed) .wpc-filter-header, .wpc-filter-set-2450 .wpc-opened .wpc-filter-header{ border-bottom: none; } .wpc-filter-set-2450 .wpc-wrap-icons{ line-height: 1.5; }

function add_filter_toggle_script_to_footer() { ?> <script> jQuery(document).ready(function($) { function initFilterToggles() { // Get all filter collapsible sections const filterCollapsibles = document.querySelectorAll(’.wpc-filter-collapsible’); } add_action(‘wp_footer’, ‘add_filter_toggle_script_to_footer’);

filterCollapsibles.forEach(collapsible => {
               const button = collapsible.querySelector('.wpc-filter-header button');
               button.addEventListener('click', function(event) {
                   event.stopPropagation(); // Prevent propagation to parent elements
} else {
                       // Close all other collapsibles
                       filterCollapsibles.forEach(otherCollapsible => {
                           if (otherCollapsible !== collapsible) {
                               otherCollapsible.classList.remove('wpc-opened');
                               otherCollapsible.classList.add('wpc-closed');
}
});
}
});
});
});
}
});
}
});
});
   </script>
 <?php
// Initialize filter toggles on page load
initFilterToggles();
// Reinitialize filter toggles after AJAX update
$(document).on('ajaxComplete', function() {
    initFilterToggles();

Hi srini16

As we previously mentioned in our message:

Inside the filter set settings, you need to enable the “folding” option for the filters from the “more options” and use the checkbox, labels, or radio button in the “View in Widget”.

So instead of a dropdown, you need to check either checkboxes or labels in the “View in Widget” since you want to choose multiple options at the same time.

Best Regards,
- Victor

I am having some issues with the Dropdown part of the Filter.

If you can visit our website: https://audiohuisdelft.nl/shop/

You can see that the Dropdown named “Merk” is not showing me the “Filter Per” name and only showing [object Object]

When I press on the dropdown, it kind of shifts down.

Thank you Victor :)

Update on the issue.

The WooCommerse released a new update where they returned the old selet2 script that not causing the issue. Please update the WooCommerce to the latest version so everything will work well again.

Best Regards,
- Victor

Works again, tnx

Hi Andrii, when displaying a list of taxonomy terms for a product search, the child terms are hidden by default. Is there a filter or similar that I can use to have the child terms visible immediately?

Hi plexus_media

If you are referring to the hierarchy view in the filters, and make them always opened instead of closed you can use the “wpc_hierarchy_opened” hook, and write your own functionality so it will follow the needed logic.

Best Regards,
- Victor

Thanks Victor. I tried using that filter with the below code but it didn’t work. Can you see a reason why; add_filter( ‘wpc_hierarchy_opened’, ‘plexus_hierarchy_filters_opened_by_default’ ); function plexus_hierarchy_filters_opened_by_default( $filters_opened_by_default ) { $new_opened_by_default = [ 19, // Filter ID ]; return array_merge( $filters_opened_by_default, $new_opened_by_default ); }

Unfortunately, we do not debug/provide custom codes as it is out of the scope of the support policy. If you have any issues with it, please contact your site developer, or you hire a developer from a platform like Upwork in order to help you with this code.

Best Regards,
- Victor

I’m experiencing an issue with the Filter Everything Pro plugin. When I update product attributes, the changes are reflected on the product page, but the filter options don’t update to reflect these changes. For example, if I change a product’s attribute “Product Type” from “Single Post” to “Centersets”, the product page shows “Centersets”, but the filter still displays the product under the “Single Post” filter category.

I’ve cleared the cache, reindexed products, and checked the plugin settings, but the issue persists. Could you please advise on how to ensure that the filter options update correctly when product attributes are modified? This issue is affecting the accuracy of our filters and could lead to customer confusion.

Already sent the credentials.

We have checked the site and deactivated those 3 plugins go to the filter set hit update and everything is working well, more likely it is one of those transient plugins, but you can try it more deeply to see which one is causing it to deactivate only the one that causing issues:

weLaunch Framework

Transients Manager

Delete Expired Transients

Best Regards,
- Victor

Thank you so much

Hi, ijust purchased the plugin, when i install it i get this error: Warning: foreach() argument must be of type array|object, string given in /home/millevini/public_html/wp-content/plugins/filter-everything-pro4/src/RequestParser.php on line 47

I deactivated all the plugins and test it again but still get the same error. Im on tha latest wp with Elementor pro. PHP 8.2

Thank you

Hi thanikoss

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

I’m loving the plugin. One question: Is there a way for me to exclude certain categories from the category filter? Right now it’s pulling EVERY category, and there are a few I would like to exclude.

Hi seeznak

Go to the Filters -> Settings -> URL Prefixes and add to each of them fe_ at the start of the prefix, like this “fe_style/fe_pages/...” hit the save button go to the filter set hit update, and go to the page with the filters refresh it and try to filter one more time if it fixed the issue.

Best Regards,
- Victor

That worked! Can you explain why that is? I’ve run into trouble with the prefixes being used, seems like maybe the conflict with the existing attributes in WP, I dunno. But if I know what’s going on then I can avoid this in the future…

Hi seeznak

If you have a category, page, or post with a slug car-something and create a filter with the Prefix car, this will cause issues, as they are crossing, and at this point, WP is confused about what to do with this URL, open a page or a category or apply filters. The prefix always should be unique, when you are using _ it will be one letter while – will be separate ones.

Best Regards,
- Victor

I would like the user to be able to select only one filter at a time. Because I only want the URL to have one of the tag terms, not two. How can I do something like that?

Hi smgcreativos7

Only with the custom code, make all of the options as radio buttons and make them all work together, so you can choose only one option out of all of the filters. Also, you can try to use the templates overriding – https://filtereverything.pro/resources/templates-overriding/

Best Regards,
- Victor

Can you teach me how to do that?

Hi smgcreativos7

No, unfortunately, we do not provide/debug custom coding as it is out of the scope of support policy.

Also, there is no way to teach doing such stuff, realistically speaking, if you have enough time on your hands (a few years) you can check some of the WordPress/PHP/JS development courses. Or you can always hire a developer using a platform like Upwork so he can write it for you.

Best Regards,
- Victor

Is there any way to particularly choose which filters to index and which not to index? I mean it seems that you can only select in a general way. That is, if I choose to index the tags, I can only index them.

Hi smgcreativos7

Yes, by default all of the filtered pages are not indexed. When you are creating SEO Rules, you can create a rule for each filter term and for each mix of filter terms, like color blue and size xxl and brand nike. So the SEO Rule will work only for this mix of filter terms when you choose one of them nothing will be indexed, only the exact same as in the SEO Rule.

Best Regards,
- Victor

In other words, only those filters to which I have SEO rules will be indexed?

Hi smgcreativos7

Yes, that is absolutely correct, and here you can find a documentation page on the SEO Rules – https://filtereverything.pro/resources/seo-rules/

Best Regards,
- Victor

Hello, I would like to know how to indicate the canonicals to URLs that are indexed. In SEO Rules I don’t see any option to do it. Could you tell me?

Hi smgcreativos7

Thank you for choosing Filter Everything PRO.

There is a hook in the plugin “wpc_seo_canonical,” which you can use.

Best Regards,
- Victor

I don’t quite understand, where do I find this add-on?

Hi smgcreativos7

Well, you can read about hooks here in the WordPress documentation – https://developer.wordpress.org/plugins/hooks/ in order to understand how they are working.

Best Regards,
- Victor

Hello Team, We have added the FIlter everything pro in our site. But its not working with apply filter button. Here is the site URL: https://development.brstdev.com/KeglerzProshop/product-category/apparel/

Please help me on this asap. Thanks

Hi avinash11308

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.

Best Regards,
- Victor

Is it possible to edit a preselected filter page, or maybe create a page with a preselected filter? For example, this page https://cls.health/providers/fe_specialty-podiatry/, (or a page with the podiatry filter pre-selected)

Hi clshealthinfo

Yes, unfortunately, things you are looking for with predefined filters can be only achieved via URL.

Best Regards,
- Victor

Hi,

Actually I was able to find a way to create a template for specific taxonomy, in this example the Cardiology specialty. However, it seems that not all of the filters appear in the filter widget. Do you know how we could get them all to display? I noticed that you cannot de-select the current taxonomy page in the filter as well.

https://cls.health/specialty/cardiology/

Yes, you cannot select or deselect the current category filter term. It was made like that to not duplicate the category name on the already-category page.

The filter terms that you see in the filters depend on the posts that are displayed on this category page. So if there are no posts with the category cars applied to them in this category page, the cars category won’t be displayed as a filter term (when you have hidden empty filter terms to always hide).

Best Regards,
- Victor

Hi there,

During the process of making my site I used various test sites with your plugin. I went to update my plugin there now and it say’s it’s activated on two sites. Is there anyway you can “kick” plugin from all sites using my license key except for abbeygifts.co.uk?

Hi matthewm174

Please send us the license key via PM – https://codecanyon.net/user/fe_support so we can deactivate it across all of the sites.

Please follow the instructions on this page: https://filtereverything.pro/resources/license-key-issues/#how_to_get_the_license_key to get the license key.

Best Regards,
- Victor

private message sent

The license was deactivated across all of the sites. So now you can activate the needed sites. Unfortunately on the site that you provided via PM, there was no license activated.

Best Regards,
- Victor

Hi, I have a problem with an energy label filter. It’s an ACF field, with values like: A, A+ or A++.

Somehow it only shows A++ in the filter, but in the list of posts are also posts available with A and A+.

Hi diederikk

Please read this documentation page about ACF – https://filtereverything.pro/resources/acf/ the code is not needed to display labels instead of values it’s already working from the box in the latest version of the plugin.

Best Regards,
- Victor

Excellent, thanks for the quick reply. I changed the ACF field to label & value, and it works!

We are glad to hear that everything is working well.

Best Regards,
- Victor

Hi, I have one more query, is there way to enable multi selection in dropdowns?

Hi srini16

Currently, there is no out-of-box solution for that. You can make it look like here – https://demo.filtereverything.pro/horizontal-views/color-blue/brand-hm/#3-columns

Here’s how you can do it. Go to the filters -> settings -> experimental -> custom CSS and add next styles:

.wpc-filter-set-2450 .wpc-filter-title{
  margin-bottom: 0;
}
.wpc-filter-set-2450 .wpc-filter-content{
  position: absolute;
  left: 0;
  right: 0;
  background: #fff;
  /*box-shadow: 0px 5px 5px rgb(0,0,0,0.1);*/
  z-index: 10;
  border-radius: 2px;
  padding: 20px 20px;
}
.wpc-filter-set-2450 .wpc-filter-has-selected .wpc-filter-content,
.wpc-filter-set-2450 .wpc-opened .wpc-filter-content{
  border: 1px solid #cccccc;
  border-top: none;
}
.wpc-filter-set-2450 .wpc-filter-header{
  padding: 9px 19px 10px 19px;
  border: 1px solid transparent;
  border-bottom: none;
}
.wpc-filter-set-2450 .wpc-filter-header{
  border: 1px solid #cccccc;
}
.wpc-filter-set-2450 .wpc-filter-has-selected:not(.wpc-closed) .wpc-filter-header,
.wpc-filter-set-2450 .wpc-opened .wpc-filter-header{
  border-bottom: none;
}
.wpc-filter-set-2450 .wpc-wrap-icons{
  line-height: 1.5;
}

Then go to the page where you have your filters widget on and inspect the filter widget in order to find its ID – https://prnt.sc/9j3SiL-VXk3f and use it in this CSS instead of 2450 with your ID

Inside the filter set settings, you need to enable the “folding” option for the filters from the “more options” and use the checkbox, labels, or radio button in the “View in Widget”.

Also, here is a code to make it close when clicking on any other area, and when clicking on the next dropdown, you can place it in the functions.php file of your theme:

function add_filter_toggle_script_to_footer() {
    ?>
  <script>
    jQuery(document).ready(function($) {
        function initFilterToggles() {
            // Get all filter collapsible sections
            const filterCollapsibles = document.querySelectorAll('.wpc-filter-collapsible');

            filterCollapsibles.forEach(collapsible => {
                const button = collapsible.querySelector('.wpc-filter-header button');
                button.addEventListener('click', function(event) {
                    event.stopPropagation(); // Prevent propagation to parent elements

                    // Toggle open/close classes
                    if (collapsible.classList.contains('wpc-opened')) {
                        collapsible.classList.remove('wpc-opened');
                        collapsible.classList.add('wpc-closed');
 } else {
                        // Close all other collapsibles
                        filterCollapsibles.forEach(otherCollapsible => {
                            if (otherCollapsible !== collapsible) {
                                otherCollapsible.classList.remove('wpc-opened');
                                otherCollapsible.classList.add('wpc-closed');
 }
 });

                        // Open clicked collapsible
                        collapsible.classList.add('wpc-opened');
                        collapsible.classList.remove('wpc-closed');
 }
 });
 });

            // Close collapsibles if clicked outside
            document.addEventListener('click', function(event) {
                if (!event.target.closest('.wpc-filter-collapsible')) {
                    filterCollapsibles.forEach(collapsible => {
                        collapsible.classList.remove('wpc-opened');
                        collapsible.classList.add('wpc-closed');
 });
 }
 });
 }

        // Initialize filter toggles on page load
        initFilterToggles();

        // Reinitialize filter toggles after AJAX update
        $(document).on('ajaxComplete', function() {
            initFilterToggles();
 });
 });
    </script>
  <?php
}
add_action('wp_footer', 'add_filter_toggle_script_to_footer');

Best Regards,
- Victor

please check your mail

Hi srini16

Thank you for the credentials, when we make debugging we will let you know what could be the issue if we could find anything.

Best Regards,
- Victor

Hi

I purchased your plugin believing we could filter by Date from and ACF field.

But when I setup the Filter on the field it won’t let me select Date Range? it is greyed out am I missing a setting somewhere.

Any assistance would be appreciated

As far as we know, it should be released in a couple of months.

You can request a refund from the account where the plugin was purchased, but we recommend not rushing into it because, with a lifetime license, you basically have lifetime updates. And you can filter any CPT with it, so when it comes out, you can download the new version and work with it.

Best Regards,
- Victor

I understand that it is a life time warranty but unfortunately I need the feature, now. I have had a look in Envarto where I purchased the plugin and there is no option to request a refund. Do you know where in my account I can request a refund?

We’re not entirely sure about this, as as a support team we’ve never made a refund request, so it’s best to refer to the Evanto FAQ or ask Evanto Support for this information, as we do not want to provide any false information on it.

Also, please note that the support team is not working on the refunds, usually you should get a response around a week or two.

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