Code

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Cart 15,686 sales
Recently Updated

Stepasyuk supports this item

Supported

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

8967 comments found.

The filter does not appear to work when you have an ACF relationship field with multiple values selected.

For example: If I have an ACF relationship field tied to a taxonomy. I can’t select multiple categories. Let’s say I have a custom post type of “contact” and in the the ACF relationship field that uses post categories. I cannot select multiple categories and use the sort filter on that ACF field.

Hi OneLDesigns

Thank you for choosing Filter Everything PRO.

You should apply custom fields on the posts not on the taxonomy, because our plugin is filtering posts, by a taxonomy, custom fields, tags, and so on. It doesn’t filter taxonomies, so if you apply a custom field on the category “shoes” and want to filter it, you will have absolutely zero reaction.

Best Regards,
- Victor

Pagination wont show, everything works great, ajax also works great and filters properly…

$args = array( ‘post_type’ => ‘listing’, ‘posts_per_page’ => ‘9’, ); .........

<?php echo paginate_links( array( ‘base’ => str_replace( 999999999, ‘ # ’, esc_url( get_pagenum_link( 999999999 ) ) ), ‘total’ => $query->max_num_pages, ‘current’ => max( 1, get_query_var( ‘paged’ ) ), ‘format’ => ’?paged= # ’, ‘show_all’ => false, ‘type’ => ‘plain’, ‘end_size’ => 2, ‘mid_size’ => 1, ‘prev_next’ => true, ‘prev_text’ => sprintf( ‘ %1$s’, __( ‘Newer Posts’, ‘text-domain’ ) ), ‘next_text’ => sprintf( ‘%1$s ’, __( ‘Older Posts’, ‘text-domain’ ) ), ‘add_args’ => false, ‘add_fragment’ => ’’, ) ); ?>

Hi StainOnRug

We are sorry to hear that, but our plugin is not responsible for pagination. Please note, that we do not provide od debug custom codes. As a support, we are only responsible for our plugin functionality.

Best Regards,
- Victor

hi, i purchased your filter and i have some question, by the way the code is 960cf94c-e57a-469d-ad6f-59b028dcc7c5 if you want to check. firstly i need to filter a page where there are many loop-carousel, and i want a filter that filter all of them simultaneously and i cant, also i have problems in using filters with radio buttons, i cannot drag them to select an interval and also if i write manually the ammount it doesen’t filter anyways. secondly i want to ask about the grafic party, i also want to filter based on date, that are written in a format that is usefull fot coding but not aesteric, there’s a way to change the visualisation of it? and also i want to ask you where i can learn to show better the filter, purely grafic based

Hi neverstoppartyingvenice

1) By default, the filter set works with one query, not two or more. What you can do is place multiple filter sets on the page with absolutely the same filters. But in that case, counters will be not correct, so better turn them off.

2) Can you please provide more details on “i cannot drag them to select an interval and also if i write manually the ammount it doesen’t filter anyways” What do you mean by interval? and amount with dragging?

3) The date filter should be released anytime soon, right now you can only write some type of custom code for it to display like you want.

4) You can write your own custom styling for the filter using custom CSS. To find the needed classes use browser inspecting tools and choose the needed elements of the filter.

Best Regards,
- Victor

Hi,

I was wondering if it’s possible to enable the collapsible filter widget on tablet. Now it’s only enabled for mobile, but I would like to use this also for tablets. Maybe in the future it would be cool to have it on desktop as well.

Best regards,

Simon

Hi simager1

Just change the breakpoint for the needed values, place this code in the functions.php:

add_filter( 'wpc_mobile_width', 'my_custom_wpc_mobile_width' );
function my_custom_wpc_mobile_width( $width )
{
$width = 1180; // new desired breakpoint in px.
return $width;
}

Best Regards,
- Victor

Sent the credentials for the license issue

Hi randycaruso

Please send the license key as well via PM.

Best Regards,
- Victor

I am using Filter Eveirything Pro with WPML but I cannot get it to actually translate the filter titles. I have set WPML settings as per the support doc https://filtereverything.pro/resources/with-wpml-polylang/ . WPML translation manager runs the translation and credits are used but the filters dont show. The translated filters appear empty when checked in the additional languages and when I try to click the pencil to edit I get taken to a page on front end and got this ” Product Filter

