Code

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Cart 16,196 sales
Recently Updated

Stepasyuk supports this item

Supported

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

9153 comments found.

Hi is there a way to use the range for the product attributes? like we do for price range. I have alot of “heights” which i really want to place in a range slider

Hi eaonflux

Yes, sure it is possible. Just enable option “Use for Variations” under More options section in your range filter for products.

AH no sorry i ment. I have a product attribute plant-height with multiple terms and i want this be shown in a range?

If these terms are numeric values, please create Taxonomy numeric filter by this attribute and it will be shown as range slider.

Hello – having an issue with the mobile filter display not showing up on a page. We’re using filter everything on our WooCommerce store and that works fine, but when we have it set up on a separate page (using a different post type) the mobile filtering display doesn’t work – it just shows the regular filter options with no option to toggle the filters. I’ll send logins via PM. Thank you!

Hello electrickiwi

Thank you for using Filter Everything PRO.

I checked your site and realized that Filters button that collapses/expands filters now visible and works on mobile. It looks like you issue already solved.

Please, let me know.

We managed to find a solution for this – thanks!

electrickiwi

I’m glad that you were able to solve it by yourself :-)

Hello @Stepasyuk, I’m trying to make a filter with custom fields on woocommerce products. When I fill in for example an engine type on the product in de ACF-field, and I make a filter with this _engine ACF, the filter on the frontside shows the ACF fieldname instead of the label. How can I solve this?

Hi Milcraft

Thank you for using Filter Everything PRO plugin.

If you need to display ACF field labels instead of values, you can add to the functions.php of your active theme appropriate code from examples below. You also have to edit this code in accordance with your ACF field meta key(s). Here are these codes for:
1. ACF field is Taxonomy object – https://gist.github.com/wpserve/0634299bcc67d03bef77119dd20c86e7
2. ACF field is field with choices – https://gist.github.com/wpserve/48277fc0320239d05b1d6e2c4da3db20
3. ACF field is post object – https://gist.github.com/wpserve/a9a58cb8a37be1472ded53296147cc56

It seems in your case you have to use code #2

Hello Stepasyuk, I tried the snippet. I changed it to (enginetype) on the 7th line. I still get 1:electric instead of just “electric”

add_filter( ‘wpc_filter_post_meta_term_name’, ‘wpc_acf_labels_instead_of_values’, 20, 2 ); function wpc_acf_labels_instead_of_values( $term_name, $meta_key ) { // your ACF-field meta keys $keys_with_labels = [‘enginetype’]; }

if ( in_array( $meta_key, $keys_with_labels ) ) {
    if( function_exists('get_field_object') ){
        $field = get_field_object( $meta_key );
}
$new_choises = [];
    if( isset( $field['choices'] ) && ! empty( $field['choices'] ) ){
        foreach ( $field['choices'] as $key => $value ){
            $new_key = mb_strtolower($key);
            $new_choises[$new_key] = $value;
        }
}
$term_name_test = mb_strtolower( $term_name );
    if( isset( $new_choises[$term_name_test] ) ){
        $term_name = $new_choises[$term_name_test];
    }
}
return $term_name;

Hi Milcraft

It seems your case is more complex and you have to ask somebody who is expirienced in development to help you. Unfortunately at this point CodeCanyon item support license has limits and such service can not be provided under this license.

I will be glad to help you with other issues or questions that included in the CodeCanyon item support policy scope – https://codecanyon.net/page/item_support_policy

Hi again, I tried to translate the filter sets with wpml and even though i made the filter sets translatable i am not able to transate it. Can you help?

Hi nmoussas

Please, check what exactly page is specified in the “Where to filter?” of your translated Filter Set version. It should be also translated page. For example EN Filter Set for EN Shop page, IT Filter Set for Italian Shop page and so on.

The page is a translated one, I am using product categories. The strange thing is that the filter set of the first page is showing in all languages. How can I avoid that?

Hi nmoussas

Such behaviour is evidence that your Filter Set is not translated. And that’s why it is displayed for all languages. Please, create translation for your Filter Set for the appropriate language.

Hello! I have a problem with license key for Pro version (it’s invalid in all of the projects). Is the license given only for a year or do I need to update something? I just haven’t seen the exact conditions for working with the license with your plugin anywhere. Thank you for support!

Hello Alexwirt

License is valid for two websites only – for one Production site and for its Dev copy. And license is valid lifetime. It includes ability to get plugin updates lifetime.

Please, note that License key and CodeCanyon purchase code are different things. To set License key, please go to Filters -> Settings -> License, click on the “Get your License Key” https://prnt.sc/-ehm9df3H_XT and you will be redirected to the new page. Log in there with your Envato credentials and you will see your License key for the Filter Everything PRO plugin.

Hello! Love the app. But i noticed then when i Select a Parent Category, it doesn’t list the children. I want the parent so show full count incl children aslo. I saw a comment from a user about option “use for variations” but i don’t find that anywhere. Can it be done? thanks

Sent pm with logins

Hello kattouf

Thank you for your credentials. But it seems now the user you created for me has no admin permissions. Please, make it administrator on your site and let me know here.

For the moment it looks for me as you have specific PHP code in your template that hides many selected from DB posts (federations) before to show them on the page.

Sorry!, my partner disabled it, Its active now. Yes i suspect the issue is related to theme, but its the very popular Newspaper theme by tagdiv, would be great if we can figure it out.

hello,

Can we add a breadcrumb schema for the filter?

Hello ahmetcem1996

This is obviously a misunderstanding, since custom coding is not included in the CodeCanyon’s item support. I can only give you advices, examples of functions that could be helpful in solving your task but create such breadcrumbs you have to by yourself or to ask a developer to help with this.

Thank you. Regards.

thank you for the information. I will talk to my own developer again. Can I get support from you for an extra fee for breadcrumb in case my developer cannot do it? (like upwork?)

Hello ahmetcem1996

I would be glad to help you more with this but unfortunately I have no time for such paid development. But I’m sure there are a lot of cool WordPress specialists on Upwork and they can help you :-)

