8970 comments found.
I would like to show the visitor, based on the category in which he finds, only specific products, perhaps based on the “brand” or “processor type”, obviously if we are, for example, in the IT category. When the user then clicks on another category, for example TV, I would like to show the “brand” (it would be an attribute) of TVs only and not of PCs, coffee machines, etc. Also, to give the user the possibility to make a multiple selection, is it necessary to insert the reset and enter keys?
Hi gennarosalvi,
It’s simple if you have product categories like TV/PC/etc. You place certain products in those categories with certain attributes only. Choose in the filter set setting to hide empty terms and hide empty filters. And in the filter widget, you’ll see only the attributes for the products that you have in the current category.
Yes, in “Apply Button” mode you can choose a couple of filter terms and only then hit Apply to filter the products.
Best Regards,
- Victor
Hello Vittorio, must the attribute name be unique? For example, in the case of the “brand”, I use the same attribute name for all the brands of the products I have on the site, for example if I go to computers or notebooks, I would not like to see the brands of coffee, e-bikes, etc.
Also the filter never filters our product pages, I’m afraid I misunderstood the URL prefix issue. In my first set I wrote informatics11.
Please check the following link:
https://www.just-click.it/product-category/informatica/#The filter widget will show only brands that are available for the products that are placed in the current category. So if PC and Notebooks have a brand Apple it will be shown on both categories but it will filter only products that are placed in the category PC or Notebooks and it will display different counters depending on how many products are in those categories. If you on the category Shoes it will show brands only for shoes.
Try to change the query in the filter set settings in the “And what to filter” dropdown and hit update then check if it is filtering normally.
Best Regards,
- Victor
Hello again, I wrote to you yesterday about the filter settings, I probably didn’t explain my problem enough, I have an attribute of the starting current, where the values start from 270 and go up to 1500, there is filtering only by alphabet, attribute id and number of records (screenshot https://imgur.com/a/i019SXE). Alphabetical filtering suits me, the only thing is that values of 1000 and above go up, since they start from 1, how can I make the filtering start from the smallest number and end with the largest, thanks in advance for the answer!
Hi AmperBender,
We tested it with custom fields and attributes and here is what we get:
This is what we have before applying the sort – https://prnt.sc/BZKzCzfLmZE_
We set the term name “abc” sorting – https://prnt.sc/p68e0gYvGJ0a
And here is what we get – https://prnt.sc/E6KHo7og-ido
So perhaps the issue is that some of them are numbers and some of them text, serialized values and that’s why it is sorting it wrong.
Also, with attributes – https://prnt.sc/Qyqb71tuIknQ and after sorting – https://prnt.sc/Q3jIgIYLaY-9
Best Regards,
- Victor
Hello! I use WP 6.3 The first problem is that the FE widget does not appear in the blocks collection so I can add it in the page where I want the filters to appear. The second problem is that in the “And what to filter” field the only option is “no WP Queries matched the post type… found in this page”. I have created a custom post type with ACF which I want to filter. Thank you.
Hi evanv_yt,
Thank you for choosing Filter Everything PRO.
In the list of widgets that are available in Gutenberg, our widgets are available and can be found by its name “Filter Everything”. But, please specify what exactly you mean by the “blocks collection”
It means that there is no WP_Query on the page that displays the products, and our plugin working with the WP_Query. How exactly do you display those products on the page?
Best Regards,
- Victor
Thank you for your reply. a) I use the Twenty Twenty-Three theme. I mean that when I edit the page where the filtering will happen and I click the “plus” button to insert the FE widget (as a block), I cannot find it. I type “filter” in the search box but it doesn’t appear. Is that where I should be looking for? Should I install another plugin other than the FE PRO for the widget to appear? b) I use a query loop and managed to partially solve the second problem. But while the custom posts appear, the filtering does not happen, since the filter widget cannot be added.
The Twenty Twenty-Three theme doesn’t support classic widgets. You can use the shortcode [fe_widget] to display the filter widget, more about shortcodes you can read here – https://filtereverything.pro/resources/shortcodes/ But the sorting widget won’t work as it needs the widget area to customize the sorting options.
Best Regards,
- Victor
Sorting is not necessary for me so it’s ok. The [fe_widget] made the filter checkboxes appear but I really need your help on how to make it function. Where should I place the shortcode in regard with the query loop? Inside the Query loop or somewhere else? I tried clicking the checkboxes but the filtering does not work. You can see the structure here: https://ibb.co/KFjY1NW
Hi evanv_yt,
The shortcode should be placed anywhere on the page or if you want after the header if you are adding it to the page template. But definitely not inside the query. And choose from the filter set settings and in the “What to filter” choose the needed page with the shortcode and the products.
Best Regards,
- Victor
Hey Victor,
the filter is not working here “https://hagan.waas.works/tourenski” since we removed the URL-Slug ”/kategorie/”.
My guess is that plugin does not know that it is on a category, because of it. The customer insists that this is solved.
So any idea if we can fix that? Maybe a rewrite with functions.php?
Kind regards Bernhard
Hi Bernhard,
Thank you for choosing Filter Everything PRO.
In general, our plugin is able to work with modified URLs of categories, but only when it is done correctly with all of the WordPress standards.
Unfortunately, it seems like in this case, the implementation was bit incorrectly to those standards and causing the 404 error.
As an option, we can take a deeper look, if you will send access to the wp-admin dashboard following this document.
Best Regards,
- Victor
Hey Victor,
sended you the credentials for “hagan.waas.works” and did install and set the plugins that was mentioned in the instructions.
Thanks in advance & Kind regards Bernhard
Hi nnpro,
Sorry for the long reply, we have found the issue, it is in the plugin permalink manager. Our plugin won’t work if you use permalink manager since it is using its own permalinks. So you can either turn off the permalink manager plugin, or we added the code to the functions.php and the filter will work as a get parameter instead of a URL like /filter-col/brand-some/.
Best Regards,
- Victor
Hi again, Victor!
Thank you for your help! One more question though – the problem seems to be resolved with filters working with the custom /category/ slug. Did you add anything to the functions.php? we haven’t been able to locate it and want to be sure that the solution is update-proof.
Thanks, Maria from MONOBUNT
Hello again Victor,
we have another situation to, it seems the change did broke the WooCommerce attribute filters, it does not change at all when selected, see here as an example: https://hagan.waas.works/tourenskischuhe/?geschlecht=kinder
Can you please check on that to? Thanks, Bernhard from MONOBUNT
Hi Maria, Hi Bernhard,
In the functions.php we have added this line:
define( 'FLRT_PERMALINKS_ENABLED', false );
Could you please explain the logic behind those filter sets that you created? Why do you have a mobile version of each filter set and why do they have names of different categories but are all set to the “All archive pages” in “Where to filter” instead of the certain category page?
We changed the filter set settings for this category page – https://hagan.waas.works/tourenskischuhe/ Actually we placed a filter set with the name of this category page (tourenskischuhe) and chose the correct query and everything is working. You can place other filter sets on the needed category pages as well. And you don’t need to create mobile versions of the filter. You can just turn it on to make a pop-up widget filter button. From the Filters -> Settings -> General
Best Regards,
- Victor
Hey thanks, I set it now on the other ones to, that fixed the problem. We have two seperate because we use the sidebar on Astra Theme for filtering. I tried to use the same short code on both but it did not work, thats why we have this work-a-round in that case.
I know of the pop-up widget, but client didn’t want it that way.
Hi nnpro,
Yeah, that workaround makes sense now. We are glad to hear that the issue was resolved.
Best Regards,
- Victor
Hello Victor,
we are live now and the filter is working still fine, but it has troubles with the english translation, see here a screencast about it: https://www.dropbox.com/scl/fi/6ha200u1wmqh19e17uksv/filter-on-weglot-2023-09-13-13-06-11.mp4?rlkey=waqcrbymzb4bk1q5mjxuxtu2r&dl=0Example: https://hagan-ski.com/en/skins/
Credentials are the same as before.
Thanks in advance & kind regards Bernhard from MONOBUNT
Hi Bernhard,
The issue is appearing because you are updating the filter widget with AJAX (we turned off the AJAX everything is working). You need to place the filter widget above the container with products and pagination and so on, for example, like this – https://prnt.sc/LYrsZylme2MA and right now you have it all together like this – https://prnt.sc/17xj4E1SxKba
Best Regards,
- Victor
Hello Victor,
we changed the position of the widget but it seems not to change much in this case. You can see the hook of the filter here if you want: https://hagan-ski.com/wp-admin/edit.php?post_type=astra-advanced-hook
Any other idea how we can fix that?
Kind regards Bernhard
Hi Bernhard,
Yes, indeed the issue is still there, but only with the turned on AJAX. It seems like there is some conflict with the plugin or custom code.
You can try to turn off all of the plugins only left FE plugin and Woo to test the workability. Let us know if it will make the AJAX work.
Best Regards,
- Victor
Hi Bernhard,
Update to the answer, did you translate the filters as well? so you can place one filter set on the EN page and a second one on the DE page? We are not sure if Weglot has this function.
So basically it works as one filter on one page and sends it to the URL where it was placed.
Best Regards,
- Victor
Still it does the forwarding of the german site. I can give you the login to the staging if you want to test it yourself.
Kind regards Bernhard
Hi Bernhard
We see the issue and soon will come back to you with the solution for it.
Best Regards,
- Victor
Hi Bernhard
We have checked the site and found that the problem is in the Weglot plugin itself, which generates translation links in a rather non-standard way.
It doesn’t do it classically by hooks of some functions related to links. We looked at the code of the plugin Weglot and our assumptions were confirmed. Before displaying the page in the browser, it catches it into the buffer, finds all occurrences of <a></a> tags in the content and replaces all links there with translation links. And so it “translates” <a></a> tags, but not <input> tags (it catches the content in the buffer, replaces the links and returns the page to the browser).
We cannot influence this, and the only correct way is to contact Weglot support and ask them how to fix this situation. Maybe they have an alternative way to translate those links, or some way to add other tags to that translation. Plugin support should tell you how to add custom elements to the translation of links in them.
Here you can see the issue – https://prnt.sc/jAL7ZxRGx_g2 it is changing the <a></a> link but not the <input> link.
Best Regards,
- Victor
Thanks for you input, we pass the feedback on to weglot.
I have one more request for the future… Please ask us for a staging before modifying the website (https://prnt.sc/WQ0ZEYqUGENv // https://prnt.sc/lrcVq_MDZbsy), because a order is missing now. We already are on it and also saw a backup within WordPress was made: https://prnt.sc/xZt1CB9QTkZF
But we already have a backup system. So all good but please don’t do it without asking, we can create a staging at any time.
Hi nnpro
Certainly! Apologies for any inconvenience it caused. We appreciate your understanding. To ensure a smooth process, we typically generate a database backup using Updraft and temporarily deactivate certain plugins. This way, in the rare event of any issues, we’ve got the backup ready for a quick recovery.
Best Regards,
- Victor
Hello,
Our developer installed Filter Everything Pro on our website but the filter box is appearing on pages where the filter sets are not set up or required, i.e. ‘All products’ and search result pages. we have a grey box appear with ‘Filter’ in it (https://www.gdrectifiers.co.uk/all-products/) How do I remove these?
We also have terms appearing in a dropdown that return 0 search results. how do we remove them from appearing in the dropdown list? https://www.gdrectifiers.co.uk/stocklist/ (i.e. Anysolar dropdown search)
All of our dropdowns are not displayed in alpha-numerical order as desired, How do we change this? Throughout our site, we require all drop-down to be sorted alpha-numerically, some terms will just be numbers, others will be a combination of numbers and letters. https://www.gdrectifiers.co.uk/product-category/heatsinks/heatsinks-in-stock/Under Appearance > Widgets we have very limited information under the Filter Everything plug-in. All we can see is ‘show selected terms (chips)’ and ‘show number of posts’ tick boxes. No widgets have been added here, what do we need to add as a minimum?
Thanks, from a very non-technical customer 
Hi sarahl125,
Thank you for choosing Filter Everything PRO.
Okay, so first of all we would recommend checking this tutorial to understand how to place a filter set and how to display it on the needed page – https://filtereverything.pro/resources/quickstart/ because most likely in the “Where to filter” it is set on the “common WordPress pages” + “all archive pages”.
To remove the filter terms that have a counter (0) you simply need to set this option like that – https://prnt.sc/BOKB4VePSYzt
To sort the filter terms you can go to the filter set settings and choose the needed filter and click “more options” This is the sorting options – https://prnt.sc/bpfYT3NFi7-4
All the other widgets like sorting and etc can be added from the widget section or use shortcodes, more about shortcodes you can read here – https://filtereverything.pro/resources/shortcodes/
Best Regards,
- Victor
Hi Victor, thanks for your reply, I have watched those tutorials and looked at the screenshots you sent through. I’d already set up the filter sets for our product categories and can confirm they are set up correctly.
I do not have a ‘sort terms by’ option on my filter set pages. I only have, where to filter, what to filter, empty terms, show count, hide empty filters, CSS id or class of the posts container, apply button mode, apply button label, reset button label, alternative location and priority boxes (I can’t seem to share a screenshot).
Our developer has said that Filter Everything Pro shortcodes aren’t used on our site because we have used your official widget which pulls in the defined filters – so they’re not required.The shortcodes being used will not alter the order of the dropdowns either. We aren’t in control of how the plugin pulls out the data in your dropdowns. Can you please confirm how we can get these filters to display alpha-numerically? Let me know if you’d like me to send some screenshots over if I’m able to and that helps?
Also, I can’t seem to activate our license key on our dev site, using the same key?
Hi sarahl125,
“I do not have a ‘sort terms by’ option on my filter set pages. I only have, where to filter, what to filter, empty terms, show count, hide empty filters, CSS ID or class of the posts container, apply button mode, apply button label, reset button label, alternative location, and priority boxes (I can’t seem to share a screenshot).”
Please check the screenshot one more time, or this one – https://prnt.sc/4CvyDBA4SbyS each filter has a “more options” button that can be clicked for additional settings.
If you are having an “Unknow Error” during activation, it means that your server does not allow connection with our license server. 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.
Please, send all these via PM.
Best Regards,
- Victor
Hi Victor,
That has worked for fixing the sorting order of filter sets – thank you so much.
I will get our web developer to follow those instructions for the license key issue.
Product pages that do not have filters i.e. the products page her is still displaying the filter bar, how do we remove these? https://www.gdrectifiers.co.uk/all-products/
Thanks Sarah
Hi sarahl125,
Try to turn on this option and check if it will disappear -https://prnt.sc/n67OTajSdARr
Best Regards,
- Victor
Hi Victor,
Thanks for coming back to me.
A filter set is not currently created for this page, a generic filter set was originally created which I then deleted to see if that would remove these filter boxes but it didn’t. So now, we still have the filter boxes on the ‘All products’ page where there isn’t actually a filter set created for it.
Hopefully that makes sense? How do we remove it?
Thanks, Sarah
Hi Sarah,
Ask your developer if he added this by himself in the widget area – https://prnt.sc/GX0sZycvLrcI because it is not connected with the filter widget at all. It looks like a simple HTML code in the widget area.
Best Regards,
- Victor
Hi,
I have a problem with the plugin PRO.
So, the problem is that the plugin doesnìt work with my Shop Page.
In “Apply filtering if the page is:” I selected “Common Wordpress Pages” (I also tried with “Pages) and then I selected Shop Page. At this point, in “And what to filter?” I can select nothing. The only thing that appears is —Select Query -- and I can’t choose anything. I tried with the Product Categories instead, and it works. I tried also to delete the Shop Page and recreate, but the problem is still there.
The only thing I noticed and maybe can help to debug: If a Choose Taxonomy->Product Categories and then I choose “Product query. Main query”, if NOW i go to “Common Wordpress Pages”->Shop page, Now I see the option “Product query. Main query” here. But if I save, and then go to the Shop page, the filter appear but all the taxonomy are at 0 products count.
Hi michaelcodogno,
Thank you for choosing Filter Everything PRO.
Most likely the issue is that you are using a caching plugin that caches absolutely everything, we would recommend clearing the cache, going to the filter set settings and choosing the correct query, and updating the filter set. But when you’ll enter a shop page it will use caching again. So you need to set up the caching correctly in order to make it all work correctly. But as for now, purely for testing purposes you can clear the cache and turn off the caching plugin completely. And go to the filter set to update it, alongside checking its workability.
Best Regards,
- Victor
Perfect, now I see the filter on the Shop. Now the problem is that, when I filter products it opens a 404 page. I tried some URLs prefix, but I still have the problem.
Could you provide credentials following this document so we can check it?
Best Regards,
- Victor
Sent
Hi michaelcodogno,
Thank you for the credentials, but this is all that we have in the admin dashboard – https://prnt.sc/MBs4mw6fzY7O we cannot even check the filter set settings. We need full admin user permission in order to check the issue.
Best Regards,
- Victor
Hi, now you’re can see ! Please, be careful because the site is live. Let me know if you need something else
We might have found an issue and it is this part in the URL – ”/index.php/shop/” there should be no /index.php/ in the URL.
Best Regards,
- Victor
Why? I put the entire website under index.php on the website, I can’t remove it because I’ll lose all the SEO. Any solution?
There are a few reasons why using “index.php” in the URL for your WordPress shop page, such as “mysite.com/index.php/shop/”, is considered a bad practice.
The /index.php/ in the URL may contribute 404-page missing errors. Also, search engines prefer clean and descriptive URLs because they provide context about the content of the page. Including “index.php” in the URL doesn’t contribute any meaningful information to search engines and could potentially impact your site’s SEO rankings.
You can find a lot of information on why you should not add /index.php/ to the URL and how you can fix it.
As long as you won’t fix it, the filtering won’t work and give just a 404 error.
Best Regards,
- Victor
Hi, the Shop now has not index.php, but still the filters don’t work.
Any news?
Hi michaelcodogno,
After the weekend we tried to check on the issue today in the morning but the shop page is under construction? Or what is going on, because all we see is this weird thing – https://prnt.sc/MAF0YW-aoRw4
By the history, it is looking like there were some theme changes and other updates.
Best Regards,
- Victor
Yeah, Now I debugged it and it works. I tried with 3 different desktop. Let me now if you need something else
Thank you for fixing that, what we see is that you didn’t fix the /index.php/ since it is related to the .htaccess file of the site – https://prnt.sc/YTf-hAuxFvUa If you choose the “post name” it will filter normally on the shop page or category pages.
Top reasons why it isa bad to use /index.php/ in the URL
1) SEO Impact: Including ”/index.php/” in URLs can lead to duplicate content issues, harming your website’s search engine rankings.
2) Caching: Some caching mechanisms might not work well with URLs containing ”/index.php/”.
3) Compatibility: Some plugins or themes might not handle URLs with ”/index.php/” correctly.
4) Permalink Structure: ”/index.php/” clashes with the typical WordPress permalink structure.
5) Server Compatibility: Some servers might not handle ”/index.php/” correctly or require special configuration.
6) Database Queries: ”/index.php/” can influence how database queries are processed.
7) WordPress Updates: Future WordPress updates might not fully support ”/index.php/” URLs.
AMP Compatibility: AMP pages might not work well with URLs containing ”/index.php/”.
Best Regards,
- Victor
Hi, I did what you said and the filter now works! We’ll see if SEO will be hurt by my changes… Now I have 2 question: 1) My filter is an OR filter. But if I click on France (ex.) I can click also Italy and so it will create an url france-or-italy. I need to create a real OR filter. So if I change my filter, it will load another url, other products ecc. Ex. If I clicked France, if I’ll click Italy the filter must filter only Italy. So, basically, I want what do with Radio Button but with the checkbox style (now you see the radio, but it’s not what I want). 2) I put H1, Title and meta and descrption in “France” attribute and I see it’s displaying something from description, but it’s behinf the products. Can you help me via CSS to display it correctly above the products?
Hi michaelcodogno,
1) You should choose AND logic for it and it will work exactly as you need.
2) It would require editing the page template that corresponds to displaying that page, and you need to simply move that description in the code after the header or where you need it to appear.
Best Regards,
- Victor
Good afternoon, I have a problem with the filter, it filters values after 1000 incorrectly, throws them at the top of the list, please tell me how to solve this issue
https://imgur.com/dZYpDnfHi AmperBender,
Thank you for choosing Filter Everything PRO.
So if we understand correctly the filter is working and filtering as it should, the issue you are facing is that the filter terms are not sorted as you would like them to be sorted? You can change that in the needed filter by clicking “more options” and choosing the sorting option.
Best Regards,
- Victor
We are using the Pro plugin to display a set of three filter dropdowns, with the matching Posts listed underneath. This works correctly on the current hosting, but as soon as we move to another host (either online or in a local dev environment) then filter stops working. There is no error, and the results count shown next to the dropdown filter boxes is correct (e.g. “6 posts found”) but the list of posts continues to show everything and the filter is ignored.
Hi samiramohamed,
Thank you for choosing Filter Everything PRO.
Well, most likely it is the wrong query in the settings. Did you try going to the filter set settings and specifying the correct one? (“And what to filter” dropdown) Or maybe it is trouble with product importing and they need to be re-updated with the correct options. Also, check if there is nothing in the console.
Best Regards,
- Victor
Hi i just got the pro version and i can’t seem to make it work. I am using Astra Pro theme and WCPT Pro.
1. on a page: the filters show with the [fe_widget] but don’t seem to work Post Type to filter: products Where to filter? : pages / https://com-consulting.ro/filtru-produse/ Filter: product category
2. on Astra’s Shop Filter widget the filters don’t show at all, neither if added with the shortcode or widget; Post Type to filter: products Where to filter? : product categories Filter: product category
Any
Thank You
Hi bgadalean00,
Thank you for choosing Filter Everything PRO.
We can see the filter, but we do not see any products on the page – https://prnt.sc/UugFZbR8mxLz to test it.
Make sure that the widget area is shown on the archive pages. Or add a shortcode directly into the archive template to make sure if it is working or not at all.
Best Regards,
- Victor
Hi thank you for your quick response but i think i don’t quite get it. Added “echo do_shortcode(‘[fe_widget]’);” on archive-product.php but nothing changed.
added the widget on the Shop Filter: https://prnt.sc/sczJG0x-T67Y the filters: https://prnt.sc/qvwAT5JdR7f6 , https://prnt.sc/kc2jnfY7xwx1 should show here https://prnt.sc/0AkVK-fTHBNj but id does not
the category page: https://com-consulting.ro/product-category/produse/
Could you provide the credentials to the wp-admin dashboard following this document so we can check it?
Best Regards,
- Victor
did it
We have checked the site, and most likely this is some conflict with other plugins or custom code, a lot of errors, even in the WP Admin widget area, so we would suggest turning off 50% of the plugin to check the workability of the plugin with updating the filter set. I the problem will still appear turn off another 50% of the plugin and test the workability. To find the plugin that is causing issues, or remove custom code and test workability if there is a custom code.
Best Regards,
- Victor
Hi, I have a website with an education portfolio and its corresponding categories. Is it possible to create a filter for a specific page that only shows the entries of the portfolio that correspond to a specific category and also filter by other taxonomy?
For example, the idea would be to have a page called Art and only show the entries in the Art category but also be able to use a search bar and filter by “books” “music”, etc.
Thanks in advance, best regards
Hi minimacompania,
Thank you for your interest in the Filter Everything plugin.
Our plugin doesn’t show any posts it is just filtering them. If you have a page that uses WP_Query and only shows posts from a certain category it will filter those posts.
If you have a page that shows only posts from the ART category, in which way you are planning to use a search bar and filter by “books” “music”, etc if the page shows only posts from the ART category?
You can have a couple of pages or you can create a filter by categories like here – https://demo.filtereverything.pro/posts/ with all of the possible categories, and use logic “AND” to show only products from a certain category and filter it and search and etc.
Best Regards,
- Victor
I understand that your plugin does not display the posts. So, for example, if I use Wp Bakery I should use the “Post Grid” module to display the posts of a given category, in the example “Art”.
Is this correct?
Yes, or you can use simple archive pages and make the link to the certain category that you need and place a filter set on that filter category. So you will have a menu that will send you to the different category pages like art and so on with the needed filtyer set on it.
Best Regards,
- Victor
Hello,
I’m trying to show the filter, but on the home page, but I’m seeing: “No one Filter Set is related to this page. You can configure it in the Filter Set -> “Where to filter?” field.”
I’m enable the filter by widget I also tried with shortcode, but I’m always seeing this and filters are not shown.
I’ve selected where to filter to pages -> all pages, I’ve tried on different pages, but without success. I’m using Wordpress 6.3 and Plugin versionVersion 1.7.15.
Thank you
Hi genov1824,
Thank you for choosing Filter Everything PRO.
In the “Where to filter” choose “common WordPress pages” + “Homepage”
Best Regards,
- Victor
Pre-Sale Question: I am currently using the Free version of the plugin and I am not sure if the pro version is needed to achieve what I want.
Use Case: Filter workouts by the equipment that the user has available.
ACF fields are selected to establish what equipment is needed for each workout. A workout being a WP post. So we have a radio field section setup to tick the correct equipment which is list filtered down.
Currently the ‘AND’ or ‘OR’ filter logic doesn’t seem to be doing what I need.
‘AND’ is closest to what I need, but I need it to strictly only show workouts that have the exact equipment ticked, not just the workouts that have the equipment ticked as well as other equipment.
Hope this makes sense.
Hi callumedwards,
Thank you for your interest in the Filter Everything plugin.
Honestly saying we got a bit confused on this part – “show workouts that have the exact equipment ticked, not just the workouts that have the equipment ticked”
You can make a step-by-step filter like this – https://demo.filtereverything.pro/step-by-step-filtering/ with “AND” logic to show only posts that have checked filter terms only.
Best Regards,
- Victor
Thanks for that.
Is it possible to send you a screen recording of the issue I having? It is hard to explain but I’m sure there must be an easy solution..
Hi callumedwards,
Yeah sure you can send us the link to the screenshots or to the page.
Best Regards,
- Victor
I have sent a private message via your profile – thanks.
Hello, did you get my message? Thanks.
Hi callumedwards,
Apologies for the late response, we get the credentials, but we didn’t get any instructions yet what exactly is the issue. Could you please try to send the explanations or any screens on the issue one more time?
Best Regards,
- Victor
There was another message before that containing a Loom. Apologies I sent it in two messages as I forgot to include the credentials initially.
Hi Callum,
Indeed, we were able to locate the initial email. It seems to have been mixed up with a group of other emails. Apologies for any inconvenience with delays. Your explanation was very clear, and we appreciate your excellent communication. We will be conducting a series of tests today, and we are optimistic that we can find a solution that will meet your specific requirements. We will provide you with an update in the next 24 hours.
Best Regards,
- Victor
That’s great, thanks guys!
Hi Callum,
We did multiple tests with different approaches and unfortunately, we couldn’t make the needed functionality out of the box.
It can be done only with custom code using a hook wpc_filtered_query_end or maybe even better use wpc_do_filter_request which, when a certain filter is selected, will turn on its logic or leave the one that is by default.
You can also use native WP hooks that define different parts of the SQL query. Such as ‘posts_where’, ‘posts_join’, etc.
Or you can create a custom field where instead of one option you write already a full set of equipment as one option, but it would look a bit messy in the filter widget.
But we will take it into consideration and perhaps with future updates we will implement logic like that.
Best Regards,
- Victor
Thanks for looking into this.
Is it possible for me to pay you to provide this code? Or is it something I can get access to by purchasing the premium plugin? This functionality is the make or break of being able to use it for my client so I would be happy to pay for the custom work?
Hi Callum,
We would gladly help, but unfortunately, we do not have spare time to write custom functionality.
But you can hire a developer from a platform like Upwork to write this functionality for you, implementing the “set/group” logic. To show certain items only when all of the terms are chosen.
Honestly, we are not even sure if there is any plugin that would have such functionality out of the box.
Best Regards,
- Victor
We have the filters showing for one of our pages which is derived from product attributes, but it won’t actually filter any products. It shows what attributes are available (those that aren’t are grayed out), but when selected the products aren’t being filtered. Link to page:
https://knittingboard.com/product-category/premium-patterns/Hi knittingboard,
Thank you for choosing Filter Everything PRO.
Go to the filter set setting and in the “And what to filter” choose another query hit update and test if it is working.
Best Regards,
- Victor
We tried all 3 options listed, unfortunately none of those fixed the problem.
Hi knittingboard,
Please send the credentials to the wp-admin dashboard following this document so we can check it.
Best Regards,
- Victor
Sent! Thanks
Hi knittingboard,
The issue was hidden in the slug names, never use the same repeating slugs and the start of them for example, premium-patter in Woo cat and premium-pattern in URL prefix in filter, it will cause only errors and issues.
We have changed the premium pattern cat name to this – https://prnt.sc/LVhTWoSQatNU basically we add the number 8 at the beginning and the end of those two words. And we have placed the filter set “Premium Pattern” exactly on that product category to test it, and everything is working well. How you set it up and with what name is up to you, but please do not use the same slug/URL names.
Best Regards,
- Victor
How is the color set? Is there a tutorial?
Hi gtutgben,
Thank you for choosing Filter Everything PRO.
You can read about it here – https://filtereverything.pro/resources/brands-and-color-swatches/
Also, you should add all of the settings – https://prnt.sc/gYxUym0ZXtgN
Best Regards,
- Victor
I want the filter selection to be already “unfolded” as default view. Unfortunately I have not found a possibility in the settings. How can I implement this?
Current view when opening the page: https://share-your-photo.com/b5d7bb3ddb
Desired view: https://share-your-photo.com/58d5d6597f
Hi markusbln,
We can provide you with code that makes foldable filters open by default.
add_filter( 'wpc_folding_opened', 'my_folding_filters_opened_by_default' );
function my_folding_filters_opened_by_default( $filters_opened_by_default ) {
$new_opened_by_default = [
1041, // Filter ID
300, // Filter ID
];
return array_merge( $filters_opened_by_default, $new_opened_by_default );
}
But this code example changes the default filter status (when you open a page with them for the first time). If you open some or close the system will “remember” their status, and next time you will see the filter in the same status you saw it last time.
To make them always closed and require them to open whenever you open the page with filters needs some amount of code changes and unfortunately, we do not provide or debug custom codes under the CodeCanyon item support policy. You have to ask somebody experienced with PHP to help you with this.
We can only say that foldable filters use a cookie with the name ‘wpcContainersStatus’ to remember a filter status.
Best Regards,
- Victor
What am I doing wrong?
Hi turisbike,
Thank you for choosing Filter Everything PRO.
Could you please send the link to the page so we can check it? Maybe you simply don’t have that filter for the other language in the filter set. Also, send the screenshots for the filter set setting for that language.
Best Regards,
- Victor
hello, i haven’t had a reply to this yet!!!
Hi turisbike,
Could you please send the link to the page so we can check it? Maybe you simply don’t have that filter for the other language in the filter set. Also, send the screenshots for the filter set settings for that language.
Best Regards, - Victor
Hello,
I had already checked this error and this is the second time that it asks for the same information, so you can see it better I will give you temporary access to the back office to check it for you
This is the problem: link and image in Portuguese language (native) and then in another language
https://rent.turisbike.com/categoria/aluguer-bicicletas-portugal/ https://rent.turisbike.com/en/category/bicycle-rental-portugal/ https://prnt.sc/V5A6_tvxKIpC https://prnt.sc/-lG8abbLCQR4 https://prnt.sc/_S5AjYKQ5De3Hi turisbike,
Please send the credentials to the wp-admin dashboard following this document so we can check it.
Best Regards,
- Victor
OK, I’ve followed the steps and tried to log in to admin with the new credentials. I look forward to your intervention and feedback here
Hi turisbike,
Thank you for the credentials, but all we see when following the login page link is this – https://prnt.sc/Q2Cs_9Md4P7c can you fix it so we can log in?
Best Regards,
- Victor
The issue is that when we follow this link https://rent.turisbike.com/wp-admin/ we get this – https://prnt.sc/9i52H_HOVPRk We do not have even the possibility to see the login form etc, We just see this message. It is some type of redirection or something.
Best Regards,
- Victor
Which browser do you use?!! Try in chrome. I don’t understand, because the access is direct. clear cookies
Or indicate an email address for me to send a link for temporary access as admin Plugin: Temporary Login Without Password
We have tried it on all available browsers including incognito mode. Maybe you have any restrictions by IP or Country or any other ones by who can enter on the login page? This is not the problem on our end.
https://prnt.sc/p16vClHz8wmp This is what the console shows a 403 error. 403 status code means that access to the requested resource is forbidden. The server understood the request, but will not fulfill it.Best Regards,
- Victor
Security has been temporarily disabled to enter and verify. Wait for the solution.
Hi turisbike,
We have checked the site and here is the issue, since you are using “include” in one of the filters it will be saved to the language you are editing it in. Basically, if you edit in English it will save it for the English language and display it only for the English version.
The best way to fix the issues would be to create translations of filter sets by turning on this option in WPML settings – https://prnt.sc/TM5A7-seR_k4 to have the ability to do it. So basically you would need to create a filter set for each language and do the needed includes in each of them.
Best Regards,
- Victor
I’m trying to use Filter Everything to display a range of our ACF Number field, however the “Range” option is greyed out preventing me from selecting it.
I can select checkboxes, radio or select – but ideally need Range to be displayed.
Any tips?
Hi scott569,
Thank you for choosing Filter Everything PRO.
Please make sure that your ACF field is strictly numeric and does not contain any other data. You can check it in the database. Or for testing purposes create a new numeric custom field and apply it to any products/posts and test if it will work correctly, creating a new range slider by numeric custom field in the filter set.
Best Regards,
- Victor
Hello I have a filter by the square attribute, which can take values: 10-20, 21-27, 28-35, 106-130, etc. How can I sort them that way? Currently, with any sorting method, I get the following order: 10-20, 106-130, 21-27, 28-35.
Hi Igor_Shyshka,
There is the possibility to use the ‘wpc_terms_before_display’ hook to sort terms to your needs via code modifications. More information you can find here – https://filtereverything.pro/resources/hooks/#terms-before-display-hook
Best Regards,
- Victor
If I understood your example correctly, this code allows me to sort the attributes according to the value of the “order” field. Sorry, but I don’t understand, how i can set the “order” for each of the attributes?
Is it correct to set the order directly in the code? Like this: update_term_meta(302, ‘order’, 1);
add_filter(‘wpc_terms_before_display’, ‘wpc_sort_terms_as_needed’, 10, 2); function wpc_sort_terms_as_needed($terms, $filter){ // pa_square – is desired taxonomy update_term_meta(302, ‘order’, 1); update_term_meta(307, ‘order’, 2); update_term_meta(308, ‘order’, 3); update_term_meta(309, ‘order’, 4); update_term_meta(310, ‘order’, 5); if ($filter[‘e_name’] === ‘pa_square’) { $newTerms = []; foreach ($terms as $k => $term) { $termOrder = get_term_meta($term->term_id, ‘order’, true); $term->menu_order = ($termOrder !== false) ? $termOrder : 0; $newTerms[$k] = $term; } }
// To sort in descending order
// usort( $newTerms, \FilterEverything\Filter\EntityManager::compareDesc('menu_order') );
// To sort in ascending order
usort($newTerms, \FilterEverything\Filter\EntityManager::compareAsc('menu_order'));
}
return $newTerms;
return $terms;
Hi Igor_Shyshka,
Here is an example of the code:
add_filter('wpc_terms_before_display', 'wpc_sort_terms_as_needed', 10, 2);
function wpc_sort_terms_as_needed($terms, $filter){
// pa_color - is desired taxonomy
if ($filter['e_name'] === 'pa_color') {
// Define the custom sorting order
$customOrder = array(
'red',
'blue',
'green',
'purple'
);
// Create an associative array to store term objects
$termMap = array();
// Populate the term map
foreach ($terms as $term) {
$termMap[$term->slug] = $term;
}
// Sort the terms based on the custom order
$sortedTerms = array();
foreach ($customOrder as $slug) {
if (isset($termMap[$slug])) {
$sortedTerms[] = $termMap[$slug];
unset($termMap[$slug]);
}
}
// Add any remaining terms to the sorted array
foreach ($termMap as $term) {
$sortedTerms[] = $term;
}
return $sortedTerms;
}
return $terms;
}
and this is the results – https://prnt.sc/pYxJUGe6tXVM
Best Regards,
- Victor
Thank you very much for the answer. Your support is excellent as always.
Hi Stepasyuk, We are almost done setting up the filters. We are stuck with an issue :- Two of our filters have NA as values in them and they are selected by default. In chips, it shows as only NA which is confusing for the user. Can you help us add the filtername to it such as “Habitat: NA” or “Category: NA”?
I tried to find the answer for this in the comments and came across this function. I noticed that many users have requested for this. Can you kindly help?
function modify_chips_term_name($term_name, $term, $filter) { $modified_term_name = ‘Modified ’ . $term_name; return $modified_term_name; } add_filter(‘wpc_chips_term_name’, ‘modify_chips_term_name’, 10, 3);
Hi amith458,
You need to look for the term ID with dev tools inspect https://prnt.sc/Fy8bjn5UhBYV and place it in this example of the code (of course you can rewrite it to make it better):
function custom_chips_term_name($term_name, $term, $filter) {
if ($term->term_id === 30) { // Replace with your term ID
$modified_term_name = '30 ID: ' . $term_name;
return $modified_term_name;
}
if ($term->term_id === 20) { // Replace with your term ID
$modified_term_name = '20 ID: ' . $term_name;
return $modified_term_name;
}
return $term_name;
}
add_filter('wpc_chips_term_name', 'custom_chips_term_name', 10, 3);
Best Regards,
- Victor
Thanks so much Victor. It gave me a great start into hooks. I have modified the above code achieve the output I require.
function custom_chips_term_name($term_name, $term, $filter) { } add_filter(‘wpc_chips_term_name’, ‘custom_chips_term_name’, 10, 3);
if ($term_name === NA) { // Check the Term name
// Get the filter's slug
$filter_slug = $filter[label];
}
else{
return $term_name;
}
// Concatenate the filter's slug with the term name
$modified_term_name = $filter_slug . '-' . $term_name;
return $modified_term_name;
Sorry, I’m not sure why the above function is not formatted properly.
Hi amith458,
Glad to hear that you have managed to modify it to your requirements.
Best Regards,
- Victor
Is it possible to have the filter widget on a different page than the results page?
For example: A dropdown vacancy widget on the homepage (with dynamic dropdown count) that sends the user to the /vacancies/ page, where the loop and posts are located?
I couldn’t find a way yet to do this within the current plugin features/options, since it requires the post loop to be within the same page as where the filter is displayed.
Hi info_cloudselling,
Thank you for choosing Filter Everything PRO.
You can do it easily with the redirection filter, follow this step-by-step guide:
1) You have the “Home” page and the “Vacancies” page.
2) Create a Filter Set for the “Home” page with the needed filters, in the “Where to filter” choose the “Vacancies” page, and in “And what to filter” choose the correct WP_Query.
3) Scroll down to the “Apply Button” mode and turn it on, if you choose the page to be a homepage from the WP admin dashboard settings, then in the “Alternative Location” choose “Common WordPress pages” + “Homepage”.
4) Now when you choose any filter terms and hit Apply you will be redirected to the “vacancies” page with the filters applied that you choose in the filter.
5) Create one more Filter Set with needed filters and place it on the “vacancies” page. (because there won’t be any filters)
6) Basically that’s all, you have a redirection filter that will send you to the Vacancies page with a full filter and all options will be applied.
Best Regards,
- Victor
Thanks for the quick reply! I did not see the options hidden behind the ‘Apply button’ option, it makes sense now. Thanks, the plugin is amazing!
One more question: I have it setup and it’s working exactly as intended. The dropdowns adjust with AJAX on the homepage. However, if I log out from WordPress, the AJAX seems to stop working and it’s no longer passing the values in the URL either. I have no clue what’s causing this, there’s no additional console error.
This is the URL of our development site: https://pnocareers.cloudselling-dev.nl/If you scroll down there is a widget with the fields ‘Sector’ and ‘Location’. When I’m logged in to my admin account, it’s working flawless. But logged out or incognito, it doesn’t work unfortunaly.
Hmm, we just tested it and everything is working well – https://prnt.sc/K_NXrxXL0QVX
Best Regards,
- Victor