Code

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Cart 15,791 sales
Recently Updated

Stepasyuk supports this item

Supported

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

9005 comments found.

I bought the PRO version of FE, they work very well on desktop, the filter response time is quite good, around under 3 seconds. However, I am having a problem with the same filter but when I operate on mobile, the response time increases significantly, it is up to almost 8 seconds, and this will definitely be very bad for my customer experience, most people will leave when they have to wait 8 seconds to find the product they want.

I have also had this problem before with another filter that I used, the filter response time on mobile is also very slow. However, after a while, I do not understand how they suddenly become very fast, as fast as on desktop.

So I submit this ticket to ask you to guide me on how to optimize the filter on mobile so that their response time is as fast as possible, at least equal to the time on desktop (around under 3 seconds).

Thank you very much and hope to receive your reply soon.

There are no limits to the speed all depends on the number of posts and filters, and the main key here is server hardware. For example, here is an example – https://chaneysjewelry.com/shop/

Best Regards,
- Victor

Thanks Victor. I looked at your example site. It is true that FE on this site works a little faster than on mine. As you said, it is probably the hardware power of the server that is the key. Maybe I should improve this part to have a smoother filter.

Thanks again. I will continue to learn more about FE. If I have any difficulties, I will ask for your help.

Have a nice day Victor

Thank you, have an amazing day as well.

Best Regards,
- Victor

Client have a pro license. My question is why can’t I see an option for the pages post type in the SEO Rules > Post type.

Currently we have setup a page an added the fe_widget shortcode with the query loop below that will display the filter everything results.

We wanted to changed the page title and description if the filters is changed via SEO Rules but it wouldn’t allow us to select the “page” post type.

Hi soledu_taiwan

You need to create a filter set with filters for post-type pages. Then go to the Filters > Settings > Indexed Filters and choose them as indexed with the checkbox. Then you can create SEO Rules for pages based on those filters.

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

We will help you once we have addressed all requests from accounts with valid support periods. Please note that this process may take some time, possibly days or weeks.

If you want to receive it faster, please extend the support period. We will prioritize processing the request for supported accounts.

Best Regards,
- Victor

Hello. Is there any way to export the configured filters so that I can import them to the new site later?

No, this is not available at the moment, this functionality will be presented in future updates.

Best Regards,
- Victor

Is it possible now at least to manually unload them from the database somehow? Or is it difficult?

Near to not possible, as it’ll require manual modifications of quite some data and other nuances that will bring issues if something is missed.

Best Regards,
- Victor

I’ve searched comments and have not found the answer to my question. Apologies in advance if it has been answered. I just want a message to display to users if there are no results for their filter query. Something like, “No results found.” How can I make that happen? Thank you!

Hi jbhphx

This message is not related to our plugin. It is related to the page templates, theme templates, or any page builders templates that display your posts on the page.

Best Regards,
- Victor

Hello there,

I got a message from envato about an update for your plugin.

I thought I just got a wordpress notification about this. Maybe this happens now because my licence has run out?

If so do I just download and upload the plugin file every time there is an update going forward? no need to delete?

Hi matthewm174

WordPress checks once time a day for updates, so it can appear tomorrow in your plugin updates. But you always can download it from here and upload it from the plugins area in order to update it.

Best Regards,
- Victor

Of course i get the notification after i post this question. I think the email from envato is what through me.

Also, anyone else reading this. The plugin is great. Don’t knock it.

Thank you for your nice words.

Best Regards,
- Victor

Hi,

We are working on a new website, but since we don’t want any downtime we are using a subdomain that we will later on migrate. Can we also migrate the licence for this plugin or will the licence only work once? Thanks!

Kindest regards, Caitlin

Hi Caitlin

Thank you for your interest in the Filter Everything plugin.

Yes, absolutely, you can deactivate it at any time and activate it on the needed site.

Best Regards,
- Victor

Hello, I want to request a refund for the Filter Everything Plugin that I purchased. I’ve contacted you about multiple times about issues surrounding categories and tags with the plugin with no response.

Randy Holcomb

Hi Randy 

We are sorry that this happened. Perhaps it was some misunderstanding. We only see one of your requests in the comments, after we asked to provide detailed information on the issues there was no answer to it.

