Code

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Cart 15,675 sales
Recently Updated

Stepasyuk supports this item

Supported

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

8958 comments found.

Hello, Search form in Filter set doesn’t find acf(advanced custom field) value such as text, textarea… How can I make it possible??

Hi untideh

Thank you for choosing Filter Everything PRO.

Currently, it searches by product/post title, description, and product SKU. But with future updates, it will be expanded.

Best Regards,
- Victor

Hello,

I have a problem with requesting a shortcode.

I use Woocommerce shortcode [products limit=”12” paginate=”true” skus=”’.$models.’”]

$models contains skus coming from a transient.

The plugin shows all products and ignores the shortcode.

How can I make the plugin work with the shortcode?

Thanks !

On this page – https://monessayage.com/references-de-la-boutique/?id=3829&id-boutique=228 everything is working well, as long as there is no this addition in URL ”?id=3829&id-boutique=228” if this is your implementation to show only certain products, then it won’t work correctly. You either need to change it or change it, it won’t work like that.

Best Regards,
- Victor

”?id=3829&id-boutique=228” are just parameters to retrieve the information about a shop. In the page, I use the shordcode [products limit=”12” paginate=”true” skus=”’.$models.’”] where $models contains SKUs by get_transient(). How to make the plugin base on the shortcode in the page ?

Hi tsakhi

Well this parameter is making issues:

1) Here is the page with this parameter with one filter term applied – https://monessayage.com/references-de-la-boutique/robe-couleur-sil/?id=3829&id-boutique=228 as you see it doesn’t show anything.

2) Here same filter term bu without ID parameter – https://monessayage.com/references-de-la-boutique/robe-couleur-sil/ and showing one product.

Best Regards,
- Victor

Hello,

I have posts in different categories (https://www.dropbox.com/scl/fi/9f1trc621yfrlgteu274r/Count.png?rlkey=dyioh4vw831yxan7dvzfny2qi&dl=0) but when I use the shortcode in a widget, the counters show ZERO: https://www.dropbox.com/scl/fi/9kuf4j8b05np00xorsceg/Shortcode.png?rlkey=a2g7fg9ibkdanaksc6ucp26tu&dl=0

What am I missing?

Thanks!

Hi shayatik

Inside the filter sets setting, there is a dropdown “And what to filter” where you need to specify which query it should use for filtering. Page can have multiple queries, some for gally, some for other data, and some for your needed posts to filter, so you need to specify it there. And that’s what we did.

Best Regards,
- Victor

Yes, I understand this part. But where in the page did you set those 4 queries? Because in the Posts Widget, under “query”, you didn’t set any query ID.

Hi shayatik

We didn’t set those queries on the page, when you are creating a page with builders and so on, those pages can have multiple queries, for different things, even for making a menu list, and one of the queries is responsible for showing posts. And our plugin works with that query to filter those posts, that’s why you need to choose the correct one.

Best Regards,
- Victor

I have created a custom post type with ACF and associated taxonomies, and user reviews from a review plugin. In the Theme Astra, I created a custom Archive template. Will this Pro version be available as blocks to add to my Archive page through the Astra site builder, AND will I be able to filter by reviews?

Hi kenyon419

Thank you for your interest in the Filter Everything plugin.

Yes, it should work fine with it. Reviews are working for Woocommerse. If you mean those like stars filter.

Best Regards,
- Victor

Hey, I’m not sure if i am missing the obvious but is there a way to order Terms of a filter manually (e.g. menu order, alphabetical, date or something like that)?

never mind, found the more section… sorry

Hi surleau

Thank you for choosing Filter Everything PRO.

We are glad to hear that the issue was resolved.

Best Regards,
- Victor

https://brooks-running.pl/katalog-k/ With mobile is not working .

Hi mczerwinski1

The filter is hidden in mobile mode, whole element or sidebar widget area is hidden, if we turn it off it will show the filters – https://prnt.sc/FlMIa-Kmma_7

Best Regards,
- Victor

We have Filter everything pro installed, I want to have 2 filter sets for the same query on WooCommerce products.

When 2 filter sets are on the shop page (via elementor) the first filter set works but the second one doesn’t.

The first filter set has many filters defined by custom fields and work great. Second filter set has a filter on price, it detects the correct price range but when narrowing the filter for price it doesn’t work, although it updates the url, and updates the Chip section on the page (including combining the two filter sets).

When I move the price filter set to higher priority, the price filter then works but the larger filter set doesn’t and a lot of the options disappear (even though there are products that match those filters).

If you have seen anything similar before and know a fix to get both filter sets working in tandem that would be great.

It’s important that we have the price filter in it’s own set as only certain users can use this filter. (If you have a method to show certain filters per user this would be an excellent feature and I wouldn’t need to separate them to two filter sets).

Hi naturecan

More likely the filter set with the price is using the wrong query, and this is the issue. Got to the filter set settings and in the “And what to filter” choose another query hit update and test it. Don’t forget to refresh the page before testing it.

But if you want to make it work only for certain users here might appear some issues, as our plugin does not have any user restrictions settings etc, so we have no code that will allow it from our plugin functionality.

Best Regards,
- Victor

Hi Victor, thank you for coming back to us

Neither of the filter sets have the ability to select a query https://snipboard.io/lRbJim.jpg

Also it is getting the range correctly in the price so I believe it’s found the correct data to filter.

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

Best Regards,
- Victor

Добрый день! Использую тему “XStore” и Ваш плагин “Filter Everything Pro”, имею несколько ключей для разных проектов. Но вот с теми проектами, которые используют тему “XStore” – есть проблема. Не хотят работать правила Seo Rules, настраиваю все так же, как и на других проектах: все атрибуты в индексе, Indexing Depth 999999, Сам сайт открыт для индексации поисковыми системами, пытался переделать шаблон Archive-product – результата 0. Пришел к выводу, что нужна Ваша помощь т.к. правила именно не работают) Заранее большое спасибо!

