8966 comments found.
Sorry it doesnt worky totally and the worst part is I CANT EVEN REMOVE YOUR PLUGIN. It keeps failing to remove it.
Verwijderen van: Er heeft zich een kritieke fout voorgedaan op deze site.Meer informatie over probleemoplossing in WordPress. mislukt
Hi varan,
You need to remove the filter set via FTP, and could you please check what PHP version do you have on the server? If it is higher than 8.1 please downgrade it to 8.0 or 8.1 in order to make plugins work normally.
Best Regards,
- Victor
Hello !
I use your plugin on a new website still in development : http://abac.art/ventes-a-venir/I need to order items differently (total custom ordering), which is not by name, post count or term ID.
This is what I need :
Type : Peinture Sculpture Photographie Autre
Style : Art classique Art de transition Art contemporain
Periode : Début XXe 2019
this period filter is a custom field from ACF, it will have many different period I would like to be able to order it by myself.
Could you help me with this ?
here are credentials :
/connect-abac damien Kokal5959,,!
Thanks !!
Hi Damien_SW,
Thank you for choosing Filter Everything PRO.
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
Here is the code example for a custom color oredring:
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;
}
Basing on this example you can create a custom order for any of the needed terms.
Results can be seen here – https://prnt.sc/pYxJUGe6tXVM
Best Regards,
- Victor
Hello, c
thanks for your answer. Can you tell me where I should add this code ? Which file and should I use child theme ?
Hi Damien_SW,
It should be placed in the functions.php and you should rewrite it to your needs. But if you do not have enough dev skills, you can hire a dev to do it instead of you, using such platform like Upwork.
Please note that we do not provide or debug custom codes, as it is out of the scope of support policy here on the CodeCanyon.
Best Regards,
- Victor
Hello, i bought the pro version, but i can’t activate it, it says unknown error. And yes, i clicked on “get yout license key” and logged in via envato to retrieve it.
just sent a PM with the credentials and license key .
Hi mastahtheboss,
The plugin was activated and everything is working well.
Best Regards,
- Victor
I just bought the pro and the license giving to me isn’t working.
Hello ibenitez.
Thank you for choosing the Filter Everything PRO.
Please, note that License key and CodeCanyon purchase code are different things. To set License key, please go to Filters -> Settings -> License, click on the “Get your License Key” https://prnt.sc/-ehm9df3H_XT and you will be redirected to the new page. Log in there with your Envato credentials and you will see your License key for the Filter Everything PRO plugin.
Thank you. Regards.
- Andrii.
Hi, just go the plugin after trying out with your free version but I’m having issues with the filter set. I created a filter set and will be using to filter my Classified Listing (and woocommerce product page). Now, related to filtering Classified Listing plugin entries, when I try to update the “Alternative Location”, or anything at all in that filter set, it simply does not update. Hoping for some help asap, thanks (in fact, doesn’t even work anymore to add a new filter set)
Hi jessicasenhorinha18
Thank you for choosing the Filter Everything PRO.
It sounds like you have an incompatibility issue with another plugin or custom code.
Please, send us credentials to your /wp-admin in accordance with this document and we will try to solve this issue.
Thank you. Regards.
- Andrii.
jessicasenhorinha18
Thank you for the credentials you provided.
The problem when you can’t update a Filter Set related with the bug in the latest WP User Frontend plugin. Please see error message text – https://prnt.sc/4TGQo8a_vCTJ If you deactivate the WP User Frontend plugin, all works fine. I recommend you to ask this plugin support to check this issue and fix it (you are not the first customer who faced this issue)
Also I disabled the “Alternative Location” option for your Filter Set as it seems you don’t need it and now filter works as expected. Please, check it on your site and let me know if you have any questions.
Thank you. Regards.
- Andrii.
I haven’t sent ANY credentials yet. In fact, I wrote the message and never sent it since I was waiting for the backup to finish up.
Does your plugin not support hierarchy and multi-option to click when opening dropdown menu?
Dropdown with hierarchical and multi-selection is planned but haven’t implmeneted yet. These features will be in the future plugin updates but definitely not faster that in next 3 months rather in 6-month or more period.
Hello!
Here’s my problem. I have created a filter set for filtering Products post type. Using Woocommerce, btw. But for now, I’ve got a “No one Filter Set is related to this page. You can configure it in the Filter Set -> “Where to filter?” field.” message a few times, and even when I set it to the right page, it’s not showing up.
But, I’ll be more specific. I’m using Astra Pro theme, and I created custom layout for mega menu. In there, I couldn’t find “Filter Everything” widget, simply not on the list, so I tried adding a shortcode. When I did that, I got the error I mentioned above, no matter what I choose for “Where to filter?”.. I selected front page, Custom Layouts (that’s the Astra’s post type in use for this), mega menu, Page. So, when I switched it to “Shop”, it did show up but the wrong filter, even though I’ve added “id=” parameter to the shortcode, it just ignored it.
I couldn’t get this to work anyhow. I tried setting up that filter set on Shop or front page sidebar and still, it’s not showing up.
Also, even though I’ve set this filter set to filter Product post type, when I click on ‘add filter’ I don’t see Price anywhere in the list, only categories, and product attributes.
Can you, please, help me out with this cause, even though I like what you did and so far I’ve used the non-pro version, for this site I need more customization, and seems like this isn’t a good solution so far. Thanks!
Hi danilitto,
Thank you for choosing Filter Everything PRO.
You should specify the location of the page/category and etc in the “What to filter” dropdowns, for shop it is “common WordPress pages” + “shop”, for custom pages it is “pages” + “my custom page”, for categories “my product categories” + “my category”.
The id in the shortcode does not specify which filter will be displayed (the id will be removed soon from the shortcodes). If you have a couple of filter sets on the one page you “priority” settings at the bottom of the filter set settings, the filter with higher priority will be shown in the widget first.
You can add a price range slider by the “Custom Numeric Field” using the meta key of the price, for the Woo default meta key for the price is _price more meta keys you can find here on the filter set setting page – https://prnt.sc/bBavm4i4s8Rk
Best Regards,
- Victor
Pre Sale question: is there a way to let the plugin filter all the categories … even if we are on specific category page ?
Example: in your demo blog, you have these categories:
- Health
- Beauty
- Food
Health is the parent , but if i land directly on the Food category … i can’t filter back to beauty directly . This is the only thing that is pulling me back , because so far your plugin is perfect for my needs, but i need to fix that .
just bought the pro version, but i have problems with activating it, it says “unknown error”
Hi mastahtheboss,
Thank you for choosing Filter Everything PRO.
Yeah, because you are browsing through different categories pages, you can use breadcrumbs to return back to the main category and filter items there. Because in another case you always would see all of the products as you do on the main category page.
It seems 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 mastahtheboss,
The plugin was activated and everything is working well.
Best Regards,
- Victor
Hello! I am trying to filter my posts by categories on a page. I can see the filters on the page, but I dont see anything to come up.. How can I see all my posts in a page and use the filter? I mean I have multiple posts with different categories. And I have a page, where I want to use the categories filter, to only see those posts whats includes that actual categorie(s). Thanks for the help in advance! Zoltan
Hi Zoltan,
Thank you for choosing Filter Everything PRO.
Not exactly clear what you mean by “I can see the filters on the page, but I dont see anything to come up” Our plugin doesn’t display posts it is only filtering them. So if the category page has some amount of posts and you apply the filter set to that page/category it will filter those posts.
Just like here – https://demo.filtereverything.pro/category/health/ if you remove the filter plugin from that page only the filter from the sidebar will disappear.
Try to specify the correct query in the “And what to filter” dropdown setting in the filter set. In case the filtering isn’t working.
Best Regards,
- Victor
Excuse me, i dont find sort widget. I use classic editor. Thanks
Hi fbertini1,
Thank you for choosing Filter Everything PRO.
If you are referring to that you cannot find the sorting widget in the widget area using the classical editor it is shown like this – https://prnt.sc/UOEoflYzAEKW
Best Regards,
- Victor
Hi, I’ve upgraded to the pro version but doing so has caused the filter to stop working on the front end. When I select a filter, I’m redirected to the pretty URL but it causes a 404. I’m using in combination with Elementor Pro.
I’ve had to deactivate FilterEverythingPro and stick with the free version but I’d like to reactivate it. What’s causing the 404 issue and how do I resolve it?
Thanks, Ben
Hi cameracrate,
Thank you for choosing Filter Everything PRO.
Looks like a conflict with a plugin or some type of custom code that causing such an issue. Could you please send the link to the page where you are having the issues?
Best Regards,
- Victor
Yes, we see the issue, please provide the credentials to the wp-admin dashboard following this document so we can check it.
Best Regards,
- Victor
Wonderful, thank you. Credentials sent over.
Any update on this?
Hi cameracrate,
We will provide the information on this issue in a couple of hours today, as it needs additional checking. It seems like some conflict with the custom code or the certain plugin.
Best Regards,
- Victor
Update.
The issue is in the permalink manager pro plugin, to make it work you can either turn off the PMP plugin or add this to the functions.php define( ‘FLRT_PERMALINKS_ENABLED’, false ); so instead of URL with applied filters like /some-brand/color-red/ and so on you will see the GET parameters. But it will work and filter everything. Our permalinks in the plugin and the PMP plugin are not compatible.
Best Regards,
- Victor
Hi, it’s very urgent. When I try to add the Custom Fields in Filter Pro it’s not showing the data. But it shows the count but when we click on the check box it’s showing no data. Pls, give me the solution.
Hi logakarthikeyan,
Hi, it’s very urgent. When I try to add the Custom Fields in Filter Pro it’s not showing the data. But it shows the count but when we click on the check box it’s showing no data. Pls, give me the solution.
Is the data not shown in the filters widget as filter terms or data as products? How and where does it show the count if it is not showing the data?
Provide more info on “when we click on the check box it’s showing no data” Do you mean all of the products or posts are disappearing from the page or what type of action is happening?
Please send the link to the page with the issue so we can check it.
Best Regards,
- Victor
Have you edited the names (meta key) of those custom fields? After they were created?
Best Regards,
- Victor
Hi, I wondering if it’s possibile to customize sorting options based on woocommerce category. In my case I set up a shop with categories “Car sales” and “Car rental” and i need to add only sorting option “price” for Car sales products and “Rent category” for Car Rental products. Thank you
Hi Funkwarrior,
Thank you for choosing Filter Everything PRO.
A bit confusing, how exactly are you trying to customize settings based on Woo category? You have two categories “Car sales” and “Car rental”. Do you mean that for one category you only want to place a sorting by the price and for the second category sorting by the rent category?
Best Regards,
- Victor
Hi victor, I’m sorry I didn’t explain me well. By “rent category” I mean a rent price range (“cheap price range”, “medium price range ”, “luxury price range” as an example) linked via taxonomy ACF to the product. Otherwise yes, I want to add sorting by price only on “car sales” and rent price range only on “car rental” along with alphabetical and date sorting options. Thank you
Well, you can create two sortings widgets add all of the needed sorting options by meta key and etc, in the widget area, and check their id – https://prnt.sc/MGsiAdWWZjX6
Then add this example of the code that will take in fact Woo categories by their slug and return the corresponding shortcode:
function category_based_shortcode($atts) {
if (is_product_category('laptops')) {
return do_shortcode('[fe_sort id="10"]');
} elseif (is_product_category('electronics')) {
return do_shortcode('[fe_sort id="7"]');
} elseif (is_product_category('other_category_slug')) {
return do_shortcode('[shortcode_for_other_category]');
}
// Default output if no matching category is found
return 'No matching category shortcode found.';
}
add_shortcode('category_based_shortcode', 'category_based_shortcode');
And place the shortcode of the code above – [category_based_shortcode] on the needed place where you need your sorting to appear. For testing purposes we simply place it in the widget sidebar – https://prnt.sc/Kf_7-lbhwgNS
and here is the result for the laptops category – https://prnt.sc/TgQD8QgGUOCg
and this is for the electronics category – https://prnt.sc/2PXYJ5CClCwK
Please note, that this is just an example of the code, not a 100% working solution it is just to give an idea of how you can implement it. You need to rewrite it to your needs and do it by all of the standards, so it won’t be buggy and etc.
Best Regards,
- Victor
Thank you for your reply Victor, I will look into it. Great work on your FE !!
It works! Thank you!
Hi Funkwarrior,
I’m glad that your problem was solved.
If it is possible I would be thankful for a positive review about the plugin here on CodeCanyon – https://codecanyon.net/item/filter-everything-wordpress-woocommerce-filter/reviews/31634508
Thank you in advance!
Best Regards,
- Victor
Done! Thank you Victor!
Hi geetjain29,
It seems 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.
Also with credentials we can check the issue with filtering that you have.
Best Regards,
- Victor
Already sent credentials please check
Thank you for the credentials, please send the license key via PM as well.
Best Regards,
- Victor
thanks for your reply i also sent the key please check
We have activated the license and everything is working well.
Best Regards,
- Victor
Popup not working in mobile device
Place the [fe_open_button] next to your filter widget shortcode and test it.
Best Regards,
- Victor
Sorry man, but i am totally not happy with this plugin. It is so complecated and it doesnt work. Also we have tons of colors and id says only Black (2). Instead of all colors and at least of products per color is like 30. When you click on size it says
It appears that this page does not contain a container with the specified «HTML id or class of the Posts Container». Try to specify the correct one in the Filter Set settings or the common plugin Settings.
etc. etc…not good.
Hi varan,
Thank you for choosing Filter Everything PRO.
That’s not a problem, please describe to us what you cannot understand in the plugin and we will provide you with all of the needed information.
Also, please provide the link to the page with the issues so we can check.
“It appears that this page does not contain a container with the specified «HTML id or class of the Posts Container». Try to specify the correct one in the Filter Set settings or the common plugin Settings.”
This message means that if you turned on AJAX functionality, you need to specify in the «HTML id or class of the Posts Container» the class or the id of the products that should be updated by AJAX. You can find the needed class of products container via inspector in your browser on the specified page.
You can provide the credentials to the wp-admin dashboard following this document so we can help you to set up the filter set with all the needed settings as example.
Best Regards,
- Victor
not working in my website, i am using divi theme and builder. whenever is us filter is shows all results URl https://calearner.com/questions/
Hi geetjain29,
Try to choose another query in the filter set settings and the “And what to filter” dropdown, hit update and test the workability.
Best Regards,
- Victor
It seems that this issue is resolved already and it is filtering everything now.
Best Regards,
- Victor
How can i customise these filters fields ?
What do you mean by customize? Please add more information so we can work with it and provide you with all of the needed answers.
Best Regards,
- Victor
like how can i change border style, radius, colors, shadows etc
Hi geetjain29,
Oh, that type of customization, you can do it with custom CSS and simply use the browser and inspector to choose the correct classes, for example, let’s take the title and the color of it – https://prnt.sc/WbOgwbDsv7jA and place our styles by those classes in the Filters -> Settings -> Experimental -> Custom CSS – https://prnt.sc/wmmcxdhyVA4K
Best Regards,
- Victor
Hi, Thanks for your support How can i use two filter sets on same page Set 1 is only for search field Set 2 displays filters. Whenever i place shortcode is display two times same filters URL – https://calearner.com/questions , i want seperate search field above filters field
Hi geetjain29,
Yes, you need to place two shortcodes or if you are using a widget area place two filtering widgets there. Create two filter sets and place them on the needed page. The filter set with only a search bar should contain any filter by custom field, just use some unexisting meta key and choose hide empty filters. In that case, you will have only a search bar.
Best Regards,
- Victor
Do i need to place two same shortcodes?
Hi geetjain29,
Yes, you need to place two same shortcodes.
Best Regards,
- Victor
can you please help me in setting up this functionality, i already added you as admin user, https://calearner.com
Hi geetjain29,
We have set it all up and you can check it on this page – https://calearner.com/questions
Best Regards,
- Victor
Thanks it is working now, can you please explain what i am doing wrong ?, Also But now in mobile only search is showing not filters
Hi geetjain29,
We have removed the priority, used the ID for each shortcode, and saved it. So now you have everything shown correctly on the desktop and mobile as well. But you won’t be able to display the search filter set inside the same pop-up with filters as those are two different filter sets.
But you simply can add a search bar to the filter set with filters and on desktop make it display none with CSS using the filter set ID and on mobile display it.
Best Regards,
- Victor
NO REPLY ??...
Hi geetjain29
We apologize for the delayed response. It seems that your question was inadvertently overlooked, but upon receiving your email, we were able to conduct a search and locate it.
We have checked the site and changed the query inside the filter set setting (“And what to filter” dropdown option) for the filter set on this page – https://calearner.com/questions/ and it is working.
We created another “test filter set” and placed it on this page – https://calearner.com/questions-2/ everything is filtering as well.
However, we have noticed that there is an issue that you have on your site with pagination. Specifically on this archive page template – https://calearner.com/questions/ it doesn’t matter if you turn off our plugin or not, you’ll see the same issue with “No Results Found The page you requested could not be found. Try refining your search, or use the navigation above to locate the post.” So we suggest to fix it.
On this page – https://calearner.com/questions-2/ pagination is working correctly.
Best Regards,
- Victor
Thanks for reply, I want to know your plugin always shows an error whenever i use it on archive page of any Custom post types “No one Filter Set is related to this page. You can configure it in the Filter Set -> “Where to filter?” field.” Whene after trying all the settings in where to and what to filter.
Hi geetjain29
This is not an error, it is just telling that on this page zero filter sets were applied. The thing is that you have archive pages, and use more likely broken template for it. And you have singular pages like this one – https://calearner.com/questions-2/ and in order to place a filter set on this page, you need to choose in the “Where to filter” dropdowns “Pages” + “My name of the page”.
Taxonomy pages like categories and others, can be placed using “My taxonomy name (category)” + “Name of the certain category (Any Category)”
Archive page “common WordPress pages” + “All archive pages”
So if you have any questions about some pages where you cannot display our filter widget, please send us the link to those pages so we can provide you with an example of how to do it.
Best Regards,
- Victor
Hi, Everything is working fine in https://calearner.com/questions this is a page with blog element in it. but pagination is not working.
Hi geetjain29
That is exactly what we have mentioned in our previous answers, that pagination is not working correctly there.
Even if you completely delete our plugin from your site and test that pagination functionality, it’ll still work the same (not work on that page).
This issue is more likely from the server settings or some plugin conflict that you have installed on your page.
Best Regards,
- Victor
Good afternoon I would like to know how long the license lasts or if I buy it I will have it forever
Hi facturasceragro,
Thank you for your interest in the Filter Everything plugin.
It’s a lifetime license.
Best Regards,
- Victor
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