a:16:{s:23:”search_field_menu_order”;s:1:”1″;s:23:”apply_button_menu_order”;s:2:”10″;s:12:”wp_page_type”;s:15:”common___common”;s:15:”wp_filter_query”;s:2:”-1″;s:10:”hide_empty”;s:3:”yes”;s:17:”hide_empty_filter”;s:3:”yes”;s:22:”custom_posts_container”;s:0:””;s:16:”use_search_field”;s:3:”yes”;s:18:”search_field_label”;s:6:”Search”;s:24:”search_field_placeholder”;s:0:””;s:17:”apply_button_text”;s:5:”Apply”;s:17:”reset_button_text”;s:5:”Reset”;s:22:”apply_button_page_type”;s:17:”no_page___no_page”;s:22:”apply_button_post_name”;s:17:”no_page___no_page”;s:10:”show_count”;s:2:”no”;s:16:”use_apply_button”;s:2:”no”;} ”. I have tried adjusting WPML translation settings etc but have the same result everytime. Have made sure to completely remove translations before attempt to recreate. 1 Thing I saw on one of the supports implied have to recreate filters sets for each language.

Hi antonys19

If you did everything correctly you should have two filter sets, or more depending on how many languages you have, and in each filter set you use another title for filters.

Best Regards,
- Victor

Hi Victor

As I mentioned the translated filters set are empty. There is no filters within the translated filter sets and therefore no translated sub titles for the filters. I The actual filters product categories are correct but the indifdual filter titles are still in English.

Regards

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

Best Regards,
- Victor

Hi, I hope you can help me once again. I have now my search online under https://www.brooot.de/rezeptsuche/ and all works pretty nice. Only thing is the sorting of filter values. I need it to be sorted like I have added it to the ACF settings of each field. I have left the setting without sorting, but it does not work. And sorting by ABC is not senseful here. What to do?

OK, still not working: used metakey as $filter[‘e_name’] and added the field values in $customOrder

You need to replace ‘pa_color’ with your meta key and use the slug names of your terms to create the sorting order that you need.

Alternatively, you can try this code, it works with term names and Case sensitive:

// FE SORT FILTER TERMS MANUALLY add_filter('wpc_terms_before_display', 'wpc_sort_terms_as_needed', 10, 2); function wpc_sort_terms_as_needed($terms, $filter) { // Define custom sorting orders for different meta keys $sortingOrders = array( 'meta_key_goes_here1' => array( 'Text1', 'Text2', '1', '10' ), 'meta_key_goes_here2' => array( '8', '12', '90', '8T', '8 T', '18T', '40T' ), // Add more meta keys and their sorting orders as needed // 'another_key' => array('term1', 'term2', 'term3'), ); // Check if the current meta key has a custom sorting order if (isset($sortingOrders[$filter['e_name']])) { $customOrder = $sortingOrders[$filter['e_name']]; // Create an associative array to store term objects $termMap = array(); // Populate the term map foreach ($terms as $term) { $termMap[$term->name] = $term; } // Sort the terms based on the custom order $sortedTerms = array(); foreach ($customOrder as $name) { if (isset($termMap[$name])) { $sortedTerms[] = $termMap[$name]; unset($termMap[$name]); } } // Add any remaining terms to the sorted array foreach ($termMap as $term) { $sortedTerms[] = $term; } return $sortedTerms; } return $terms; }


Best Regards,
- Victor

Works perfect. Thanks.

Can I used it to filter the products by Vendors store (wcfm) in the multi vendor woocommerce?

Hi 7thSon47

Thank you for your interest in the Filter Everything plugin.

If you mean that you want to place the filter widget on the custom vendor store page then not at the time, but should be added soon, or at least there will be information in a couple of days on how much time it would take to implement this. If no, then it should work perfectly fine.

Best Regards,
- Victor

I want to add “Select Vendors” on the filter list on any product grid/list.

If visitor select a vendor name, then the product list will be showing only from that selected vendor(s)

Hmm, you can create a filter by the author, as vendors are simple users and it should work.

Best Regards,
- Victor

HI support Before buying the pro version, i have installed the free version on a testsite. I have one question, how to setup this step by step filter. I have a parent filter and want to open child filters depending on the the chosen parent filter value ex parent is brand an for each brand there a different filters. All filters are ACF fields

Hi skysolution

Thank you for your interest in the Filter Everything plugin.

There is no such functionality to create a step-by-step filter depending on which term you choose. It is only possible with custom coding.

Best Regards,
- Victor

Hi.

I have a question for your plugin. I’m setting it up for this site: https://www.spatec.no/massasjebad-ny/.

When filtering, the page refreshes, and you are sent to the top of the page. Is it possible somehow to stay at the same “level” of the page? In this case below the video on top?

Hope to hear from you soon :)

Regards, Christian

