Code

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Cart 16,202 sales
Recently Updated

Stepasyuk supports this item

Supported

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

9161 comments found.

Hello Andrii, I have bought your plugin again along with the support. Could you now help? Here is the thing:

I am using your plugin and ‘wp multilingual multisite plugin’ which uses multisite for WP Translations. The issue is, that the flag for spanish is not linking to the correct “seo filter url” (seo rule url). I would like to get it linked so that I asked a multilingual multisite plugin developer for help. They are willing to help but they have a problem and question which is: “I See you use a custom post type “seo-filter-url”, but is there any way I can access that in the head code of WP? Do you offer any hooks to check if current URL is a filtered SEO one and then get the post ID?” This is the case: https://di-strategies.com/c/resume-templates/style-best/. If have any hints for them, we would appreciate.

Thank you. They are asking: is it possible to get the full URL of the current filtered page by this ID? Or get the current filtered URL automaically without id?

Hello effa54.

A SEO Rule post stores only URL scheme, but not the current URL.

But current URL always can be received in common PHP ways. For example $full_url = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; var_dump($full_url); Or for example WP URL without filters and GET parameters global $wp; $without_filters = home_url( $wp->request ); var_dump( $without_filters );

With the function flrt_is_filter_request(); your developer can check if it is filtered page or not.

I hope this will be helpful for you and your developer.

thank you very much. I hope this helps

Good morning, I have a problem that the filter is not showing up in the elementor archive.

Thank you for your credentials.

I configured filter to work properly. You had to select value “Product query #4” to make it work. Also I set correct value for “CSS ID or Class of Posts Container” to make AJAX work properly. Please see it – https://prnt.sc/26jmzhn

I hope now it works as you expected.

There is just one more problem. In desktop mode on the product category pages it does not work.

Hello gfrino.

Ok, I checked this again and fixed it. But it is something that you had to configure by yourself.

Before enabling AJAX you had to ensure that filter works ok in general. And if it doesn’t work properly only after enabling AJAX you have to read this article how to configure AJAX correctly – https://filtereverything.pro/resources/plugin-settings/#ajax

In your case your Shop page and Product category pages use different Elementor containers with different CSS classes. So to make the same Filter Set works on both of them you had to specify common for both Elementor containers CSS class.

I hope now it will work fine and you will be able to configure it by yourself :-)

Hi, Pre-sales question. Can I return it if there are compatibility problems with the theme I am using?

Sure. You are welcome :-)

How many product filters can be created? Can I create 3 different filters for 3 different product options? For example, I want to create different filtering options for grocery, electronics and clothing, is it possible on different pages?

metinuygun, you can create unlimited Filters and Filter Sets. And to specify them to any pages or for example add several Filter Sets per single page.

Number of Filters or Filter Sets is limited by your server capabilities and configuration only. For example if you want to create 70 or more Filters in a Filter Set, you probably have to change some settings on your server. I have one customer who uses more than 70 filters in Filter Set.

Hello Andrii,

Recently I’ve noticed that my filter result (sidebar) will always show “0 youtuber found” no matter the filtering I do but the result page will show the proper results. You can see at https://prosncoins.com/find-youtubers/content_covering-humor/

Hi ymorin007

You have conflict with some other of your plugins that affects on Filter Everything query. I tested with with small patch that programatically disables such influence from other plugins and all works fine. Please, see screenshot I’ve sent on your email.

You can disable your plugins one by one or maybe custom code that affects on WP Query and when Filter Everything becomes to work properly you will know what exactly plugin does it. And you can disable it or maybe update or ask its developer to fix the bug.

Technically this plugin adds wrong part of SQL query SELECT wp_87r3j5272r_posts.ID FROM wp_87r3j5272r_posts WHERE 1=1 AND ((())) AND wp_87r3j5272r_posts.post_type = 'youtuber' AND ((wp_87r3j5272r_posts.post_status = 'publish')) ORDER BY wp_87r3j5272r_posts.menu_order DESC

The problem is in this part “AND ((()))” which should not be added.