Thank you) I’ll wait for your answer

Hi Wolyerr

In the SQL query that searches for the SEO rule, there is a particle that forces to select posts with the meta-key “_stock_status”, which is not correct.

There is a custom code in the theme, which is intended to show only products in the “In Stock” status, but it does not work correctly because it does not only apply to products.

Best Regards,
- Victor

Thank you! I changed the sorting of products and the SEO Filter started working)

Hello, we have a problem with implementing a drop-down button in the mobile version of the website, the point is that in the mobile version the filters are very long, we found in the manual the possibility of using the “hambuger” button, which does not work. Please help

Hi mczerwinski1

You can turn on the pop-up filter widget. So when you’re in mobile mode it will make a pop-up window with a filter widget.

If it is not working correctly, can you please send the link to the page with the issue so we can check it?

Best Regards,
- Victor

Hi,

I am filtering Bricks Builder query loops and although everything works now, loading more products (using Bricks AJAX feature) doesn’t show the right products. Can I somehow add a shortcode to load more products using Filter Everything PRO?

I know that WPGridBuilder has a feature for that, which automatically loads more products when you click on a button or scroll down (infinite load).

Perhaps you have an action for that, that I could use here? Thanks in advance!

Hi webessenz

There is this plugin that is compatible with our plugin for loading more and infinite scrolling – https://wordpress.org/plugins/load-more-products-for-woocommerce/

Best Regards,
- Victor

Hello, i want an collapsing sidebar like here: https://www.nordstrom.com/browse/men/shoes/ https://www.dsw.com/en/us/category/mens/shoes/boots

Do you know a solution for that ?

best regards

Hi rjaxx

If you are reffering to the folding filters – https://prnt.sc/Yx4YstbpKviU you can turn it on from filter set settings, choose the needed filter, clicke the more option and enable the “Folding” option – https://prnt.sc/wKZS5rDhr08L

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

But we can help you later after all requests from accounts with valid support periods are processed. It may take some time – days or weeks.

If you want to get it faster, please extend your support period and this request will be processed in the first queue for supported accounts.

Best Regards,
- Victor

Hello, My License Key is not working and it’s urgent that I use it. Can this be solved? I purchased it twice to try to get it to work.

Hi dmanning3

Thank you for the credentials. Send the license key (not CodeCanyon purchase code) via PM as well.

Best Regards,
- Victor

Hi, I cannot locate any of my licenses. Can you point me in that direction?

If you need to set the License key for the Filter Everything PRO plugin, simply head to Filters -> Settings -> License and click the “Get your License Key” button.

It will take you to a new page where you can log in with your Envato credentials (with an account where you have purchased the plugin) and obtain your License key.