AJAX request returns 403 error () – https://prnt.sc/u_u4AzaCJ5pI when trying to remove the GET parameter with price settings. This is strictly server or site settings.

HTTP 403 Forbidden is a standard HTTP status code regarding the HTTP server’s handling of a client request. It is sent by the server to the client and indicates that the server understood the request, but will not fulfill it due to internal restrictions.

Best Regards,
- Victor

Hi again.

And thanks again for your effort. The support at the webhotel seems to have figured it out. Apparently it was the ? at the end of the url that triggered some kind of safety rule and prevented the request. Now it seems to work fine :)

Regards

Hi Christian

We are glad to hear that the issue was resolved.

Best Regards,
- Victor

Hi ! I bought a license for this very good extension. I did all my tests and settings with “Local” on my computer. Today, I’m technically ready to develop my site in production but I can’t get my license back… Can you help me? Thanks in advance Dominique

Hi rastarakette

Thank you for choosing Filter Everything PRO.

Can you please provide some more details, about what’s actually not working? License error? Is it an invalid license, or unknown error, or already activated on two sites? So we can provide the support ASAP.

Best Regards,
- Victor

Hello? I’ve been waiting for an answer for a while now…

Hi dresseditfb

Please note that the support is not working during weekends.

Best Regards,
- Victor

Hey there, Having a license issue for purchase #1d8c7dc5-f6e8-4db7-bcd2-c90548a56602.

Was off the project for a bit, and now coming back I’m hit with the following: “You have been using the plugin for over two months without a license key, and it is now locked.”

When I enter my license # I only get “Unknown error.”

Turned off all the plugins, basic theme, still stuck. Any advice?

Thanks!

Hi randycaruso

Thank you for choosing Filter Everything PRO.

It seems that your server does not allow connection with our license server. We can activate it on our side, but we need the following things from you:

1. Credentials to your /wp-admin following this document
2. And your license key.

Please, send all these via PM.

Please, do not forget to add the license key to the PM.

Best Regards,
- Victor

Hello, see in comments stated that FE had internal cache. how to clear FE internal cache automatically ex: using hook, wp-cli?

our problem is after doing onsale update , regenerate product lookup but still need to update Filter set although no changes made. Thanks

Hi dgdonline

Yes, you can do it with a function, here is the code example:

if ( class_exists( '\FilterEverything\Filter\Plugin' ) ) {
    $fe = new \FilterEverything\Filter\Plugin();
    $fe->resetTransitions();
}

Or you can add this on your let’s say shop page this addition in the URL:

?reset_filters_cache=true

So it will look like this: mysite.com/shop/?reset_filters_cache=true

Best Regards,
- Victor

Thank you

Hello, I am interested in purchasing the Pro version, however I have a couple questions. First, is there a way to add the sorting element into the same mobile popup as the rest of the filters? Second, I cannot find the “Hide empty Filters” option in the free version. Does that option only appear in the paid version? Third, have you ever tested this with the Flatsome theme? Please let me know. Thanks

Hi cdshubert

Thank you for your interest in the Filter Everything plugin.

1) Technically sorting widget and filter widget are two separate widgets. Sorting widdget needs to be created in the widget area, of course, you can display it with a shortcode, but creating it and setting it up only in the widget area. You can place the sorting widget shortcode on the hook to display in the pop-up menu but this is not recommended.

2) Yes, the PRO version has this option.

3) We haven’t tested it by ourselves, but a lot of our customers are using that theme, so there should be no issues.

Best Regards,
- Victor

Hello, Sorry, your plugin is not working properly. What I want is to show a filter in a product category with other categories that are related to the first category. For example in this category: https://xn--80aqef9b9a.xn--90ae/cases/%d0%ba%d0%be%d0%b6%d0%b5%d0%bd%d0%b8-%d0%ba%d0%b0% d0%bb%d1%8a%d1%84%d0%b8- d0%b7%d0%b0-%d1%82%d0%b5%d0%bb%d0%b5%d1%84%d0%be d0%bd%d0%b8/ I want them to show up as tags from all the categories in which these products are present. In this category there are phone cases for iPhone, Samsung and others. I want these categories to appear as tags. This is not happening. I spent a lot of time on plugin settings, but they don’t want to show. Either it’s a bug and it doesn’t work, or you just don’t have that kind of functionality. Please refund my money. Thanks!

And one question: in order to display the filters, is it necessary to see the sidebar from the template settings. Does displaying the filters depend on the site sidebar being visible?

And one question: in order to display the filters, is it necessary to see the sidebar from the template settings. Does displaying the filters depend on the site sidebar being visible?

