Code

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Cart 15,693 sales
Recently Updated

Stepasyuk supports this item

Supported

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

8970 comments found.

Hi,

Is this the plugin that adds the following code in the .htaccess ?

RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} !(\.[a-zA-Z0-9]{2,5})$ RewriteCond %{REQUEST_URI} !(.)/$ RewriteRule (.[/])$ /$1/ [L,R=301]

It blocks page from being updated in the admin area. If i remove the code out of the .htaccess, it works. I tested with vanilla wordpress installation and storefront theme.

No error appears, just the page or post does not update.

Thanks

Hi DailyLost,

No, our plugin doesn’t add anything to the .htaccess file at all. More likely this is doing some other plugin or custom code or anything else. So you need to check on your end which plugin exactly doing it and try to fix it so it won’t cause workability issues.

Best Regards,
- Victor

In Mobile view Filter apply, cancel not working properly. For first time when We click on any Filter its asking to appy. When We apply only the Programs are dispalyed. But second time when we click on anyu check box its appling directly with out clicking the Apply Programs are appearing. Can you please help me on It. URL: https://emerituslearning.com/?s&post_type=program Check in mobile View

1. Click on FIlters 2. Select on Any Topics -> Click on Cancel (result(No topics will Appear)) 3. Select on Any topics -> Click on Apply (Result(Seleted Topics will Appear)) 4. Select on Any Topics Again – It automatically Bring the Program With outAppying the Apply Button.

Check and please Provide me the solution

Hi logakarthikeyan,

We have checked the page and followed your instructions, but everything is working well as long we don’t hit apply nothing is applying from filter terms. Not sure what is the issue you are experiencing. Maybe you did use AJAX and update the whole page which can cause such issues.

Best Regards,
- Victor

After clicking the Appy button program apperaing that the wat First time its working. But At the second time when click on the Check box. Its bringing the Program automatically. Without clicking the Apply Button.

We have clicked apply as you can check here – https://prnt.sc/mvYRQ0Ad5dOe

Now we will choose some other term but click cancel – https://prnt.sc/vQbECi8Xemwn As you see, nothing has changed, now we click apply – https://prnt.sc/PGuArmUATBe0

So a bit confusing. What’s going on? Maybe we just didn’t understand the issue you are facing. Can you please provide more details on it?

Best Regards,
- Victor

Hi how to Appy the Ajax only for the Mobile.

Hi logakarthikeyan,

If the “Apply Button” mode is enabled, it will work as AJAX on mobile devices. But it will also be in the Apply Button on the desktop.

Also, you can change it with a hook so that there is AJAX on mobile devices, but not on the desktop. The option is called ‘enable_ajax’ and there is a hook ‘wpc_get_option’ that passes through all the options there you can set the desired value depending on the device for the ‘enable_ajax’ option.

Here is an example of how you can work with the hook:

// For example you need to enable it on the page with ID 123
if( is_page( 123 ) ){
        add_filter( 'wpc_get_option', 'wpc_enable_ajax', 10, 2 );
    }
function wpc_enable_ajax( $option, $key ){
    if( $key === 'enable_ajax' ){
        return 'on';
    }
    return $option;
}

You need to write your own custom code to turn it on only in mobile mode and turn it off in desktop mode. If you don’t have enough skills in PHP and WP, we can recommend hiring a developer to do it for you, using such platforms as Upwork.

Best Regards,
- Victor

Hi, I would like to display the number of results like “xx documents available”, how can I do this? Regards,

Hi matdeweb,

Thank you for choosing Filter Everything PRO.

Sure you can turn on this option – https://prnt.sc/nAjbPB3TgSOE in the widget area and here is what you will see – https://prnt.sc/K99mCqWdLAm4

Also, please check the template override documentation – https://filtereverything.pro/resources/templates-overriding/

This description consists of several parts. The word ‘found’ is in the posts-found.php file. The name of the post type is taken from the post type object that was created when it was registered. If you have enough PHP skills you can rewrite it to your needs.

Best Regards,
- Victor

Hello, is it possible to use different Filters on different product-category sites?

Hi ProdbyDaan,

Thank you for your interest in the Filter Everything plugin.