It is a simple process but if you are having any issues (automatically logging in with another account) simply use incognito mode in your browser.

Best Regards,
- Victor

Hello,

I have a problem with the license, when I enter it I get the message that this license code does not work…

I’ve tried deactivating and remove the plugin (but I can’t even remove the entire plugin) and then reinstalling and it.

I hope you can help me.

Hi r0nald2

Thank you for choosing Filter Everything PRO.

If you have the “Unknown Error” when you try to activate the plugin. 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.

How to get the license key you can read here – https://filtereverything.pro/resources/license-key-issues/

Best Regards,
- Victor

Hello,

I am trying to create package comparison widget, and I created 2 sets of filters side by side that filter the same post type. (packages)

I created 2 filter sets (packages filter- col-1 and packages filter col-2), each having the same filter criteria (type, category). each of those on the what to filter field has post type query 1 and post type query 2. Also I made sure that I provided different class of the post container for each of those.

When I select filters from filter set 1, filter set 2 changes as well.

How can I manage to make it work, so I can use this plugin to compare packages on the same page.

Is there a way, to use different Prefix for URL, for the same “filter by” field. Or how can I disable url prefixes for every filter set.

I can provide the link of the page I am working, but it has to be somewhere private (via email or something)

Thanks

Hi Victor,

I just sent you the link, on email, from your profile.

Thanks

The answer with screens was provided via email.

Best Regards,
- Victor

Thank you very much, Victor!

Solved

Hi Victor, is there a way to change name or HTML of filter terms by their status, i.e. if the filter is active or not? I was looking at the hooks under “Filter term name hooks”, but can’t see any way to apply this to active filters.

My goal is to create a simple “Show only products on stock” filter, but it should be just one button. For that purpose I would like to change the label to “Show all products” as soon as it is active. So this would work just as a toggle, which I didn’t find a way to realize any other way.

Or am going at this all wrong?

Hi 0rca

No, there is no such ability just by using some hook. It would require custom coding as well. So it would require if the page is filtered, then get a check for the needed filter term, then run your code, to change it by the JS or PHP with either hooks.

You can just make one option “in stock” and nothing more, just remove the rest unneeded ones from the filter set, there is an include/exclude functionality when you click on more options.

Best Regards,
- Victor

I already sent the credentials

Hi VahdeProjects

We have checked the side and the issue was that during creating the filter you copied the meta key with the space before it so it was like this ” _sale_price” instead of this “_sale_price”. We deleted the old filter and added it one more time without extra space and everything is working nicely.

Best Regards,
- Victor

Hi, I am getting very frustrated because I have waited a long time for my response. I am trying to run my business but keep stalling waiting for a response. Once again, I have no idea what this message means! “It appears that this page does not contain a container with the specified «HTML id or class of the Posts Container». Try to specify the correct one in the Filter Set settings or the common plugin Settings.”

I have no idea how to even FIND the HTML ID or Class!! I’m not a coder!

We thought that the issue was in not showing colors in the filter widgets from variations when you add new ones to the product variations. But everything is working fine there. If you mean that it is not showing some color swatches on a certain product page, then our plugin has nothing to do with it.

Best Regards,
- Victor

Hello,

I am having the exact same filtering issue again, but this time on this page: https://mydressedit.com/holidays/

I took your advice as you mentioned:

“We have checked the site and changed the filter configuration to use the correct “class” Please note that the class is with a dot at the beginning ”.my_class” This class (that we specified) is generated by the Emelentor (if you edit the page it might change), you can specify your own class or id ”#this_is_my_id” for container if you are using Elementor.

This is how you can find the needed class on the page -> https://prnt.sc/ig-x9EdwaQrW

Also we have choose the correct query from the “And what to filter” drpdown in the filter set settings.”