Optionally I can leave this patch in my plugin, but it will be overriden when you update it in the future.

Let me know what would be best for you.

Found the conflict plugin. Thank you so much for your help.

Super. I’m glad about that :-)

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

Dear Andrii,

I have two questions regarding your plugin.

1. Question: How can I sort terms in a custom order when I am using Checkbox-Filters. I can just choose the order by Term name, post count, term id. It would help me a lot. Thank you in advance.

2. Question: How can I place a filter on a any page filtering a listing of posts from custom post types using Elementor? Once I embed the filter-function using short-codes the filter does not appear. Unfortunately I can not choose the dedicated page in the section “Where to filter? Specify page(s) where filtering should work”.

Thank you a lot in advance.

Kind regards!

Hello yeahh-eu.

Thank you for purchasing the plugin.

1. You can try to sort your terms in your custom order using this code example – https://gist.github.com/wpserve/6068fdfb0fe8312edb3406b32e0f0cea

You have to paste this code in the functions.php file of your active theme and change it in accordance with the taxonomy name you use for the filter (I hope it is taxonomy). Also this code assumes that the sorting order is stored in term meta field with key ‘order’. If your order key is another, you should change it.

2. You have to choose the dedicated page in the section “Where to filter?” if you use PRO version of the plugin. Or if that page is default archive for your custom post type you can choose “All archive pages for selected post type”.

Why you can not choose a page in that field? Does your question related with the Free version of the plugin?

Hi! I really like your plugin but i have a problem to make it work. Don’t know why the results are not working have a look here: https://www.findingreece.com/redesign/experiencescat/amorgos/ No matter what i’m trying to filter or to change the sorting nothing is working. I’m sure that is not something difficult, but i don’t get it!

loud,

I checked your site and realized that if you want to use filters on your Experience Category pages you have to go though one of the next ways:

1) You can enable archives for your Experiences post type and in this case you will have option “All archive pages for selected post type” in the “Where to filter?” field. This option will allow you to create single Filter Set for all Experience Category pages.

The value “Any Experience Category (for common query across all Experience Category pages)” does not work for you because you have no that “common query across all Experience Category pages”

2) You can create several Filter Sets for all you top-level Experience Categories and specify them as values in “Where to filter?” field for all such Filter Set. It means individual Filter Set for every top-level Experience Category

I changed your existing Filter Set and make it individual for the Mykonos category and it works fine – https://www.findingreece.com/redesign/experiencescat/mykonos/experience-agritourism/

Andrii really appreciated all the help that you gave me this days. I will fix the problem. Thank you so much

Super. I’m glad! Thank you for your review :-)

Hello Andrii,