Yes in the PRO version, you can create many filter sets and place then on the needed category page, so each page will have a unique filter set.

Best Regards,
- Victor

Hey, have a problem with filtering. Please check PM, credentilas sent.

That’s strange. It should work, because it is basic woocommerce template replacement.

If I add woocommerce/product-cat.php would it work? I’m not sure, but I’ll check and let you know

It doest not help. Still doesn’t work after creating files for product cat and content-archive.

I’ve checked logs, here is an error: `PHP Warning: Undefined array key “Product query” in /public_html/wp-content/plugins/filter-everything-pro/pro/PluginPro.php on line 1850`

Maybe this is a problem? I’m using the PHP 8.2

Hi Tuskotrush,

Well, it’s not recommended to use the latest versions of PHP, in order to prevent workability issues. But we created a test on our end and here are the filter set settings – https://prnt.sc/vd4kPnjPChnt with “Any Categorie” and here are some category pages: 1) https://prnt.sc/Hcqr8TKIqMyi 2) https://prnt.sc/w0pU7mUtKUnn 3) https://prnt.sc/LK0yQQZLxClK

As you see, everything is working well on each page without any issues. But on your site, it is working differently, you can drop down to the 8.0 PHP version to see if it helps, but more likely this is the cause of the theme and how it was created. Did you migrate the site from one place to another?

Best Regards,
- Victor

Hi, I tried do move my site from hoster A to B using https://wordpress.org/plugins/migrate-guru/

I tested 2 times and when I tried it on production I received

[error] 3024#3024: *484 FastCGI sent in stderr: “PHP message: PHP Warning: Undefined array key “Product query” in /home/wp/disk/wordpress/wp-content/plugins/filter-everything-pro/pro/PluginPro.php on line 1850”

In the backend on the Filter Sets page this message appeared: “This filter is inactive because it is not related to the selected post type.”

on the settings page, the url prefixes and index filters were empty

so something went wrong with products – any idea how to fix this? thank you

Hi robertklausner,

It can be quite challenging to transfer websites from one hosting platform to another. It’s important to note that any issues or errors that arise during this process are not directly related to the plugin. Rather, they may stem from the migration process itself and the settings in the database. And you are starting to see some type of errors and so on. Unfortunately, we cannot offer much assistance in this regard, as it would require a careful examination of the site to identify any migration-related issues. But this is far beyond the support policy here on CodeCanyon.

If migrating the site provides some errors, we kindly suggest that you consider configuring the filter on the new hosting instead. This will ensure that everything is properly set up and functioning as intended.

Best Regards,
- Victor

Hello, I have changed the options of an ACF and they are not reflected in the filter, the old options are still seen. Then I tried deleting the ACF and loading all the options again from the selection field, and now the filtering of these ACFs does not appear directly. What can you’re going through?

Hi Montecor23,

When you change the name (meta key) or ACF values, the old ones are not deleted from the database and ACF does not change the meta key in the database. You can manually delete everything/change it in the database or use a plugin for it. Alternatively, you can create a brand new custom field and avoid applying any changes to prevent affecting normal workability. That’s just how ACF works with the database.

Best Regards,
- Victor

Hi, I have problems with activating my license key. I have followed your instructions and pm’ed the credentials!

Hi tnhtnn,

Thank you for choosing Filter Everything PRO.

Thank you for following the instructions, please send the license key as well via PM.

Best Regards,
- Victor

Hi tnhtnn,

The license was activated and everything is working well.

Best Regards,
- Victor

Jet Engine doesnt seem to work for the filters. Can you help?

We have checked the site, and basically, you have 16 “variations products”, with a lot of variations. And you applied a meta field checkbox with options on one of those “variations products”.

Now here is the thing, You should see only a couple of “variations products” in that category of lotions if to be exact only 6. But you are displaying all of the variations of those products separately as unique products, instead of like this – https://prnt.sc/etNDPM4AD0qv when you click on the product to choose the needed variation. That’s why you don’t see any products with size since it was applied on the “products variations” and you do not display them. Actually, you don’t even need meta fields, you could create size attributes from Products -> Attributes.

Best Regards,
- Victor