On this page (https://mydressedit.com/holidays/), the specified class is ” .elementor-element-d5b85f5 ” ... I also insert this in the filter dropdown…. why isn’t it working? Why aren’t the filtered products populating?

Hi dresseditfb

The issue here was that you have chosen “first query” We just changed it to this one – https://prnt.sc/hGg7xJ8yyCf3 and everything is working well now.

Best Regards,
- Victor

Hello, is it possible to update the H1 tag from an SEO rule dynamically using Elementor? My title tag is showing correctly in the browser tab, but I am not sure how to get the H1 on the page to update. My site is plumbingjobs.com.

Hi casey116

Thank you for choosing Filter Everything PRO.

By default Filter Everything uses the next hooks to modify H1:
add_filter('the_title', [ $this, 'seoH1' ], 10, 2 );
add_filter( 'woocommerce_page_title', array( $this, 'seoH1'), -5 );
add_filter( 'get_the_archive_title', array( $this, 'seoH1'), -5 );
add_filter( 'avada_page_title_bar_contents', [$this, 'seoH1'], -5 );
add_filter( 'post_type_archive_title', [$this, 'seoH1'], -5 );
add_filter( 'elementor/utils/get_the_archive_title', [$this, 'seoH1'], -5 );
You can attach the SEO Rule’s method to the needed hook:
if( class_exists( 'FilterEverything\Filter\Pro\PluginPro' ) ){
    $seoFrontend = \FilterEverything\Filter\Container::instance()->getSeoFrontendService();

   add_filter( 'your_theme_h1_hook', [$seoFrontend, 'seoH1'], -5 );
}

Best Regards,
- Victor

Ok, thank you. I tried putting this in the functions.php folder but it did not work. Where does this code go?

This part of the code:

if( class_exists( 'FilterEverything\Filter\Pro\PluginPro' ) ){
    $seoFrontend = \FilterEverything\Filter\Container::instance()->getSeoFrontendService();

   add_filter( 'your_theme_h1_hook', [$seoFrontend, 'seoH1'], -5 );
}

Should go to the functions.php file, and you should specify the hook that will allow you to modify the H1.

For example, WooCommerce use “woocommerce_page_title ” – https://prnt.sc/3vu7E-a1ovqi so it is hooked on it to change the data:

add_filter( 'woocommerce_page_title', array( $this, 'seoH1'), -5 );

So basically you need to know the hook of the widget you are using in Elementor for H1 (you can ask it in their support) and place that hook name instead of “your_theme_h1_hook” in this code:

if( class_exists( 'FilterEverything\Filter\Pro\PluginPro' ) ){
    $seoFrontend = \FilterEverything\Filter\Container::instance()->getSeoFrontendService();

   add_filter( 'your_theme_h1_hook', [$seoFrontend, 'seoH1'], -5 );
}

Best Regards,
- Victor

Hi I have a few more questions, 1) I implemented the search bar, whenever I use it to search something all the other filters disappear. How can I solve it? 2) I’m using 3 filter sets in a single page, there’s a way as I can use only one apply/reset button that controls all of them? 3) I’d like to have the checkbox closing everytime after a choice is done, how can I do it? Thank you, Vittorio

Hi vittoriozeddabus

1) If you choose to hide filter terms and empty filters, then if you search anything they might be hidden depending on what products it finds. But would be nice if you could send the link to the page with the issue so we could check it.

2) No, unfortunately, this is impossible. You can add only a reset button to reset all of the filters, here is the function that returns the link with the reset URL link:

if( class_exists( 'FilterEverything\Filter\UrlManager' ) ){ $urlManager = new \FilterEverything\Filter\UrlManager(); $resetUrl = $urlManager->getResetUrl(); echo '<a href="'.$resetUrl.'">Reset filters</a>'; }


3) Could you please provide more information on this one? And what exactly do you mean by “I’d like to have the checkbox closing every time after a choice is done”

Best Regards,
- Victor

Thank you very much, I solved the first two problems.

I will try to explain myself better, I chose to have the filters folded so if I want to filter something I have to unfold them and then choose. It might happen that an user opens some of them but just uses one so I’d like to have all the filters folded again right after a filtering option is chosen.

Thank you again, Sincerely Vittorio

Hi Vittorio

There is no such default plugin functionality to do so. This can be done only by custom coding which will apply the “wpc-closed” class on all of the folding filters when you choose any filter terms.

Best Regards,
- Victor

Hey, I followed the instructions on https://filtereverything.pro/resources/with-wpml-polylang/ but when I try to translate the filter set the filters themselves don’t show up… how do I translate the filter title etc. as well? M.

Hi mbaierl

You need to create a filter set for each language and place them on the needed pages. Can you provide a bit more information on where exactly the issue is appearing? Like you cannot create a translation of the filter set? Or when you are switching languages on the front?

Also, you can send the credentials to the wp-admin dashboard following this document so we can check it.

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