If you can provide any data about what is the exact issue, and credentials to the wp-admin dashboard following this document we can check it right away.

In general, a refund is possible with the appropriate form from the account where the plugin was purchased and waiting for the response. Please note, that the support team is not working with refunds.

Best Regards,
- Victor

We have shown all products on sale with the shortcode [sale_products] and you shortcode [fe_widget]

Yes, in this case, you need to have multiple filter sets. Unfortunately, for now, you will have to create another set of filters manually, the duplication/import/export feature will be introduced in the next updates.

Best Regards,
- Victor

Ok thanks :)

FE_support Author Team

Hi dominoevers

The update to add the duplication of Filter Sets will be released today in a couple of hours.

Best Regards,
Victor

Hello, I cannot activate the license for Filter Everything Pro on the second site. I purchased two plugins; one is working correctly, but the other is not. How can I fix this?

Please send the license key as well.

Best Regards,
- Victor

I have sent all the required information.

kmaiorova

We don’t provide support for users from russia due to the aggressive war in Ukraine.

You can create a refund request here http://themeforest.net/refund_requests/new

Best Regards,
- Victor

What is the newly added hook ‘wpc_swatch_image_size and how do I use this?

Hi jminst

The hook “wpc_swatch_image_size” is used to change the image size for brands from thumbnails to large, full, etc.

Best Regards,
- Victor

Cam you give me an example?

add_filter( 'wpc_swatch_image_size', function( $size ) {
    return 'large';
});

Best Regards,
- Victor

I have not yet installed the pro version of the plugin i just bought it a few days ago but i do have the free version installed and i now get this error since a few days.

2024/11/07 03:42:34 [error] 105113#105113: *1159388 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught TypeError: property_exists(): Argument #1 ($object_or_class) must be of type object|string, bool given in /www/jkvwebshop_114/public/wp-content/plugins/filter-everything/src/WpManager.php:429 Stack trace: #0 /www/jkvwebshop_114/public/wp-content/plugins/filter-everything/src/WpManager.php(429): property_exists(false, ‘data’) #1 /www/jkvwebshop_114/public/wp-content/plugins/filter-everything/src/WpManager.php(179): FilterEverything\Filter\WpManager->identifyWpQueriedObject(Object(WP_Query)) #2 /www/jkvwebshop_114/public/wp-includes/class-wp-hook.php(324): FilterEverything\Filter\WpManager->addFilterQueryToWpQuery(Object(WP_Query)) #3 /www/jkvwebshop_114/public/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #4 /www/jkvwebshop_114/public/wp-includes/plugin.php(565): WP_Hook->do_action(Array) #5 /www/jkvwebshop_114/public/wp-includes/class-wp-query.php(1881): do_action_ref_array(‘pre_get_posts’, Array) #6 /www/jkvwebshop_114/public/wp-in” while reading response header from upstream, client: 125.88.231.98, server: jkvnl.com, request: “GET /?author=13 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php8.1-fpm-jkvwebshop.sock:”, host: “jkvnl.com:48008”

I can not give you access to the live webshop since it’s in production. I tried to push the live site to staging, but I can’t reproduce the error there. I just send you the credentials to the staging environment. I did not added the backup plugins since i have an backup of the website myself hope that’s okay.

I just did the plugin update on the live site (that was not yet available when I send the support message earlier) Maybe that will fix something?

Yes, it’s understandable that you can’t give us access to the production site. Also, we are more comfortable on the staging site.

But if it can’t be recreated on the staging site, it means that the problem is purely on the production site, perhaps there were some changes? Maybe caching plugins or anything else?

Maybe it will fix the issue, or maybe some data were corrupted in the filter set which can also be a thing. It is hard to say without actual debugging on the site where this issue is presented.

Best Regards,
- Victor

HI, is there a way to always fold the horizontal filter option when opening the url with certain filters in it?

https://animalboulevard-shop.com/shop/dier-hond/categorie-speelgoed/typeproduct-touwspeeltje/?dier=hond

We are not sure what type of code you added in the functions.php. The first code is a function with a hook that you can use to write custom code with the needed logic.

The second one is the piece of code from the plugin itself that “decides” which folding should be opened or closed.

There is no ready solution for that, this requires a custom code from scratch and the use of the hook “wpc_folding_opened”.

