Code

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Cart 16,189 sales
Recently Updated

Stepasyuk supports this item

Supported

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

9151 comments found.

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.

Hello Andrii, 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.

Hello effa54.

You or support of that plugin can use next code in theme’s header.php to detect if current filtered page has appropriate SEO Rule post id or not – https://gist.github.com/wpserve/082e9279413cfd43baef99a15049c039

Thank you Andrii. The plugin developer has one more question, which is: “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.

Can I filter Geotagged posts? Like display a map with all posts in area? (for a listing/directory site) Many other filter/facet plugins can do that, but I want to use your plugin ; )

Hello Harvey02

Thank you for your interest in Filter Everything PRO.

It depends from that how geodata is stored on your site. If you can provide me with data example (the best way would be to create screenshot with table cell in phpMyAdmin where this data is stored) I will let you know if it is possible to filter by geodata.

Hi, I have the latitude and longitude saved in post meta. Take a look at how the FacetWP Geo-location addon works. They can filter by geolocation, and it displays a large map with all of the locations on the map. It would be very nice if you can implement this in filter everything.

Harvey02

Thank you for your suggestion. I definitely will consider implementation of this feature in the future. But I think it will not happen faster than in 6 months.

For the moment if your site contains not only latitude and longitude but also location name somewhere in Custom Field or as Taxonomy term you can filter by location names with Filter Everything.

I have bought the plugin to work with geodirectory, which uses custom post types for listings. However, when I add the key for the geodirectory custom field, the filter says no terms yet, even though I know they are there. Is the plugin compatible with geodirectory? Thanks

Hi sandyfootprints.

If to be honest I did not test my plugin with geodirectory. But if it uses Custom Fields to store its data my plugin should support filtering by these data.

From your words it looks like you specified wrong meta key or maybe data stored in Custom Fields has non-standard format. Can you please install PHPMyAdmin on your site (or you can use WordPress plugin to open your DB via PHPMyAdmin) and check what exactly data stored in wp_postmeta table with the key you used for filter?

I would be thankful for screenshot with this data.

Hi. I’ve had a look in the database and geodirectory doesn’t use the wp_postmeta table for the custom fields :( it uses its own custom fields table and then details pages to store the data in. I’m guessing this is not compatible?

sandyfootprints unfortunately Filter Everything can not filter by data stored in non wp tables. Mayber it will be added in the future, but not in closest 6 months at least.

Hi, I have a pre-sale question about the plug-in. Is it possible to “save” the filters that have been chosen from a drop-down? I.e. on the homepage you filter on a category and tag, the contents of the page change to the selected options. But if you go to a different page, perhaps news, you still only see the content from the selected filters?

Hi imrafaelhi

Thank you for your interest in Filter Everything PRO.

In general such feature is not supported by the plugin out from the box. Something like that can be only developed especially on your site.

For example when you selects several filters, links to your /news, /products, /articles pages in specific place ( for example in sidebar ) can be updated automatically and if visitor click on them, he will see filtered /products, /articles, /news.

But you have to hire a developer to make such thing. Unfortunately I do not have time to provide such dev service.

Also in this case visitor will no have ability to reset such filtered products and I think it is bad idea at all. It would be better to create individual Filter Sets for each such archive – for /products, /articles, /news.

Hi, I have posted here, and have PM’d you with further details as per your request. Details are in the email I sent, but have no heard anything for over a week now. Did you receive the info? Thanks.

Hi brael.

Sorry for too late response.

I checked your site and the problem. In your case if you really need to use off-canvas sidebar you have to enable AJAX feature in plugin Settings. In this case after each click on a filter, products will be reloaded and sidebar will stay visible. Or if you do no want to use AJAX you have to use regular sidebar.

Optionally you can write some code that makes off-canvas sidebar visible if filtering results page is opened, but it’s bad idea as sometimes visitors do not want to filter, but they always will see opened sidebar.

Hello, I have 2 questions:

1. How do we disable the plugin styling in order to use the default theme styling? Is there an option for that? 2. How do we disable loading the plugin files on any pages not using this plugin? in other words only enable it on the product-category pages?

Thank you for your time.

Hello Antoine14

1. The plugin contains minimum CSS styles for Filters widget that provide its correct work and look. Unfortunately you can not disable them at all, but you can edit only CSS that do not meet your requirements. Also you can save them in Filters -> Settings -> Experimental -> Custom CSS

2. Plugin load its files on all pages as filtering may be applied on any of them. But if you need them only on product category pages, you can remove JS and CSS files via their handles and functions wp_deregister_script(); and wp_deregister_style();

Handles list is next:

JS - ‘wpc-filter-everything’

CSS - ‘wpc-filter-everything-custom’ - ‘wpc-filter-everything’

Hi! I wanted to change some settings in my filter (ex. Meta key and Prefix URL), but the fields are grayed out. I can’t change them. Is there a reason for that?

Hi expomangersante.

It’s normal behavior and it was especially developed in that way. If you will change Meta key it will be another filter. So just create a new fitler and remove the old if you don’t need it.

Optionally if you need to change prefix for URL you can change it in Filters -> Settings -> URL Prefixes globally for all filters with this Meta key.

First of all thank you for this awesome plugin :)

I just have one minor issue when using Product Category Filter for WooCommerce. I am displaying the terms in a hierarchical list with post count for each term. However, the count shows 0 for the parent term even if a child term contains some post. How can I fix this?

Let’s say:

- Category A (2) —Subcategory A-1 (2) —Subcategory A-2 (0)

- Category B (0) —Subcategory B-1 (0) —Subcategory B-2 (3)

Kind regards, Denis

You have to play with all of them :-) Unfortunately only experiment can give you the right choice.

Eventually it worked out haha :D

Super. I’m glad.

I would like the page title for my custom post type archive to remain Site Name | Products. This works fine when you land on the page, but when a filter is selected the page title changes to Products – Site Name.

What can I do to fix this so the page title does not change when a filter is selected? I am using AJAX.

I have Site Name | Products set in Yoast SEO for this custom post type. I also tried setting the SEO title in the SEO Rules of your plugin but that did not fix the problem.

Thanks for any help on this!

Hello bcovideo.

Thank you for purchasing the plugin.

In general filtering result pages by default are closed from indexing by Google via meta robots tag value “noindex,nofollow”. So from the SEO point of view there is no any difference what title is because these pages are in noindex mode.

From WordPress point of view filtering result pages are not regular pages, but extra pages. And if you do not setup SEO Rules for them, they should have the same titles as their original pages (I mean pages without selected filters)

In your case if you still need to change title, you have two ways: - ask a developer to change it via hooks (wp_title or related with Yoast SEO) - try to setup SEO Rules for SOME filter combinations (not for all filtering pages) and make them work.

Try please to use this instruction and create SEO Rules for your page – https://filtereverything.pro/resources/seo-rules/ if this way is ok for you.

Stepasyuk – thanks for the reply and the great plugin. I was able to resolve this issue by adding a if ( is_post_type_archive(‘products’) function in the functions file.

Super, I’m glad that your issue is solved :-)

And thank you for your warm words about the plugin. I would be thankful about a review – https://codecanyon.net/item/filter-everything-wordpress-woocommerce-filter/reviews/31634508

How to add SEO page URLs from filter to XML map? I use the Rank Math plugin

Hello Andret91

For the moment this feature is still on development and I hope it will be ready in February 2022. For the moment it is not finished yet.

Ok, thanks, because without a sitemap, Google will never know about these pages, and the functionality is very good

Sure, XML Sitemap feature will be ready for the plugin 100%.

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