Regards.

How to make the collapsible filter expand and collapse with a simple slide out animation?

Hi kitaristas

Thank you for using Filter Everything PRO.

It is possible in general and it requires to write some amount of CSS code to add such animation. I would be glad to provide you with such code, but unfortunately I have no such example and its possible writing is something out from the item support scope here on CodeCanyon. You can ask someboby familiar with CSS to help you to slove this task.

I have created one filter set and i added using sidebar widget but i want to display same filter set on each singal product details page. plugin allows add filter but on individual Singal product page, but it does not allow to add same filter every signal product page on WooCommerce. please help me on this.

Hello aorbisinc1

Thank you for using Filter Everything PRO.

For the moment it is impossible to add the same Filter Set to a list of single pages. Only to add individual Filter Sets to individual pages. But as some number of customers ask me about this, I will add such option in the future updates. I think this will happen approximately in 1 months.

We have an error using the plugin from mobile.

In the store, when you scroll down and then go back up, and when you click on the filter button, it bugs itself and does not display the menu (I am willing to send you photos of the error by email if you like)

I await your response, thank you!

I found a possible solution with custom javascript code, no need to reply thanks!

Hi LeandroDyD

Thank you for purchasing the plugin.

I’m glad that you were able to solve the issue by yourself :-)

Let me know, if you will have any questions.

Hi, I created the filter in the plugin. But, when I go to display the filter on a page using Elementor page builder. I used the documentation here (https://filtereverything.pro/resources/shortcodes/) and used the [fe_sort] shortcode to get the ID of the filter. I am getting a message that says there are no sorting widgets on this site yet. Why isn’t this displaying?

Hi lorruche

Thank you for using Filter Everything plugin.

Did you create Sorting Widget before trying to display it with shortcode? You have to create such widget and place it in any widget are even in the inactive widgets area and only after this it will be shown with shortocode. Also on the page, where you want to show it there should be the Filter Set pointed to it.

Hi,

We are using the plugin to combine some filtering we have on the site. The only thing is that we also filter by ‘title’ with a text input. Is this possible? I have added a this to the query myself, but all filtering resets the ‘title’ search:

$wp_query->set( ’s’, $_GET[‘q’] ); // We do filter this correctly ;)

This is added with the ‘wpc_filtered_query_end’ action.

Obviously we do want to still use the filtering and remove any filters that are not applicable to the text (title) search. Can you assist us?

Seem to have found the issue myself, the GET param should not be ‘q’, but ’s’.

Hi melvintmp

Thank you for using Filter Everything PRO.

I’m glad that you were able to solve your issue by yourself :-) Let me know, if you will have any questions.