Best Regards,
- Victor

Hi, is there a way to make sure the filter unfolding is done as overlay and not pushing our products down?

Hi mrijnwal

Currently, there is no out-of-box solution for that. Here’s how you can do it. Go to the filters > settings > experimental > custom CSS and add the 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 or any code snippet plugin:

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

I am interested in this plugin and purchase the pro version, however I have no way(or I can’t find it myself) to test it, even in free form with limitations, to see if it can really be useful to me. The free version does not work with elementor, so I have no way to see the results on mi site.

Is there any way to try the plugin, not through demos, but through a wordpress staging area, such as wordpress playground, to see all the possibilities the plugin offers on a practical level and not just how it may look in the demos?

Or, if this is not possible, is there a refund policy within a time frame, whereby if I buy the pro version and am not satisfied with it I can ask for a refund? This seems to me the only way to actually see if and how I can use this plugin, which looks great anyway.

You choose it like this – https://prnt.sc/mk6WIYaGIE-V

More about it can be read here – https://filtereverything.pro/resources/quick-start/#set_the_wp_query

Best Regards,
- Victor

ok I see, so it will be just as I had read in the documentation, I should theoretically try all the queries that pop up and go trial and error to find the query related to the right widget.

Thanks for the pre-purchase support, I will try the plugin and hopefully it will be a good fit for me and the site.

Hi Exion98

Thank you for choosing Filter Everything PRO.

Yes, it is relatively fast as usually pages have one or a couple of queries. Also since you can create a filter set for a certain post type, it will display queries related to this post type.

Best Regards,
- Victor

I have 6000 products with maybe 50 different product attributes. Most of the attributes contains numeric values.

How can I sort the elements in numeric order? Currently it is sorted my alpahbet, which means that 10 comes after 1 and before eg 2?

And why can’t i activate the range-slider? Isn’t it available for product attributes?

The update should be released today or tomorrow, it should work nicely, also the menu order 123 will work nicely for the WooCommerce attributes position, which you can drag and drop in the needed order and have the same on the front with filter terms.

Best Regards,
- Victor

Lovely! I just installed the newest version of the plugin and now everything is fine. Thank you very much for this awesome support!

We are glad to hear that everything is working well.

Best Regards,
- Victor

How can I change the color of the radio buttons. The default color is blue but I want to change it to the customer’s house color.

Hi gerrit5647

Thank you for choosing Filter Everything PRO.

You can go to the Filters > Settings > General and choose the color here – https://prnt.sc/ngeUXTck-ILT or you can use your own custom CSS and place it in the Filters > Settings > Experimental > Custom CSS.

Best Regards,
- Victor

Thanks for your quick reply. Can you send me the CCS code to change the radio buttons for hoover and active.

We’d love to help, but unfortunately, following the support guidelines, the custom CSS is out of the scope of support – https://prnt.sc/7Nj9-QkVsDAK

But it is using the general approach that was described here – https://wordpress.org/support/topic/colour-change-to-filter-title/ there is no CSS styles documentation, as it is a common practice for any custom styles on the site.

Best Regards,
- Victor

Hi,

For our website buiskoppelen.nl, we are using your plugin Filter Everything Pro. It seems that the price filter is no longer working on category pages after the most recent update.

The way the filter is set up hasn’t been changed, so we suspect something may have broken after the update. Here are our filter settings: https://ibb.co/NpHgHh1

We get the following error when trying to display the price filter: https://ibb.co/rpWRpTJ

We would appreciate any solutions you might have for this issue. Thank you in advance for your response!

Hi adsbuiskoppelen

Seems like you are using some custom functionality but this function was renamed from

getFormActionUrl();
to the
getFormActionOrFullPageUrl();

You can change its name in your custom code in order to make it work as it did previously.

Best Regards,
- Victor

Hi Victor,

Thank you for your quick and helpful response. The issue has now been resolved!

Hi adsbuiskoppelen

We are glad to hear that it helped to resolve the issue.

Best Regards,
- Victor