Hi Victor, thank you for taking a look. Is there any way to get the meta field to be applied to the product variation? I find it odd that it isn’t applied to that. In regards to the attributes, this would mean size then becomes a variation option that’s selectable right? Not sure that would work for us as we have 6 core products. We also need all those variations display so customers can filter and find the exact model, but have the option to see all the variations

“Is there any way to get the meta field to be applied to the product variation?”

We would recommend referring this question to Woo support, as they know better if there is any way to do it and perhaps can provide any solution on that. Also, they might provide info on how you can apply some attributes to the variations only.

Best Regards,
- Victor

Hi there, I have set up your plugin and have the filters appearing fine but I am using Avada Postcards and the results are not renewing. I have played with using Ajax on and off but there seems to be no change.

I have not been able to get it to work in any way.

Have you managed to get the filter working with Avada Postcards before?

Thank you

We have checked the site and the issue is that you choose “Any Tipo” in the filter set setting but each Tipo page (category) has a unique query on it. That’s why it is not filtering and you see wrong terms and so on on different pages. We placed the Filter Set on a certain category – https://cookingchef.cookingsurface.com/tipo-receta/cremas-y-sopas/ and as you see everything is working correctly.

You need to create multiple filter sets and place them on each category Tipo page. Or rewrite the custom Tipo so the query will be the same all over each page to work correctly.

Best Regards,
- Victor

Great Victor! Everything seems to be working fine now.

Thanks for everything. Hope you have a nice day.

Arnau

Hi Arnau,

I’m glad that your problem was solved.

If it is possible I would be thankful for a positive review about the plugin here on CodeCanyon – https://codecanyon.net/item/filter-everything-wordpress-woocommerce-filter/reviews/31634508

Thank you in advance!
Best Regards,
- Victor

Hello, when i’m activating my pro license key it tells me unknown error.

Thank you so much.

Actually I have one last question, how do i active hide empty filters ?

Just enable this option – https://prnt.sc/8Siuk4oy_J5m

Best Regards,
- Victor

Hello! We’re currently on version 1.7.8 and it says there’s an update available. When I click “Update” in Wordpress, I get an error message “Update package not available.” Is this update broken? Haven’t had issues before.

Hi sw12345,

Technically it should work normally and update the plugin without any issues. But you can download the new version of the plugin here from the site and update the old one.

Please make a DB backup before updating, so if something goes wrong you’ll always have the ability to go back to the previous state.

Best Regards,
- Victor

Hi I am trying to get the filter to display on this page so that it can filter by a custom post type. I am getting the message “No one Filter Set is related to this page. You can configure it in the Filter Set -> “Where to filter?” field.”

Can i add the filter to a page that doesn’t have the posts listed?

https://agholidays.co.uk/test/

Hi alanbrysoncom,

Thank you for choosing Filter Everything PRO.

No, you can place a filter on the page without any posts on it, in your case in the “Where to filter” choose “pages” + “test”.

Best Regards,
- Victor

Hi, just purchased this plugin, and I’m sorry to say that it is an absolute pain to make it work to filter posts. You guys could save yourself so many support requests by creating a proper tutorial. Your documentation is so basic that it doesn’t answer any questions. What are the queries I’m supposed to use.? So many questions that I have a headache just starting to use your plugin. I’m not saying your plugin is bad, it looks great on the demo, but it’s certainly not easy to make it work and you really should work on your documentation.

Creating a filter set is the same for any post type:

1. Choose the post type that you want to filter in the “Post Type to filter” in your case posts.

2. Add the needed filters, there are no standard filtering criteria, as you create them with the ACF field and so on. You can add a numeric custom field and make a range slider from it, or make a checkboxes custom field with options and create a filter from a custom field.

3. In the “Where to filter” you choose the page where you want to place this filter set. That page should have either a shortcode to display the filter widget or a widget area where you will place the filtering widget.

4. In the “And what to filter” you choose the query that displays the products on the page. The filter itself doesn’t display any products, it is only filtering the products on the page that are already displayed there with the query.

“I want to create something like appsumo filtering system”

You can show any screenshots or any demo links of our filters and what exactly you want to create (because the “appsumo filtering system” doesn’t give a lot of information) and we will help you with it.

“integrate your plugin with a page builder”

Well, it depends on the page builders you are using, themes as well, some support widget areas some only can place a shortcode, and so on.

