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.

9165 comments found.

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%.

Hello there,

I was able to setup the filter plugin, however it is not filtering trough properties. I am using ACF and custom taxonomy. Can you please advice what to look for: https://fpm.creativecarbon.ca/student/

Hello katrados.

Thank you for purchasing the plugin. I checked your site, but I don’t see Filter widgets there. Can you please activate it and let me know?

Thank you.

Hi, i have sent you an email about screenshot & problem with SEO Rules with Meta Title, Desc. Is there any chance to have a look please ? Thanks

Hi, i have managed to display SEO Text in my Filter, now i want to display category filter in all pages of woocommerce without apply seo rules.

My old url was https://www,mysite-com/cat/arredo-bagno/accessori-bagno/

with your filter it change to https://www,mysite-com/shop/cat-accessori-bagno/

How can i use my previous permalinks ?

I want to use Filter Everything only to match with brands addon

Hi, i have managed to display SEO Description but there are also other problem and i not find a solutions:

1. i need to add categories filter but i have notice that it change previous woocommerce permalink structure.

For example my normal permalink is www.mysitename.com/cat/arredo-bagno/accessori-bagno/ But your plugin trasform to www.mysitename.com/shop/cat-accessori-bagno/

Also as for SEO, i see same problem in you DEMO SITE because you have 2 same url result with different permalinks

1.https://demo.filtereverything.pro/product-category/clothing/ (normal woocommerce path) 2.https://demo.filtereverything.pro/shop/product-cat-clothing/ (by using filter)

How can i avoid permalink changes on categories? I want to use your plugin only to ADD Brands Addon in permalink and use SEO for combination of CAT + BRAND

Like www.mysitename.com/cat/arredo-bagno/accessori-bagno/brand-name

How can i adjust ? Thanks

Hi DevClim.

I’m glad that you solved the problem with SEO Rule for your filter.

About category pages and pages filtered by category – in fact filtered by category pages (as filtered by any other filter) are closed from indexing by default. Although they show the same list of products, but they are not indexable so they can not be recognized as duplicates by Google. So there are no need to solve this problem.

Optionally if you do not want pages filtered by categories anyway you can just remove filter by category.

I hope this will be useful for you.

Filter Everything PRO plugin version 1.5.1 is not compatible with wpml. Our website https://getcannab.com/shop / when wpml version 4.5.2 is disabled, filters appear on the page - Our settings (screenshot) – https://www.dropbox.com/s/bpf2jkqzwwkpeym/img-2022-01-14-13-38-30.png?dl=0 and https://www.dropbox.com/s/omqhnmpx6v3c20p/img-2022-01-14-13-44-13.png?dl=0 Can you add logs in the plugin? Or debugging information? Now we have rolled back to version 1.4.8

Hello Ysemashko

If you use WPML make please Filter Set post type translatable in WPML settings and create appropriate Sets for every language you use. This should help you.

Hi,

It seems that the plugin has a conflict with my site. When enable the filter, it will cause a swift and break the style of search field in mobile device. However, if disable it (either free and pro version) and everything works properly.

Please check the video for the detail: https://www.loom.com/share/d46368862d98410f8fb572bd235abe1c

And here is the related URL: https://www.twosevenths.com

Hi 1hondo2015

I checked this and it seems it is CSS conflict with your site styles. In general it is not supported issue, but I can try to help you if you activate Filter Everything plugin. In this case I will have ability to find the reason of the problem.

Let me know.

Please make a video tutorial how to setup a filter for blog categories and blog tags

Hello succesbooster.

You can see this video – https://youtu.be/g1_qlJvNdsg

In general questions related with the Free version of the plugin should be send on WordPress.org support forum https://wordpress.org/support/plugin/filter-everything/

Thank you for your uderstanding.

Hi! I have presales question. Is it possible to make short and full filters on one page? I mean can part of the filter be collapsed until it needed for customer?

Delirium_Tremens

Ok, now I understand you.

Yes, you can achieve this in several ways. You can create two Filter Sets – short and full. Short will be visible always, but full you can place in your custom and open it by click. But this requires extra coding from you.

Also you can set all attributes from the “full” list collapsed and visitors will open desired filters. Like here the last 5 filters – https://demo.filtereverything.pro/product-category/electronics/vacuum-cleaners/

And if we ask you to make this extra coding (for additional money of course) could you help us and how much it will cost if yes?

I would be glad to help you with this, but unfortunately I do not provide such dev services as I have no time for them. But I can say that it requires not more than 1 hour of work and any WordPress dev can do it. You can find a developer for example on Upwork.

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