can you help me with this problem don`t work Uncaught Error: Call to undefined function FilterEverything\Filter\Pro\Api\curl_init() in /var/www/site/wp-content/plugins/filter-everything-pro/pro/Api/ApiRequests.php:53 Stack trace: #0 /var/www/site/wp-content/plugins/filter-everything-pro/pro/wpc-default-hooks-pro.php(262): FilterEverything\Filter\Pro\Api\ApiRequests->sendRequest() #1 /var/www/site/wp-content/plugins/filter-everything-pro/pro/wpc-default-hooks-pro.php(145): flrt_ask_for_updates() #2 /var/www/site/wp-includes/class-wp-hook.php(326): flrt_increase_count() #3 /var/www/site/wp-includes/plugin.php(205): WP_Hook->apply_filters() #4 /var/www/site/wp-includes/option.php(2544): apply_filters() #5 /var/www/site/wp-includes/update.php(906): get_site_transient() #6 /var/www/site/wp-admin/menu.php(33): wp_get_update_data() #7 /var/www/site/wp-admin/admin.php(158): require(’...’) #8 /var/www/site/wp-admin/plugins.php(10): require_once(’...’) #9 {main} thrown

Hi shearchan

Thank you for choosing Filter Everything PRO.

Please ask your hosting support to enable CURL in PHP for your site/server (depending on how many settings are there and which one has the priority) and this error will disappear.

Best Regards,
- Victor

thanks a lot

Hi, I’m designing a website for a real estate agency from scratch, without any pre-built themes and without Elementor or Gutenberg, just HTML, PHP, and CSS.

I have a custom post type called “Houses,” which has several taxonomies including price, location, and type.

I’d like to add filters on the homepage, on the archive page of the custom post type, on taxonomy pages, and on the search results page. What’s the most intuitive way to do this, including the filters with a shortcode? The homepage won’t display the list of listings but, when selecting filters and clicking the confirm button, it will redirect to the search results page.

Thank you

Hi bossavelha

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

Best Regards,
- Victor

Hi Victor, credentials sent, thank you

We have checked the site and the problem may be related to the theme itself. If we set the filter on a specific taxonomy page, everything works fine, if we place a redirect filter on the home page to redirect to this taxonomy page, it also works fine.

But any ones that are involved for multiple pages, are simply not working correctly, and this is the issue, as we cannot recreate it on the default theme.

Best Regards,
- Victor

Is this only intended for Woocommerce store pages? I find this a very nice and tidy look. Could I also use this on normal posts, e.g. for a filterable date via custom fields and then sortable by this date? I want to set a Movie Start Date in my Movie Preview Website, and then the opportunity to Filter by Cinema Start Date here https://www.flimmerkiste.net/bald-im-kino/ . Is it work with Newsletter Theme from Tagdiv.com? Thank you! KR

Hi Stemmi74

Thank you for your interest in the Filter Everything plugin.

Yes, you can filter any CPTs on any page by any custom field or taxonomy. The only thing about the date filter is that it is currently working with the post date, but it will work with the ACF date picker in future updates as well.

Best Regards,
- Victor

Thank you Victor for your fast answer. I want to try it, but is it possible to get money back, if your Plugin dont work with my Theme together? Or do you hint a Demo for Testing? Thank you! KG Stemmi

Yes, absolutely you can try it. In case it won’t work with the theme we are following the CodeCanyon refunds policy, so you can get a refund.

Best Regards,
- Victor

Hi I want to ask about how connect acf to this plugin. I have a website where I need to add two search filters, private centers and location. https://www.rubenalcantud.com/centros-de-dia/

elements that appear in this page were created with ACF. I created custom taxonomies: private centers and location.

I dont know how to show in filter everything all this and I need your help! thanks

All of the important notes with the ACF fields are described here – https://filtereverything.pro/resources/acf/#important

So the question is how does this field get there, and how it was applied to some of your posts? Either there was such a field with such values and later it was removed, and now created new one with the same meta key but as you read from the link that we sent nothing is removed from the database.

You can simply Exclude it from the filter, by going to the filter set clicking “more options” on the needed filter and from there using the include/exclude functionality. OR remove from the database (if you know what you are doing).

Best Regards,
- Victor

thanks for all info!! Can you say me where I found this table on bbdd? thanks!! https://prnt.sc/ccWxaZwivEwn

Hi Elalceweb

It is in the prefix_postmeta (the prefix is unique and can be wp_ or ti8x_ … use postmeta to find it in your DB) table in the WordPress database that stores all post metadata, including custom fields.

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