“some filters (all of them empty) and no article shown anywhere”

As we mentioned previously the plugin doesn’t display any posts/products it just filters them, If you place it on the empty page there won’t be anything to filter. If you place it on the page with some products or posts, in the “And what to filter” you should choose the corresponding query and the filter will do its job filtering posts/products on the page. The link to the page where you wan to place it would be great so we can check it.

“your plugin is one of the least user friendly I cam across”

We apologize for any confusion caused by the plugin’s initial configuration difficulty. We understand that it may require some basic knowledge about WP to use effectively. However, we are continuously working to optimize the plugin to make it more user-friendly and accessible to everyone. Thank you for your patience and understanding.

Best Regards,
- Victor

Thank you for your reply. Eventhough your comment is more helpful than the documentation, I would appreciate to have a refund, the plugin does not integrate very well in my website using Thrive theme suite. Refund request sent. Thanks and good luck

Hi walidkh,

We always can help resolve the issue and provide the needed information on how you can create exactly what you need if you give us more detailed information on how the end results should look.

If you are not interested in it and already created a refund we can only recommend waiting for the response. Please note that the support team is not responsible for refunds as we do not have access to it.

Best Regards,
- Victor

Hello my filter show only “Yes” or “no” options. You can check here https://ekspercidlaekspertow.pl/szkolenia/

I used ACF.

This is a unique case that we have not come across before. It certainly presents an intriguing challenge. Could you please provide the credentials to the wp-admin dashboard following this document so we can check it?

Best Regards,
- Victor

I send the email

We have checked the site, and it seems like you created some custom fields already and then deleted them. The thing is it is not deleting them from the database and if you change their names (meta keys) it also does not change it in the database and you are starting to see issues.

If you create a new custom field right now with a new unique meta key that wasn’t used before, then everything would be showing correctly.

Or you can check the database and try to fix it all manually.

Best Regards,
- Victor

Hello,

Is is possible to disable checkbox beside “Våre dyr” (and unlink it) here?

https://www.dev.dooa.no/adopsjon-test/

Best regards, Dejan

Hi Responsivmedia,

Thank you for choosing Filter Everything PRO.

Well, you can turn off the Show Hierarchy option for the filter and exclude unneeded terms from the filter. If you want to have the hierarchy look then you need to have the full chain, in order not to break it and show only a couple of terms instead of all that you need.

Best Regards,
- Victor

Hi We have a strange problem related to filters and translation of the site by polyang. On the home page we are presenting blog posts . After changing the target language ot Polish to English. Filtering works but filtering through categories does not count us items in counter. Filters look like not active but still filter the page correctly. We have the newest version of plugins, newest version of wordpress. Posts are translated categories also .

Can we change the theme to the default 2021 theme for testing purposes?

Best Regards,
- Victor

Hello, the backup was done on the serwer, you can change the theme and investigate thank you!

Hi protgdansk,

We changed the theme to another one and set up the correct “container for AJAX” and everything is working correctly.

We decided to investigate even further and test your custom theme on our back. Not much to say here honestly, the “BlankSlate” theme is working correctly as well. But the child theme… We cannot even make it run as it is constantly throwing a bunch of new errors. The issue is in the custom theme realization. Since everything is working correctly on another theme (and on parent theme as well) with the same plugins and so on. Unfortunately, we cannot help here as this is strictly a theme issue.

Best Regards,
- Victor

hello, I just bought FE, I have Hebrew site and I want the checkbox will be right to the text label , how can I do it ? I try with this code: .rtl .wpc-filters-range-wrapper{ flex-direction: row-reverse; } but still didn’t work

Hi ninjaclick,

Thank you for choosing Filter Everything PRO.

Please send the link to the page with the issues so we can check it, and also screenshot where exactly you want to place that checkbox.

Best Regards,
- Victor

Hello, i use dokan plugin and i want to know is there is a way to filter shop lists page, or directly users because they are not “post type”

Hi youssefe74,

No, because the plugin only filters posts. And in Dokan, different stores are basically different users, on whose behalf the products are added. The plugin cannot filter users. But their products on the pages of these stores usually do.

We can only recommend checking a plugin that filters users. Or write your own custom code for this.

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