Hi nikste

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

As to the second question, if you place the filter widget shortcode on the page, you don’t need to have a widget area on the page.

But if you are using a widget area to place a filter widget on the page, then yes.

Best Regards,
- Victor

Great plug-in overall! I bought the plugin for the SEO Filters, and it seems to be conflicting with Permalink Manager Pro.

I modified the permalink structure of the product categories, product attributes and the product with Permalink Manager Pro (which I use for all my projects). But the SEO Filter pages do not seem to be working well with Permalink Manager Pro, I only get 404 pages when opening the created SEO Filter pages.

I tried saving the permalink page again, and regenerated all the permalinks with PMP as well, without success.

When disabling PMP, and using Premmerce Permalinks (which does the approximately the same) it does work properly. But I do have a preference for PMP and would prefer continuing using this instead of Premmerce. In addition I have developer’s licence for PMP.

Do you have any workaround for this problem?

Thanks in advance!

Unfortunately this breaks all my URL’s, but thanks for your reply!

Hi, I like many features of the plugin, but I am having a few issues with it, especially in terms of permalink structure.

1. Like mentioned before, it is not compatible with Permalink Manager Pro, which I am using to rewrite the structures of the product attribute archives. As soon as I have Permalink Manager Pro active I get all kind of 404’s, even while filtering (so not only with the SEO Rules).

2. My customer uses his product attributes as archives. He sells wine, has the attribute ‘country’. The archive page is ‘domein.com/wine/country/france’ for example. When being on the page ‘domein.com/wine/’ and filtering the country with France, the url becomes ‘domein.com/wine/country-france/’. The attribute archive page contains many custom fields to display content underneath the product loop, so basically now I have duplicate pages and this is bad.

3. Filtering by category also adds a prefix, and here again it duplicates content which is armful for SEO.

Do you have a viable solution for any of the above?

Thanks in advance.

Hi impleomedia

1) Yes and most likely it won’t be compatible with it as filtering fully rely on the URLs particles.

2) It is adding URL prefixes in order to remove conflicts, in short, if there will be the same URL as Woo has which plugin should display what? Is it Woo or are we just filtering the page? Which plugin should work and display the content? that’s why there are URL prefixes. And if you choose a couple of countries from the filter you will get ‘domein.com/wine/country-france-or-italy-or-spain/’.

3) By default, filtered pages are not indexed.

Best Regards,
- Victor

I’d like to remove the dashes on either side of the filter term in the default option for dropdown selectors. For example, I want – Select Industry – to just be Select Industry. I read your reply on this topic from a year ago and have created a /filters folder in my theme folder and copied the dropdown.php file to the /filters folder. The problem I’m having is figuring out what line of code to modify. Can you let me know what I should modify in the dropdown.php file to eliminate the dashes?

It appears that the option name is being called from this function, so I’m guess that function lives somewhere and can be modified:
<?php
                        echo esc_html( flrt_dropdown_default_option( $filter ) );
                    ?>

Hi aaronbiby

you can use this code placing it in thew functions.php file to modify it wia hook

// Define a custom function to modify the default option text function custom_dropdown_default_option($default_option, $filter) { // Modify the default option text as needed if leave on %s will be pure name like Color/Size and etc $modified_default_option = sprintf(__('My custom text: %s', 'filter-everything'), $filter['label']); return $modified_default_option; } // Hook the custom function to the 'wpc_dropdown_default_option' filter add_filter('wpc_dropdown_default_option', 'custom_dropdown_default_option', 10, 2);


Best Regards,
- Victor

That worked beautifully. Thank you.

Hello, I encountered an issue when using a filter on a mobile device. After clicking the filter icon, a pop-up widget appears. Then, when I select one of the options (radio buttons), the pop-up widget automatically closes, and the filtering process begins. However, I noticed that the filtering is successful, but the gray background generated by the pop-up widget still overlays the page, requiring an additional click to make it disappear. How can I resolve this issue?

Hi jacob25621

Thank you for choosing Filter Everything PRO.

Sounds like an incorrect container class or ID for the AJAX update. Can you send the link to the page with the issue so we can check it?

Best Regards,
- Victor

Hello, Is there any way to make both a step-by-step filter and a general filter of a product category at the same time as done on this site: https://vencon.ua/ua/catalog/kondicionery-split-sistemy

Hi Igor_Shyshka

In theory yes, you just need to create two filter sets and place them both on the same page. One will be set up like a step-by-step filter and the second one will be the usual one. But if you will use the same filters they will work together.

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