8950 comments found.
Hello,
Is it possible to sort standard WP posts by category name using the sorting widget? Can you point me in the right direction?
Hi psstudiosinc,
Not really, but you can use the ACF custom field and apply it to the posts simply use “select” for the custom field and write down all of the categories as options to choose from, and apply the needed one to each post. In that can you can create a sorting widget by that meta key.
Best Regards,
- Victor
Hi, how can I display the filter on every page with the shortcode? [fe_widget]? Or display it within the search results
Hi deepcoding,
The shortcode is to display the filter widget if the filter widget is set up in the settings on those pages where you have placed the shortcode.
Basically, if you have category pages, you place a shortcode using a hook or even inside the template however you want, and in the filter set settings in the “Where to filter” choose “Categories or Product Categories” + “Any Category or Certain category name”. Same with singular pages, choose “Pages” + “Name of my page”. If you want to display it on the search page choose “Common WordPress pages” + “Search results page…”
Best Regards,
- Victor
Hello. Filters works great on the woocommerce categories, but the base wordpress search returns 404
https://yanko.kids/?s=%D1%88%D1%82%D0%B0%D0%BD%D0%B8Hi Tuskotrush,
More likely you are using a one-letter prefix for filters. One of them is “s” and by default, WP uses ?s= for searching. That’s why 404 is appearing. We would recommend using unique filter prefixes, which can be changed from Filters -> Settings -> URL Prefixes. Change those prefixes to the unique ones, hit save, and check the workability.
Best Regards,
- Victor
OMG! I spent 2 days for fixing it. You fixed it in 2 minutes 
Thank you!
Hi,
When choosing a filter option on the front end, the filter refreshes the page and the filter choice is no longer selected.
Thanks!
Hi pac-nyc,
Are you using AJAX? Also, please send the link to the page with the issue so we can check it.
Best Regards,
- Victor
no ajax
https://shorturl.at/agisVIt’s weird that on other pages it is working correctly.
Can you please send the credentials to the wp-admin dashboard following this document so we can check it?
Best Regards,
- Victor
credentials sent. thank you!
Hi pac-nyc,
You have a problem with prefixes – https://prnt.sc/SCxpS6s_rAiu they should be unique, not like categories, attributes, and so on, unique absolutely unique, and do not repeat with other slugs.
Second, you have some issues with prefixes, because those filters that you created are not displayed in the list of URL Prefixes from Filters -> Settings -> URL Prefixes, so we would recommend first fixing all of the prefixes to make them unique.
Best Regards,
- Victor
Thank you. Appreciate you and your assistance!
Hi there, I am in the process of migrating a site from another CMS to WordPress and love the FEP plugin for what it can do for my content filtering! Really nice!
The issue I would like to ask about is the strange behavior with dropdown boxes doing a “crunching” or flicker thing on reload. See here where this is happening: https://techjobterms.com/category/terms/
When you use either the Sort Topics drop-down or one of the Categories or Tags ones, it is visible if the field is of course visible on the bottom end of your computer screen.
It tried some things like finding info on any flickering here in the comments and I also found this online about Select2 and FOUC issues:
https://stackoverflow.com/questions/61505577/jquery-select2-width-100-creates-flashes-on-load-how-to-preventNone of this is of course a major big deal, but it would be nicer if the Dropdown filters would be steady and not flicker at all upon page reload.
(I am not using AJAX BTW as I can’t figure out how to make that work with my theme, HTML page id section stuff, etc. )
Any ideas on how to fix this dropdown flicker would be most welcome! The fields I use these for just have too many items to use checkboxes for…..
I don’t know if this is an enhancement in your plugin code or if mere CSS would do the trick in the theme environment I am using.
That is Yootheme Pro BTW, which is UI kit based.
Look forward to your thoughts!
Hi NetConfig,
Thank you for choosing Filter Everything PRO.
We’ll add the matter to our list and will promptly notify our development team to investigate it. Rest assured, we will provide you with an update as soon as we receive a response from them.
Best Regards,
- Victor
Hi NetConfig,
Alright, so we are back with the answer. This is simply the issue of the select2 because it is loading first DOM and then applying styles and JS on it to make it look like that. So as long as you are using the updated dropdown it will work like that. On powerful PCs, it is not that visible on the below-average ones it will be more visible.
So it will work like that or you can turn it off and use your own styles without JS and etc.
Best Regards,
- Victor
Thanks Victor – I have used the code from this page in the page and it removes all flickering of the Select2 boxes. I suppose there may be a slight speed / page load impact but it looks a lot cleaner with no flickering!
https://monc.se/kitchen/152/avoiding-flickering-in-jquery/I simply added that to the custom code in my theme and all is well.
FEP is a lovely plugin!
Hi NetConfig,
Thank you for sharing this solution with others. It seems like a great approach.
Best Regards,
- Victor
Hello. I asked previously about placing two filter sets on one category page and you answered that it’s possible to set two filters one for particular category and another filter that is applicable for all categories. I checked this and this do not work. Only one filter can be set on the category page. If you have one filter set that is set to filter “Product category -> Every categories” it will be showing on the category page where no other filters exists. If you assing another filter to this particular category, then “common” filter will be replaced by this “special” filter, so they cannot reside on one category page at the same time. So i have two questions. May be some settings i missed and because of it filters not working in the right way.? I want you to check that my words are true, but this need giving access to dashboard what is inappropriate in this area. How i can i give you access credentials to the dashboard ?
Hi tparashchuk,
When you have two filter sets:
1) Set for any Category
2) Set for a Certain category
You will see only the second filter set because it has a higher priority over Any Category. Here is what you can do here.
1) Create a filter set and place it for Any Category 2) Create a filter set for a certain category and include a filter from the first filter set which is set for Any Category. In this case, you will see only one filter set on the page which will have filters from Any Category and the additional filters that you want to place on a certain category.
But in general, you don’t even need to do that, you can make one filter set that will have all of the filters in it, and choose to hide empty terms and hide empty filters. In this case, you will see available filters for products in each category the rest will be hidden.
Best Regards,
- Victor
Hi,
When using a custom value (for example _width), the filter still shows when there are no products on the page.
I have enabled ‘Hide empty Filters’. Every other filter in the set is hidden but the custom value ones are still showing I am assuming that it is pulling out of stock items too or something and this is why it’s still showing values?
Is there anyway to stop this from happening.
I will message you an example link
Hi centrable,
Try to place the filter set on the certain category page, and check if it will show anything. Also, make sure that you choose the correct query in the “And what to filter”.
More like your category pages have unique queries, that’s why you see those numbers on the empty category page without any products.
Best Regards,
- Victor
I have sent you 2 more links
In link one, there are no products in that category and the filter does not show
In link two, there are only out of stock products in the category but the filter still shows (only for custom)
The ‘Where to filter?’ is set to product categories and ‘any’ (this needs to be the option)
‘And what to filter?’ only shows product query main.
Hi centrable,
In case the mail didn’t get to you. Please send the credentials to the wp-admin dashboard following this document so we can check it. Without a more in-depth analysis, we are limited in our ability to provide solutions or recommendations.
Best Regards,
- Victor
Hey Victor,
on “hagan-ski.com” we still have the situation that the order of the item is not like it’s intended, once it was good but I suspect some other things in the database made it move again.
I made a screencast to make more clear what the problem here is: https://www.dropbox.com/scl/fi/hjgjk26ckg2a3tq6npdqv/filter-items-order-2023-10-02-12-39-39.mp4Hope that makes it clear and you have a solution for make the order fixed.
Kind regards Bernhard from MONOBUNT
Hi Bernhard,
Can you please make it available for everyone so we can watch the video?
Best Regards,
- Victor
Hello again, strange I set it to view for everyone, here as a DL-link: https://we.tl/t-C9SsuwS6km Kind regards Bernhard
Hi nnpro,
Yes, you can use this code example and write the sorting items as you like:
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
Hey Victor, yes that worked wonderfull thanks for that, see here: https://prnt.sc/a-3vUNff5V_O
Hi nnpro,
Looking creat, you did a good job!
Best Regards,
- Victor
Hi, How can I filter by year? I’d like to use checkboxes. Do I need to use a tag with the year or can it be taken from the post date? Thanks
Hi ariane1001,
Thank you for choosing Filter Everything PRO.
You can use tags only for years, or you can create an ACF custom field for years and apply them to your posts and simply create a filter set by the years using that custom field meta key (name).
Best Regards,
- Victor
Thanks, I hoped to take it from the publish date because the year is already there but thats not possible? Best regards, Ariane
No, there is no filter by the date yet, but we are planning to add it soon. But for such purposes, we still would use ACF as it is more flexible for this case and in general.
Best Regards,
- Victor
Hi!
I had the free version working but wanted tot use pre_get_posts and the filter stopped working. So I bought the pro version and am using a custom wp_query now. But when I try to filter, i get a blanc page instead of the results. Not an page error, just no results. What could be the problem? I tried to search here, but thats not working properly.
Hi Cybermissy,
Try to go to the filter set settings and in the “And what to filter?” choose another query hit update and test the workability.
Best Regards,
- Victor
Hi Victor! Thank you for your reply. If I change the query to main query, it doesn’t filter at all.
It is a custom posttype with ACF fields
Hi Cybermissy,
Can you create a page for that archive? Same as blogs or Shop for Woo so you will have an actual page for it, and place a filter set specifically on that page.
Best Regards,
- Victor
Hi Victor, I made a page with a custom template and the custom query in it, Then selected the page for the filter. The filter options are visible in de sidebar en the counting works. Just like before in the archive template. But same problem exisits. When I select an option to filter, the part of the page where all posts where, becomes empthy.
I’ll debug my query first. I guess there is the problem
I have found the problem.
I want to exclude posts on this page where the ACF field (true/false) is false/not checked or doesn’t exist. This part of the array is causing te problem. I have tried it first with pre_get_posts. I thought the filter stopped working because of that. But is is because of the meta query in the $args. Do you have an idea how to solve this?
$args = array( ‘posts_per_page’ => -1,// query last 5 posts //’paged’ => $paged, ‘post_status’ => ‘publish’, ‘orderby’ => ‘publish_date’, ‘order’ => ‘DESC’, ‘post_type’ => ‘dieren’, ‘meta_query’ => array( ‘relation’ => ‘OR’, array( ‘key’ => ‘geadopteerd’, ‘value’ => ‘0’, ‘compare’ => ’==’ ), array( ‘key’ => ‘geadopteerd’, ‘compare’ => ‘NOT EXISTS’ ) ), );
Oke, solved. I made a category and excluded that one. ‘category__not_in’ => 5 , That works!
Hi Cybermissy,
We are glad to hear that the issue was solved.
Best Regards,
- Victor
Hello Victor,
Sorry another question ^
I would like to have a dropdown list with the numeric date,
Example from 1 to 30 and the user can select 10 or 23, do you know if this is possible?
In fact, I’m going to make a form in the header of the home page, and I’d like it to be small. i would like to have only dropdown^
OR
is it possible to have un dropdown with a range values ?
Example :
- All
- $0 – $50000
- $50000 – $100000
- $100000 – $150000
OR
- All
- From 1 to 10
- From 10 to 20
- From 20 to 30
Thank you very much
Hi GueloSuperStar,
Well, you can make such range values in the ACF custom field checkbox, apply those ranges on every product, which have that range of price or anything else that you need manually, and create a filter set by this custom field meta key.
But to make it automatic, no, there is no out-of-the-box solution yet, only with the custom coding.
Best Regards,
- Victor
Hi Victor,
I would like to know if there is a better way than CSS to hide the title (wpc-filter-title) for horizontal display. Are there any SEO implications?
Example :
.wpc-horizontal-layout .wpc-filter-header {
display:none
}
@media screen and (max-width: 500px) {
.wpc-horizontal-layout .wpc-filter-header {
display:block
}
}
Thank you
Hi GueloSuperStar,
No there is no better way yet, maybe in future it will be updated. In general, you simply can leave the titles empty and you won’t need to hide them at all.
Best Regards,
- Victor
update: I see these messages when I try to edit or create a new set:
https://paste.pics/f48498a21b338f7dd8caf4f92fc9361eHi 47hg59vrhg,
In order to remove any confusion the answer was provided in this comment thread – https://codecanyon.net/comments/29995445 we can continue solving the issue there, and yes there is the ability to have a conversation in a single comment thread.
Best Regards,
- Victor
Hello. I asked previously about placing two filter sets on one category page and you answered that it’s possible to set two filters one for particular category and another filter that is applicable for all categories. I checked this and this do not work. Only one filter can be set on the category page. If you have one filter set that is set to filter “Product category -> Every categories” it will be showing on the category page where no other filters exists. If you assing another filter to this particular category, then “common” filter will be replaced by this “special” filter, so they cannot reside on one category page at the same time. So i have two questions. May be some settings i missed and because of it filters not working in the right way.? I want you to check that my words are true, but this need giving access to dashboard what is inappropriate in this area. How i can i give you access credentials to the dashboard ?
Hi Lonelywalker,
Please write your request from the account where you have purchased the plugin. This is a standard procedure followed by the support policy in order to provide you support on your issue.
Best Regards,
- Victor
website:https://dev.annacdesign.com/
thank you for help
Hi 47hg59vrhg,
Thank you for choosing Filter Everything PRO.
Can you please send the credentials to the wp-admin dashboard following this document so we can check it?
Best Regards,
- Victor
Hello, I have a menu with many sub categories. How do I show only the subcategories of the current category in the filter? This should be basic but I didn’t find where to configure it. Can you help?
Hi samucavirtualite,
Hello, I have a menu with many subcategories. How do I show only the subcategories of the current category in the filter? This should be basic but I didn’t find where to configure it. Can you help?
If you have a filter by category and you want to show only subcategories, you can use the include/exclude functionality in the “more options” and create a filter set for each category with needed subcategories included (but do not use the show hierarchy in this case). If those are just empty categories you can choose in filter set settings belove “And where to filter” choose to hide empty terms to always hide.
Best Regards,
- Victor
Thanks for your feedback Victor. But can’t this be automatic? Do I have to add each subcategory there one by one by hand?
Numerous factors must be taken into consideration when determining the appropriate depth of subcategories, sub-subcategories, and the overall hierarchy of categories. It is crucial to carefully evaluate which categories to display and which not. That’s why there is no option like that out of the box, of course, it might be added with future updates.
So yes, the only way right now is to build your own list of which categories you want to display.
Best Regards,
- Victor
Right Vitor, I understand. But this functionality must be very basic. Being in a product listing that has dozens of subcategories and showing only these subcategories on the side of the filter, and not everything on the site. Do you agree? And doing this manually has no way of having control. But I also understand that the plugin does not have this feature and I must wait. Is there a forecast or place where we can monitor this mapping of improvements and dates? This makes it easier to know whether we should use the plugin at the moment or not.
Hi samucavirtualite,
Actually, it is working like this. You go to the category shoes, and products have let’s say attributes like size and brand, etc., and subcategories like formal, sport, and so on. When you choose to hide empty filter terms and hide empty filters, you will see only the categories that those products have and filters that are available for those products, if shoes don’t have a category of clothes this category will not be displayed.
Best Regards,
- Victor
Hello! We have 3 sets of filters, each leading to a separate page that includes each filter separately. We can’t make them work in any way, even though they have a dedicated ID, ajax, basically we set them as before. We receive in one the error 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. The site is: https://tuningpoint.ro/ . Thank you so much!
Hi waezAhmed,
Can you please send the link to the specific page with the issue so we can check it? This warning appears when you didn’t set up in the filter set settings “HTML id or class of the Posts Container” of your prodcuts.
Best Regards,
- Victor
hello, sure, link: https://tuningpoint.ro/, the 3 filters. Thank you!
Hello, sure: https://tuningpoint.ro/. Thank you!
Hi waezAhmed,
On this page, there are no visible filter widgets that we could test as it is a home page, and other pages have Woo filters. if you are using it on some test page like mysite.com/my-test-page/ please, send the link to this specific page. Because we simply don’t see any filter from our plugin on the home page.
Best Regards,
- Victor
check here pls: https://tuningpoint.ro/filtru-anvelope/ ..../ https://tuningpoint.ro/filtru-jante/.... https://tuningpoint.ro/filtru-tuning/ . here are the 3 filters, thank you!
The pages are absolutely empty, you need to place the filter on the page with products, so you can filter them. And use the container (wrapper) ID or class of those products. So the AJAX will update only the product container (wrapper).
Best Regards,
- Victor
Hi Team!
It seems on my site since yesterday that the filtered pages not showing up anymore?
Any idea on what could be the issue here?
Please see filtered page example—https://goksitesgids.nl/reviews/
Thanks.
Fixed it, you can ignore this above message.
Have a nice day.
Hi yannickverstichel,
We are glad to hear that the issue was resolved.
Best Regards,
- Victor
Hello, I’m trying to work in a horizontal filter in a text block using shortcode, and have four dropdown filters for portfolio post types. Can you assist? I’ve had a hard time finding content describing how to accomplish this. Thank you!
Hi blaru001,
Thank you for choosing Filter Everything PRO.
If you are using shortcode then you need to use this type of shortcode [fe_widget horizontal=”yes” columns=”4”]
Can you provide more information on “filters for portfolio post types” do you already have different ACF custom fields and so on and just want to create filters by them?
Best Regards,
- Victor
Ok that worked well, thank you.
Now I’m getting this message when I check the option to “Try to use AJAX” The message reads:
“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.”
Do you know how I can integrate it into my theme? I’m using the Avada theme for reference.
Hi blaru001,
Yes, you need to go to your page where you have a filter set, open browser tools to inspect, and check what container your products are using, use the id or class of that container in the “HTML id or class of the Posts Container” input.
Please note that the product container should not have a filter widget inside of it. Or else it won’t work correctly.
Best Regards,
- Victor
Thanks Victor, I’ve tried several IDs and classes but having issues. The webpage that I’m trying to get the filter to work on is: https://onlineacademy.larussamedia.com/online-academy/the-collection/
Any advice?
Hi blaru001,
try to use #portfolio-filter it should work. Also, you have some AJAX already on so we would recommend checking this page in case something won’t work after filtering – https://filtereverything.pro/resources/ajax-related-problems/
Best Regards,
- Victor
I’m sorry but I’m still having trouble with solving this. How would I disable the AJAX that’s already on so that the FE ajax could work properly?
Hi blaru001,
Can you please send the credentials to the wp-admin dashboard following this document so we can check it?
Best Regards,
- Victor
Just sent credentials
Hi blaru001,
Okay here is the issue, you have some type of code applied that the portfolio post appears from left to right, so when you are using AJAX it is simply not working. How it can be fixed? You can either find it and turn it off in theme or whenever where it is.
Or set the needed function on the ready event:
jQuery(document).on('ready', function(e){
functionThatShouldBeApplied();
});
Best Regards,
- Victor
Is it possible for me to replace the text in the dropdown filter: Select “Category” and just have it say “ALL” ?
Hi blaru001,
You have a couple of options for how you can do it:
1) To translate it with the Loco translate plugin or other software if you use a non-English language on your site.
2) To use the Templates Overriding feature https://filtereverything.pro/resources/templates-overriding/ to override the dropdown.php template and replace the string.
3) To use hook ‘wpc_dropdown_default_option‘ if you are familiar with PHP development. Here is a code example that you need to place in the functions.php file of your active theme:
// Define a custom function to modify the default option text
function custom_dropdown_default_option($default_option, $filter) {
// Modify the default option text as needed
$modified_default_option = sprintf(__('My custom text: %s', 'filter-everything'), $filter['label']);
return $modified_default_option;
}
// Hook the custom function to the 'wpc_dropdown_default_option' filter
add_filter('wpc_dropdown_default_option', 'custom_dropdown_default_option', 10, 2);
We would recommend 3rd option.
Best Regards,
- Victor
Hi there, i have a problem… for example on this page i use the default theme portfolio widget in Elementor to show the portfolio posts.
https://share.cleanshot.com/Sxybf9Ry
i have added 2 filter sets in order to display theme on this page but they don’t show up ( the page is https://shorturl.at/hkBIZ )
i get No one Filter Set is related to this page. You can configure it in the Filter Set -> “Where to filter?” field.
even i had set the portfolio type and set this to show on all wordpress pages. i have added the shortcode with the elementor shortcode widget.
Hi eduardn1,
Thank you for choosing Filter Everything PRO.
As we understand the issue was resolved since there is a filter widget on the page you have sent the link. In general, you should choose in the “Where to filter” option “pages” + “name of your page”
Best Regards,
- Victor