Hi Stepasyuk,

I recently bought the PRO version and everything was perfect.

It seems to me that there was an update and it stopped working. I share screenshots where the reference of how we configure comes.

We added the debug mode, to be able to find out what was the id that it indicated and to be able to insert it.

In the configuration part, we define the page that we want to appear, which is the store page.

And finally I show you the code extract where we insert the shortcode with one of the id that it gives us. I tried another one just to see if it would show it and no luck.

I am looking forward to your response.

I already installed the plugins they ask for support.

Ok. How can I see that 500 error? That I don’t see anything here and I already tried in different browsers. https://prnt.sc/gxgqZBbRM0n9

Hello basikodev

I would be glad to help you more with this, but from this point it is something out from the item support scope here on CodeCanyon. I can only help you to fix bugs in my plugin, but if you have problems on your site with other 3rd party software you have to find they way to solve it by yourself.

Please, ask a developer or any other who is skilled in WordPress, PHP, JS to help you with this issue.

Thank you for your understanding and please, let me know if you will have any questions related with the plugin.

We are checking. Possibly it is a cache issue so you cannot see the site as we see it. As soon as I receive a response from my hosting provider I will write to them. Regards.

Hi! I’m struggling to get FE to work with Bricks Builder + Woocommerce. The filter works fine for a static page (https://haavardherberg.no/fe-test/), but not when placed in a Bricks Builder archive template (https://haavardherberg.no/netbutikk-demo/). Note: the price filter works both places. Any ideas?

Hello soundergy

I’m glad to inform you that I already fixed issue with Filter Set for common categories pages and Bricks Builder. Now the plugin works with Bricks Builder as with any other page builder.

If you need this update, please let me know here and I will send you direct link to the intermediate plugin version, that contains this fix.

Hi Stepasyuk. Great, please send me the link.

Hi soundergy

Already sent. Please, check your email.

Hi, is it possible to filter by post_title and post_id? Thanks

Hi ibeppo993

In general no, it is not possible, but it seems it is not filtering task, but rather search. Filtering by some criterion expects that you use this criterion at least for several posts. But usually post title are unique things and even more so post_id. You can optionally use search field for this goal.

Hi, thank you for nice filter plugin, please how can i filter by custom category by hierarchy, in sub category? In filter set i can get all category items in one bag without hierarchy selection, thank you for help.

Hello citadela

I’m glad to hear that it already works for you :-)

Hi Stepassyk, I need your answer for my other questions about ajax complete. Tell me what is the function in your plugin that completes ajax, to add the code that gives me my styles and functions.

Hi citadela

As I understood you already found the way to solve your task. If not, please let me know.

Hello,

I would like to ask if it is somehow possible to display items from a subcategory in the main category? https://prnt.sc/c9mBhu98zczt

Thanks, Jan

Hello Jan.

Thank you for using Filter Everything PRO.

It is possible if you will add posts from your subcategories “DR” and “CRP” to the parent category “Typ organizace” also.

Because counters in filter terms exactly means “how many posts with this term you will see after you click on this term” If you parent category does not contain any posts you will see 0 posts after you click on it.

Also this depends from the parameter “include_children” in your filtered WP_Query and it may be configured by 3rd party plugins. I recommend you to try to add your posts from children categories to their parent also and this should help you.

Hello, I installed the module on my site. But that doesn’t work with posts on the homepage…

Hello mt-studio

Thank you for using FIlter Everything PRO and sorry for the late response.

Can you please provide me with link to your homepage and screenshots with Filter Set settings? Optionally you can send it via PM.

Thank you.

Здравствуйте. Не могу сделать фильтр для товаров на распродаже. Использую _sale_price и Custom Field Exists 1. Вариативные товары имеющие цену распродажи не отображаются, даже если указать галочку “Use for Variations” 2. Этот механизм не учитывает даты распродажи, а только само наличие цены распродажи. 3. Я не могу изменить название пунктов выбора, они ставятся как On sale и Regular price, что для русскоязычного сайта не вариант.

Hello, I have a license but I don’t know the license key

Hello tanishop

Please, try to login in that account, where you purchased the plugin and open License tab in the plugin settings and you will get your license key.

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