Code

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Cart 15,667 sales
Recently Updated

Stepasyuk supports this item

Supported

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

8955 comments found.

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

PHP Fatal error: Uncaught TypeError: explode(): Argument #2 ($string) must be of type string, array given in /srv/htdocs/wp-content/plugins/filter-everything-pro/src/WpManager.php:1332

Hi srini16

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

Best Regards,
- Victor

his support, i have sent the credentials to your support – we need help due to the Filters not working on category and tag pages. thanks

Hi eeaustgroup

Thank you for that, the answer was provided via Email with the link.

Best Regards,
- Victor

i got the email but without a link.

What we meant is the link to the category page. So if the category page displays only 3 products and all of the categories applied on those products are the same as this category page, then others will not appear in the filter. If there is at least one product with another category applied to it as well, then it will be displayed in the filters.

Best Regards,
- Victor

Hello. Is it possible to not have a reload with the url attached for every filter result? I’d like to keep the results unsearchable.

No, that’s impossible, but you can configure Firewar to not allow the bots to crawl on the filtered pages with wildcards like mysite.com/shop/* and the rest of the links, so everything that goes beyond * will not be crawled.

Best Regards,
- Victor

I see. Is it possible to load the page with the filter inside a modal window?

Yes, all you need to do is place the shortcode [fe_widget] in your modal window. And on the pages where the filter set is applied to the page, it will appear there. But if you have multiple areas where the filter set should appear, it will appear only in one place, not in all of them at the same time.

Best Regards,
- Victor

hi.. facining activation issue and shows already used for 2 sites. please reset this? let me no how to identify which sites am i using!!!

Hi srini16

Please send us your license key via PM – https://codecanyon.net/user/fe_support so we can deactivate it across all of the sites, and you can activate them only on the needed ones.

Best Regards,
- Victor

Done! You can activate it on the needed sites.

Best Regards,
- Victor

I have created to filter sets on my site – one for page 1 and one for page 2. It works on page 1 but not on page 2. It’s the same query and the same shortcode, I have added to a shortcode box. It just shows the “No one Filter Set is related to this page. You can configure it in the Filter Set -> “Where to filter?” field.” error. I have tried assigning the page (the frontpage), and I have tried assigning it to Any Page page, with no luck. It detects my query fine in the filter set page. From what I can tell, it should be working with these settings. And it works on a different page, so the setup of the filter should also be fine. I’m using shortcode [fe_widget] to display the filter. Any suggestions to what I can try next? Thanks in advance.

Thanks – links and credentials sent :-)

Hi thomas-pr3

We have checked the site and configured it correctly. One of the pages is a homepage so in order to make it appear on the homepage, you need to choose Common WordPress page + Homepage.

Best Regards,
- Victor

Thank you very much for your fast support :-)

Hi, I’m having an issue with the Pro plugin. I’ve set up custom filters that work well on their own. However, when I use Elementor’s page builder to add a posts widget alongside the Filter Everything widget, the filters stop working as soon as I specify post categories in the Elementor widget. If I don’t choose specific categories in the Elementor widget, the filters work fine. It seems like there’s some interference happening. Is there a workaround for this?

Hi Citiblu

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?

Also, please send the link to the page with the issue so we can check it right away.

Best Regards,
- Victor

We are encountering a fatal error related to memory allocation, and we suspect that the issue may be caused by the Filter Everything plugin. Could you provide any solutions or suggestions to address this problem? this causing page breaking where we use filter everything plugin

Hi srini16

Thank you for choosing Filter Everything PRO.

If it is physical memory on the hard disk, you can disable debugging logs, which in some cases can generate a log that takes up to several gigabytes.

If the issue is related to the PHP memory you might want to increase it on your site.

If it is connected to the RAM, in this case, we are not sure what we can recommend as we do not know the specifications of your server and we do not know how exactly it is happening and how you managed to fix it to run again. If you provide more information on it we might help you to fix it.

Best Regards,
- Victor

“Error: Set was not saved.” When trying to set any product filter (Product Category, Product Type, etc..) It’ll save when I first set it up, but if I try to add another filter/etc, it’ll give me the error above. It also grays out the filter options for Product category/product type/etc… (Other fields stay normal color)

Other filters seem to working as expected though.

There were deprecated functions from the 7.4 and everything rushed to the 8+ so we had to fix it, perhaps it can be the case. But we have on our testing site 7.4.33 as well and everything is working well. So it must be some server settings.

Best Regards,
- Victor

Yeah, hard to say. Though, thank you for looking into the issue. Everything seemed resolved now! :)

Do you still need access to any of the staging site/ftp/etc for testing? If not I can shut those down.

Thanks

Hi nathanh61

No, if everything is resolved, we don’t need any access, we are happy to hear that everything is working well.

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