I’d like to order my custom post taxonomies. I’ve noticed the option is greyed out, I’ve seen in the comments the code you’ve provided (https://gist.github.com/wpserve/6068fdfb0fe8312edb3406b32e0f0cea) which i’ve copied and changed the taxonomy to ‘wattage’. BUT the order hasn’t changed and it is still displaying it as ‘Term Name abc’.

I’m using the Custom Post Type UI plugin and I’ve also got Intuitive CPO plugin installed that orders the terms.

Thanks

Hello paranorth.

Thank you for purchasing the plugin.

This code example I provided on GitHub Gist intended for taxonomy terms that store their order in term meta fields with the meta key ‘order’ (for example WooCommerce attributes do it)

I’m not sure how Intuitive CPO plugin does it, but if it use also meta key you have to know what is that meta key and change it in my code example.

I think you have to be familiar with PHP development or ask somebody who is familiar.

I would be happy to help you more with that, but it is something outside from the CodeCanyon item support policy.

Hi, thanks for pretty wonderful plugin. I’d have couple of little things to ask (I’m sure you can see I’m somewhat beginner). Site demo is at https://tipsimaatti.com

1. Why is the gap between ‘Suodatin’ (Means ‘Filter’) and the first actual filter on the sidebar so big? Not my own CSS, maybe from the theme? How to make smaller?

2. I have only ‘enabled styling’, not used any CSS (since it doesn’t seem to make any change). Why checkboxes are wide like that? How to make them boxes but styled like that?

3. Are SEO Rules still supposed to work when using AJAX? Now I can see url changes but any of the SEO rules don’t work (there’s supposed to be text on title, H1 and desc: https://tipsimaatti.com/tagi-jalkapallo/ (Even without AJAX, only Set title works, not H1 and desc, is that a theme thing?)

Hi bloggari

Thank you for purchasing the plugin.

1. This gap created to hold the message “xx post found” (“xx vihjettä löytyi” in your case) to avoid sidebar jumping when this message appears. In your case you theme has big bottom margins for widget title and for p tag in sidebar – https://prnt.sc/26in5i5 You can optionally change these margins via CSS to reduce height of this gap.

2. It’s conflict with your theme CSS that adds padding for inputs. Try please add next CSS via Filters -> Settings -> Experimental -> Custom CSS to fix this:

.wpc-filters-widget-main-wrapper input[type=checkbox], .wpc-filters-widget-main-wrapper input[type=radio]{ padding: 0; }

3. Yes, sure. SEO Rules should work with enabled AJAX also. It seems you have specific theme that does not use regular WordPress hooks for H1 and term archive descriptions.

For the H1 title you theme should use ‘the_title’ or ‘get_the_archive_title’ hooks for singular and archive pages accordinly. For the term description it should use hook ‘get_the_archive_description’

I hope my answers will help you to solve the problems.

Thanks!! Keep up the good work

Hi I purchased the plugin yesterday. I would like to know when I am in the parent category page, I want the sorting to show the sub category of the parent category but currently it is not working. Can you help check?

https://loopa.com.hk/product-category/womenswear/apede-mod/

For example here I am in the apede mod category, supposingly it should be showing sub category “bags” but it is showing the parent category “womenswear” instead

Hi hotoscar

Thank you for purchasing the plugin.

As I see for the moment you changed your category list and there are no parent categories. Send me please screenshot with the problem or return back your category structure to make it more obvious what is the problem and what do yo need.

Optionally you can change the value of the “Empty terms” option in the Filter Set to “Never hide” and maybe you will see desired category.

I have some jQuery that is being affected by this plugin. After the ajax loads it breaks my jQuery. Do you know how to solve this?

window.onload = function () {    
};
jQuery(document).ready()
jQuery(function(){
});
jQuery( ".add-pe" ).click(function() {
var dataId = jQuery(this).attr("data-id")
   var title = jQuery(this).attr("title")
jQuery(".values-list").append('
  • <input type="hidden" name="acffield_61e58083d6d49" value="' + dataId + '"> ' + title + '
  • ');
    jQuery('[id=' + dataId + ']').append('

    Added to list- remember to submit it

    ').fadeIn(1000)
    jQuery(".success").fadeOut(9000);
    });

    Hello aaron91brimacombe.

    Thank you for your interest in the Filter Everything plugin. If you use Free version, please write your questions on WordPress.org forum – https://wordpress.org/support/plugin/filter-everything/ If you use PRO version, you have to write your support request from the account, where you purchased the plugin.

    Dear Sir ,Madam

    I have the premium version at www.fazecon.gr/store2 and i face a problem with the plugin filterEverything.pro that is very important for me. I would like to exclude it from caching because it does nt work properly.

    Apply button doesn’t work and I think it is aproblem fwom WP fastest cahe but I need both of them.

    Hi miltoskouis.

    Thank you for purchasing the plugin.

    It seems you have to setup this on the WP Fastest Cache side. I guess that it should support disabling cache via API and for that purpose you can use function flrt_is_filter_request(); to check if the current page is filtering results page or not.

    But of course it requiers developer skills and unfortunately it is something outside from Filter Everything support policy.

    But I have to ask you – why do you need to cache filtering result pages? Do you know that there are too many filter combinations even you create 3-4 filters with 5-10 terms in every filter?

    Hi,

    We have hundreds of Woocommerce product categories and many are set to display type ‘Subcategories’ where no products are being displayed:

    Unfortunately the filters are still being displayed, which makes no sense and looks ugly:

    How can I hide the filters if the category page contains only subcategories?

    Thanks

    Hi akakimbi

    Thank you for purchasing the plugin.

    In general it could be a task not related with Filter Everything at all. You can just disable that widget area on category pages, where products are not displayed.

    But if you need that widget area on such pages, you can insert Filters widget as shortcode in your category template file and display it if category is not set as “to show subcategories only”

    More about the shortcode you can find here – https://filtereverything.pro/resources/shortcodes/

    Thanks for your answer, it brought me on to the right track.

    I’m registering a custom sidebar for the Filter Everything widget to be displayed and made sure to not include the sidebar if the display type is subcategories. The display type can be checked with woocommerce_get_loop_display_mode()

    Good solution thumbs up

    Really nice plugin – however one issue occurs. The SEO rules always use lower case variable names: https://imgur.com/a/6bARuZJ

    The Variables however should be written like the category / term name in Title case. Can you fix this?

    Hi welaunch

    Thank you for your warm words about the plugin.

    For the moment there is simple solution of this problem – you can specify filters that should not be lowercased for SEO Rules in Filters -> Settings -> “Entities, whose terms should display in SEO data without force lowercasing” field.

    sorry another question: your SEO rules pos type is not appearing in Yoast or Rankmath setings and therefore also not in the sitemap. Will you add support for this too?

    Yes, sure. I will add XML sitemap for indexed filtering result pages in 1-2 months (I hope) I’m not sure it will be related with Yoast SEO/RankMath plugins, maybe separate XML file, but will see.

    Hi, i would like to retrieve term values to make my custom text.

    I’ll try to explain better:

    Have 3 taxonomies for a “Location” custom post type:

    1. Zone 2. Event Type 3. Location Type

    I would like to know if there is a function to retrieve queried values of selected terms.

    Hello manzullo.

    I thought I already answered on your question and as I said this function is /** * @return array|false all selected filters or false */ flrt_selected_filter_terms();

    If you are developer you can use it in all cases – when single filter selected or more. If you can’t understand how to use it you have ask about help in more experienced developer. Unfortunately I can’t write such code for you as it is not included in the plugin support. I’m sorry.

    Sorry but this function doesn’t return the Taxonomy name but just the slug. If the name as an accent it doesn’t work

    Hey manzullo :-)

    You always can get Taxonomy WordPress object by its slug. But as I said this is something outside from the support scope. I recommend you to ask experienced developer to help you.

    I would be glad to help you with this, but unfortunately I have no time for development.

    Hi! I installed the free version, it works fine! but when i install pro version it doesn’t work.

    Stepasyuk, check mail, please ! thank!

    Hi luongthanhluan

    Thank you for your credentials. I checked your site and realized that reason of the problem is your custom permalinks created for product categories with Permalinks Manager plugin.

    Unfortunately my plugin (or any other) can not support custom individual permalinks created with Permalinks Manager plugin. In this case you can use Filter Everything PRO with all features but without permalinks. Instead of them filtering parameters will be GET values as in Free verison. For example …/?fxo=2-fxo instead of …/fxo-2-fxo/ in URL

    To achieve this I added next code string in the functions.php file of your active theme:

    define( 'FLRT_PERMALINKS_ENABLED', false );

    Or if you want use permalinks for filtering result pages you have to disable Permalinks Manager plugin and remove the code string I added.

    Let me know what will be best for you.

    ok! thank you!

    Just purchased pro but can’t get the filters to show on elementor when using “elementor archive post”, I have tried everything. Please help

    Hello visibilityrevolution

    Thank you for purchasing the plugin.

    Let me know what is your Filter Set configuration and what is the page where you tried to filter. You can send me screenshots with Filter Set edit screen and link to the page with the problem.

    Optionally you can send me credentials to your /wp-admin via PM It would be much faster.

    Bought the PRO version but it wont work. The filter urls in the free version look like this “domain.com/furniture/bedroom/?color=brown” in this case everything is working as it should be. When i switch to the pro version the url changes to “domain.com/furniture/bedroom/color-brown/” and getting the following result “Oops! That page can’t be found.” if i use the first url style i can still search. Any idea how to fix that? Thx

    Hello punica.

    Send me please credentials to your /wp-admin I will check it myself. You can send them via PM, it’s safe.

    I have send a message. thx for your help

    Hello punica.

    Thank you for your credentials. I checked your site and realized that reason of the problem is your custom permalinks created for product categories with Permalinks Manager plugin.

    Unfortunately my plugin (or any other) can not support custom individual permalinks created with Permalinks Manager plugin. In this case you can use Filter Everything PRO with all features but without permalinks. Instead of them filtering parameters will be GET values as in Free verison. For example …/?color=brown instead of …/color-brown/ in URL

    To achieve this you can add next code string in the functions.php file of your active theme:

    define( 'FLRT_PERMALINKS_ENABLED', false );

    Or if you want use permalinks for filtering result pages you have to deactivate Permalinks Manager plugin. I’ve sent you screenshot with worked example when Permalinks Manager is deactivated.

    Let me know what will be best for you.

    I have another problem/suggestions for this plugin:

    1. When I am on an attribute archive page, the attribute filter in the plugin should disappear as expected however there is an empty space of there filter is. It does not really very professional.

    2. When I choose the show hierarchy (under Categories for example) the count of the parent categories count is 0 when in reality I think it should show the count of all the sub categories. Then I choose to Sort Terms By Posts count <321> It should sort the hierarchy (parent categories) total count of the sub categories.

    I like this plugin – its really cool. I bought it to test it out but I cannot use on a production site without the issues above sorted out.

    Hello Antoine14

    Thank you for your suggestions.

    1. Can you please send me link on the example of the problem or at least screenshot with it? Optionally you can send it via PM.

    2. Problem with count of subcategory posts already fixed and will be available in the next version of the plugin. Optionally you can replace code in the file /filter-everything-pro/src/Entities/TaxonomyEntity.php with this code – https://gist.github.com/wpserve/f7cb8dc4e806ba5f721c7f3f2a2b215c

    Hello Stepasyuk, the PRO version I just bought acts strange… like it’s free version. It doesn’t show two filters on the same page, and it doesn’t show the same filter on two different widgets area on my site.

    For example: in the shop page in desktop view it shows only the category filter (and not the brand filter), and in the mobile view (blocksy theme) when i click the offcanvas menu (another widget area where i put the filter) it doesn’t show up. If I remove the filter from the desktop widget, then it correctly shows on mobile in the offcanvas…

    Now it does work! Can I now what you did so next time I’ll do the same? What I was doing wrong?

    I just made both Filter Sets indentical – with the same list of filters and settings. Its specific for Filter Everything PRO that you can not display the same Filter Set on the page twice and you should use several Filter Sets and sever Filter widgets on the page to show them several times. As your site contains two different widget area for mobile and for desktop you have to use such configuration.

    I am glad that your problem is solved. I would be thankful for the review about the plugin https://codecanyon.net/item/filter-everything-wordpress-woocommerce-filter/reviews/31634508

    Thank you in advance :-)

    Great! Thank you Stepasyuk. The review is coming… :-)

    1. How can I specify the list of pages where the “Filter set” can be displayed? I’m only available to select one page (product category). 2. How can I use slider on my product attribute? I’m adding “pa_length-mm” to a meta key field, but slider show empty min and max field values.

    Thank you in advance for your help.

    Hello skdev24.

    Thank you for purchasing the plugin.

    1. For the moment plugin supports next values for multiple pages “All archive pages”, “Any taxonomy archive (e.g. any category or any tag) page”, “Any author page”.

    If you want to use Filter Set on several category pages onlyб you have to create several Filter Sets accordinly.

    2. For the moment Range slider can be used for Custom Field Num filters only. But I have plans and I definitely will add ability to use Range slider for taxonomy based filters also. I think it will be implemented in 2 months.

    For the momenty you can optionally store your product length values in Custom Fields and create Range slider filter by Custom Field.

    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