Code

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Cart 16,201 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 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.

Hello and thank you very much for creating this gem.

Your plugin can do exactly what I was looking for many years.

It was beginning of the year 2017 when I suggested to developer of Rehub theme, that filtering of posts or products in wordpress should looks like you do in your Filter Everything plugin.

Today I bought your plugin to replace MTDF plugin which I use for filtering. This was only one plugin, which allowed filtering whatever I need, but without need to use Woocommerce.

MTDF plugin has lot of imperfections, but it has one very important featury which your plugin doesn’t have.

That is “meta data constructor” thanks to which I am not dependent on another heavy plugin like ACF.

I want to ask you to create such feature.

I mean a simple way, how to create set of basic meta fields and then in every post have ability to assign these meta by clicking.

Perhaps I explained it clearly.

Thank you,

David

I apologize for mistake in the plugin name I wrote about.

The correct name is MDTF – Wordpress Meta Data & Taxonomies Filter.

Hi davidki11.

Sorry for the late reply, I was feeling bad in last days. Now is much better. Thank you for your suggestion, I can promise I will consider implementation of such feature into my plugin. But also I can say that it will not happened very fast as there are more urgent features I have to develop in the plugin.

Hey, I am impressed with the solutions provided by your plugin. Pretty satisfied. We are still in the testing phase. But the first thing we noticed is that the colors show as list. And not as the color blobs. We are using woodmart theme. in one of the reply you have replied the solution with a piece of code with github link. But its showing 404 now. Can you give a solution for this ?

Ok, thank you. I checked this.

In general this feature is not supported yet, but will be added to the plugin in next updates. For the moment you can manually add HTML with colored elements to terms of the filter by color using hooks https://filtereverything.pro/resources/hooks/#term-html-hooks Or you can wait for appropriate update of the plugin, I will notify you about it here in this comment thread.

Hey Author, I have mailed you one more query last week. Can you please look into it?

Hi akshayprabhale

1. About Price (range) filter on the result page. I checked this and I don’t see any problems. It seems problems appears only when you use AJAX for filtering. Usually it is conflict with some other JavaScript code on your site.

You can try to open Chrome console on the page, where you have this error and try to find error messages that appear in the console (they are red colored messages). Make please screenshot of these errors and send me please link to the screenshot.

2. About URL prefixes – unfortunately you can’t remove them. Prefixes are IDs of filters and allows the plugin to recognize what filters were selected in Filters widget.

Hello! Please check your PM. I have an issue with hiding metafields filters with empty results. Well described it and sent all credentials via PM.

Hello gerog

Thank you for purchasing the plugin.

Sorry for the late reply, I have COVID-19 these days and I was not able to work full time.

I read your email and doc about the issue, but I want to clarify what is your goal. Do you need to hide Range slider filter on pages, where products have empty meta field?

Ok, I’ve fixed this for the next plugin update and also on your copy of the plugin. Let me know, if it works as you expected.

Hello, I am using ACF Checkboxes in Product. The filter works well with ACF Fields, but with ACF Checkboxes, it finds x product, like this: https://imgur.com/a/drsVpgp But the result always shows “No product found”, like this: https://imgur.com/I8M4vOL The filter in on this Product Category: https://navido.vn/product-category/ruou-vang/

And the settings of the filter: 1- https://imgur.com/0ZCrDIk 2- https://imgur.com/0X9HklL

Dont know why it not work. Can you help me to check it? Tell me if you need to access admin panel.

Hello Navidochem.

Thank you for purchasing the plugin. It looks like you configured filter correctly, but for some reason your template does not show result even it was selected from DB.

To find the reason of the problem I can check it with Query Monitor plugin. Send me please credentials to your /wp-admin via PM. Also I would be thankful if you create DB backup with Updraft pugin plugin and install Query Monitor plugin. After the problem will be solved, you can delete both of them.

Let me know. Thank you.

Hi Stepasyuk, I sent you credentials to my admin panel. Please check your email / message.

Hi Navidochem.

Thank you for your credentials and sorry for the late reply. I have COVID-19 these days, so was not able to work full time.

I checked the problem and found the reason. In general it was small bug in my plugin and I fixed it on your copy and for the next plugin update. The reason aslo was related with that fact, that not all your products have filled-in field “Giống nho”. If you would select this value for all your products (or even most of them), filtering become to work properly. Now it works correctly in anyway.

Please check it.

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