Code

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Cart 15,699 sales
Recently Updated

Stepasyuk supports this item

Supported

This author's response time can be up to 1 business day.

8972 comments found.

Hello, Awesome plugin you have built. Thanks! I am having an issue with a filter name that was deleted and is still showing up as an option. I am filtering real estate properties by location and through testing other functions on the site, I made a “test” property. For that property, I labeled its location as “test.” After I was through testing what I needed to, I deleted that property. However, on the front end “test” still shows as a location that you can filter properties by even though there is no current property posts with that location. Must I delete that filter item and add it again? Or is there another fix?

Here is the website in question: https://morningstarcapitalstrategies.com/properties/

You can see under locations it shows “test” as a location you can choose to filter by.

Thank you!

Hello! I have just solved my problem and wanted to post in case anyone else had the same issue and so support staff didn’t need to waste their time. The posts were still in the “trash” in the posts page, once I deleted them permanently the old filter perimeter was removed.

Thanks!

Hello bkeller8

Thank you for using the plugin.

I’m glad that you were able to solve the problem by yourself. Most of customers are not so experienced :-)

Hello, is there a way we could copy the filter sets? We have many filters in one set and the duplicate posts plugin doesn’t copy the filters. Thanks for info.

Hello, can you please let us know about this feature? Thanks.

Hello smartwebeu.

Indeed this feature is necessary for the plugin and I have planned to develop it in future plugin updates. But for the moment I can’t say when exactly it will be released. It may take even couple of months.

Just purchased the Pro version of your plug in and looking have a filter set I created visible on pages and posts.

so right now I have the set “Where to filter?” on a specific recipe page. But I also need it to show on all the recipe detail pages which are custom post type.

So the page URL is ../recipes/ and the recipe details page is ../recipes/banana-split/

Is there a way to have the filter show on all child pages/posts of ../recipes/?

Any luck with this? Basically Im looking for a way to have the filter set show on a page and multiple posts. I have a recipe site where the listing is built using Wordpress page type and all the recipes are built using Wordpress post type and I want to filter to stay consistent on both the recipe listing and the actual recipe details.

Thanks in advance!

Hello MyBrotherDarryl

Thank you for purchasing the plugin and I’m sorry for the late response.

In general it is possible to display filters on singular posts/page/recipe pages. But you have to know that it expects that you have already displayed resipes loop on such singular pages. Because filtering is process of narrowing of products that you see on the page before filtering. In other words via filtering you can not add new products, but only narrow products list by selected criteria.

Also you have to know that you can add only one Filter Set on one single page. If you want to add the same Filter Set on all singular pages it is possible only via the plugin code modification.

Hey Stepasyuk,

OK thanks for the info. We will investigate modifying the plugin codes and see where that takes us. Thanks!

Hi,

I have two problems: 1. The range does not seem to work, it keeps displaying posts with values outside the selected range 2. Is there a way to exclude posts with a specific category from the filter query? Let me explain: from the archive query I have excluded posts (cars in my case) whose value “auto_sold” is equal to “yes”. The problem is that the filter count continues to display the number of cars counting these posts. How can I intervene and modify the query?

[all queries are related to https://marcelloo31.sg-host.com/].

add_filter(‘wpc_terms_before_display’, ‘wpc_filter_terms_based_on_venduta_meta’, 10, 4); function wpc_filter_terms_based_on_venduta_meta($terms, $filter, $set, $urlManager) { }

$newTerms = [];
foreach ($terms as $term) {
    $args = [
        'post_type' => 'auto',
        'tax_query' => [
            [
                'taxonomy' => $filter['e_name'],
                'field' => 'term_id',
                'terms' => $term->term_id,
            ],
        ],
        'meta_query' => [
            [
                'key' => 'flag_campi_auto_auto_venduta',
                'value' => 'no',
                'compare' => '=',
            ],
        ],
        'posts_per_page' => 1,
        'fields' => 'ids',
    ];
}
$query = new WP_Query($args);
// Se ci sono post "auto" con la meta query "flag_campi_auto_auto_venduta" uguale a "no", aggiungi il termine all'array $newTerms
if ($query->found_posts > 0) {
    $newTerms[] = $term;
}
return $newTerms;

I have added this code and it works perfectly for filters containing taxonomies excluding car sales posts, however the ‘custom field numerical’ filters are no longer displayed, what could I add to this code to exclude custom field numerical?

I would add, it does not work for all custom fields both numeric and textual

For anyone who ran into the problem similar to mine, considering that the developer instead of offering me this very trivial solution preferred to tell me that it was not provided in the support (very strange) you can opt for a similar solution:

// Essential to add the specific application to filters as using it on all filters can cause you problems if you use custom field add_filter(‘wpc_terms_before_display’, ‘wpc_filter_terms_based_on_venduta_meta’, 10, 4); function wpc_filter_terms_based_on_venduta_meta($terms, $filter, $set, $urlManager) { }

// Applica al filtro "brands" o "modelli" 
if ($filter['e_name'] === 'brand' || $filter['e_name'] === 'modello') {
}
$newTerms = [];
foreach ($terms as $term) {
    // [code]
}
return $newTerms;
return $terms;

[code] complete >>>>

add_filter(‘wpc_terms_before_display’, ‘wpc_filter_terms_based_on_venduta_meta’, 10, 4); function wpc_filter_terms_based_on_venduta_meta($terms, $filter, $set, $urlManager) { }

// Applica solo ai filtri "brands" 
   if ($filter['e_name'] === 'brand' || $filter['e_name'] === 'modello') {
}
   return $terms;
$newTerms = [];
foreach ($terms as $term) {
    $args = [
        'post_type' => 'auto',
        'tax_query' => [
            [
               'taxonomy' => $filter['e_name'],
               'field' => 'term_id',
               'terms' => $term->term_id,
           ],
        ],
        'meta_query' => [
            [
               'key' => 'flag_campi_auto_auto_venduta',
                'value' => 'no',
                'compare' => '=',
            ],
        ],
        'posts_per_page' => 1,
        'fields' => 'ids',
    ];
}
$query = new WP_Query($args);
// Se ci sono post "auto" con la meta query "flag_campi_auto_auto_venduta" uguale a "no", aggiungi il termine all'array $newTerms
 if ($query->found_posts > 0) {
     $newTerms[] = $term;
 }
return $newTerms;

Auto, brand, modello, come la meta query sono naturalmente da personalizzare secondo le vostre esigenze

Having said that, having solved the filter problem, can you please help me with the range? You say it works but subsequently when you scroll it doesn’t go. Actually (having now sorted by increasing price) you can see that sa you raise the minimum price to 30,000 you will continue to see cars below that price.

I am interested in the plugin, can I filter the projects published in wordpress?

Hi cjramirezb

Thank you for your interest in Filter Everything PRO.

Yes, sure. It allows you to filter any post types including recipes, cars, real estate objects, projects and so on.

Hello! Thank you for this plugin. It’s awesome. I have a question. I’m using your plugin with Elementor. So I’m using “Posts Widjet” and “Filter Everything”. I’m wondering how can I add dropdown filters with the search field? Whis option is awailable for Checkboxes filters, but not for dropdown. But on the demo page I see this functionality

Привіт AlexStelmakh

Дякую за інтерес до плагіну Filter Everything PRO.

Надалі продовжу англійською, щоб було зрозуміло іншим користувачам.

In general here is support for PRO version only, but anyway if you want to enable search field in dropdown filter please activate in Filters -> Settings -> Experimental -> Improved dropdowns option and it will appear.

Hello, presale question. Is it possible to filter out variable products that have a variation out of stock by default? For example if you select Medium size, to only show you instock items and not out of stock. Without the use of the instock filter, by default.

Hello gronzo

Thank you for your interest in the Filter Everything PRO.

For the moment it is possible only with using filter by Stock status like here – https://demo.filtereverything.pro/example/by-stock/

I’m considering to add to the plugin checkbox that hides products with “Out of stock” variations by default, but there are risk to hide products that simultaneously have “In stock” variations.

Hello, I have your function for jumping to the anchor in the search page area:

add_filter( ‘wpc_filter_term_url’, ‘wpc_filters_url_ending’, 20 ); function wpc_filters_url_ending( $url ){ return $url . ’#mypostscontainer’; }

inserted. Unfortunately, this does not work with filters that have the “Apply Button Mode” property.

Do you have a solution for this?

Best Regards, Daniel

Hi Stepasiuk, did you miss this topic? Best regards Daniel

Hi Daniel

No, sorry. I didn’t miss the topic, but tried to find the reason of the problem and it took some time.

And I found that it is specific AJAX problem that if an URL contains hash like ”#mypostscontainer” it returns 404 error.

But there are another ways to force page to scroll to desired container when filtering is applied. Unfrotunately I can not write for you JavaScript code as it is something out from the support scope here and you have to write it by yourself or ask a developer to help you.

But from another side I can only say that to detect if the page is filtering results page you have to use function flrt_is_filter_request();

Regards.

Hi, we have a problem with redirections after switching to PRO. We have a staging site where we disabled other plugins (only woocommerce and filter everything pro stay active). When you go to category https://aleszale431.e.wpstage.net/kategoria/meskie/akcesoria-slubne-meskie/pasy-smokingowe-meskie/ L: blogvault P: c225eae0 and try to get to product you get redirected to wrong product or private policy page. We can send you our licence key if its needed, but rather do it by email :)

Cześć solinen

Thank you for using Filter Everything PRO.

Please, write your support request from the account, where you purchased the plugin.

Thank you. Regards.

Hello, We have some problems with WPML. The filters does not appear on the translated pages. On the default shop page (example.com/shop) it works. On the translated pages example.com/de/shop and /fr/shop, it does not work. We already cleared the cache with ?reset_filters_cache=true also we think CORS is active because I was able that one filter is visible. Only one.. don’t know why.. However, I created a new filter set and tried to fix but it does not work and now no filter is visible. What do we have to check? This is our dev site: https://brewmee.ch/en/shop/

Hello,

would be possible to make the SEO rules to work with the range slider? For example, we would like to set custom title and description when the price is in range 100-200 USD. Thanks for info.

In general you can change index/noindex status via custom coding and you can use function flrt_selected_filter_terms(); to detect what exactly filters were selected (your numeric or not) And also to use hook ‘wpc_seo_robots’ to change meta robots tag value on such pages that contains your numeric filter. If you are familiar with PHP you can achieve that easily, if not – please ask a developer to help you.

Thank you. Regards.

would be possible you would give us a quote for this? Thanks.

I would be glad to help you more with this, but unfortunately I have no time for such paid services. But I think you can hire a developer for example on Upwork and any WordPress experienced dev can implement such task.

I created a second Filter Set for product categories, to display on category pages. It’s not working. The Shop page filter works great. Please advise what I could be doing wrong. “Where to Filter”, is set to “Product Categories” and “Any Product Category” http://barringer2.designsbyj9.co.za/product-category/accessories/accent-stools-accessories/

I just want to add, I am using the filters widget. When I set “Where to Filter” to the specific category page it works. But not when I set it to “Any Products Category”

Okay, I finally fixed it. I replaced the widget with the short code, and it seemed to fix the issue.

Hello Crimson9

Thank you for using Filter Everything PRO.

I’m glad that you were able to solve the issue by yourself. Most of users are not so expirienced to fix it without support.

Best regards.

Hello,

I bought the pro version of the plugin, I use “Breakdance” and “Bricks” as page builder.

I have two problems: - the filters work but have no style, how to have the basic style like in your documentation? - I can’t find the filter IDs

Thanks in advance.

For info here is the demo site: https://breakdance.sitepreview.be/shop/

Hello,

Any news on this?

Hello ozaroth

Thank you for using the plugin.

In general your support period expired and if you will need support in the future, please extend your support period.

But this question is very simple so just enable Styling in Filters -> Settings -> Experimental -> “Styled checkboxes and radio buttons” and probably “Improved dropdowns”.

The description of this plugin is very misleading.

  • It states “Individual Filters Sets for pages or archives”, but this is not the case. I have created dynamic archive pages and it does not work with them.
  • It says that it also works with popular plugins including Elementor. Again this is not the case, as the dynamic pages cannot be filtered.
  • Filters any post type and possible criteria, which is not true.
  • Cannot apply filtering to dynamic pages.

It should not make such bold claims if it is not possible to do such actions.

Hello williamswebsolutions

Thank you for purchasing the plugin.

I’m sorry that you got such impression from the plugin. But I think you jumped into conclusions.

All points from your list can be resolved if you change your post type archive link through the hook ‘post_type_archive_link’. After that you will have ability to direct Filter Set to your custom archvie page.

When I claim that plugin works with archives by default it means with WordPress native archives as the plugin is WordPress plugin. And it is compatible with WordPress native pages structure.

You said about custom post type archive and this is something like exclusion from a rule.

Anyway I hope this will help you to achieve your goal.

Thank you. Regards.

Hello, I created a personalized archive page for the products (in addition to the default one with specifc queries), the filter works very well. But when I activate the ””Apply Button” mode” option, the filter no longer takes into account the wp_query of this page but rather uses that of the default archive of my site. I took a quick look in the code and I think the problem comes from this little piece of code that uses the default permalink linked to the archives of the type of post used instead of the actual link :

if( $use_apply_button ){

$base_permalink = '';
if( defined('FLRT_FILTERS_PRO') && FLRT_FILTERS_PRO ){
}
$wp_page_type = '';
$post_type    = isset( $set'post_type' ) ? $set'post_type' : 'post';
$location     = isset( $set'post_name' ) ? $set'post_name' : '';
if( isset( $set'wp_page_type'  ) ){
    $wp_page_type = $set'wp_page_type';
}
$base_permalink  = flrt_get_location_permalink( $location, $wp_page_type, $post_type );

Do you have an idea of how to fix this issues please. Or there is another way to do correctly what i want to do ? thanks in advance

Thank you Stepasyuk for your reply.

The problem is there. I already have a page that serves as an archive where I use a specific filter with all the products contained in the site. it is this page: https://mp-marketplace.fr/products/

And I now want a filter for a dynamic page that contains products specific to each seller, like this one for example : https://mp-marketplace.fr/store/test-hhe/

The problem is that I can’t use “post_type_archive_link” because it’s used in the main page : https://mp-marketplace.fr/products/

And for the parameters I put: Where to Filter? => Common Wordpress Pages => all archive pages for this post types

Alternative Rental => The same page for post as for filtered post

I used “all archives pages for this post types” because it is the only option allowing me to display this filter in a dynamic page.

I think the real question would rather be, is there a way to assign a filter to a dynamic page (created directly from code), which is not displayed in the drop-down menu of “Where to Filter ?”. Like this one https://mp-marketplace.fr/store/test-hhe/

Hello youssefe74

To place filters on dynamic created page and to make them work on such page requires some plugin’s code modifications which is not available here in the item support scope.

If this dynamic created page is not regular WordPress page like archive or singular, a plugin physicallly can’t “know” and “handle” such page. Of course you can try to add it in the “Where to filter?” via coding but it also expects that you are familiar with PHP or ask a developer to help you.

If you will have some technical questions about how to add such page in the code, I can answer on them in scope of the plugin support.

Thank you. Regards.

Hi, I purchased the fileranything PRO plugin this morning. When I enter the license key promted, the response is “Unknown error”. PLease advice. Thank you very much

please forgive me. In the meantime I helped myself and I am impressed how Filter Everything PRO is picking up my ACF from my CPT, filtering and putting the results into my Elementor page. Thks Joachim

Hi jholleitner

Thank you for using Filter Everything PRO.

I’m glad that your issue was solved and thank you for your notification about that :-)


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!

Hi! How can I order the values of the select menu options alphabetically? Please look my link https://www.automotoradelsur.cl/vehiculos/

I am using ACF

Thanks, Francisco

Hi adsautosur

You have several sorting options available in a Filter under More options section please, see example – https://prnt.sc/Tb5zxjQFvAoU

But if no one from the sorting options dropdown is good for you, you always can sort filter terms in any desired order via coding and using hook ‘wpc_terms_before_display’ – https://filtereverything.pro/resources/hooks/#terms-before-display-hook

Of course this expects to be familiar with PHP coding or ask a developer to help you with this.

Hi, i’m interested with the plugins. but before i buy, i have few question : 1. For number range filter, is it possible to customized the format of number to be more readable (ex: 1,000,000,000)? because I’ll use it for website from country with currency have higher digit like 7 to 11 digit. So it will be hard to read when the number higher.

2. in Premium version, have any widget type similar like `label list` but is for number range ? for ex : $100 – $200 [$501-$1000]

2. Can we customized the incremental number ? for example, when move the slider to right side, it will increase 10k instead increase by 1.

3. For Color swatch, is it support for custom field ? *i have custom field `color` (`red`,`yellow`,etc) – created using ACF.

thank you.

Hi runix

Thank you for your interest in Filter Everything PRO.

1. The plugin supports Templates Overriding feature and you can modify current range.php template file to display number in desired format. Also you can try to achieve this via CSS/JS if you need. Out of the box Range filter inputs shows numbers as it is configured in your browser by default.

2. I planned the feature with fixed ranges for numeric filters and they will be implemented in the plugin after some time. But for the moment this is not supported yet.

3. Yes, sure. Every numeric filter contains “Slider Step” option that allows you to set this value. You can find it under “More options” section, please see – https://prnt.sc/RF1DSoxssUze

4. Yes, sure. You can configure own custom field for color swatches. Please, see this article – https://filtereverything.pro/resources/brands-and-color-swatches/#related-hooks and about the hook ‘wpc_color_term_meta_key’

I purchased your plugin but my client wasn’t happy with the speed / load times of the results being generated so we are now looking at alternatives. With AJAX and SEO rules enabled, the results could take several seconds to load (e.g. 5-7s would be common). It’s a large(ish) site but it’s on a fast dedicated server with various caching solutions.

My client currently uses https://www.fastsimon.com, which is rapid (filters load in a fraction of a second) but it’s terrible for SEO. They’ve also tested https://www.doofinder.com for search, which is equally as fast. However, neither of these have have any capabilities to set SEO rules for filter results, which was why we purchased Filter Everything Pro to begin with.

We’ve now purchased https://products-filter.com (Husky) which is fast with their Turbo Mode (https://products-filter.com/extencion/turbo-mode) enabled but it’s still not as good as Filter Everything Pro for SEO configuration.

Are you able to provide anything like this or a solution to generate instant filter results with your plugin?

Can you please advise ?

I installed Filter Everything PRO on two test sites. I’m ready to install it on the live version of the website, but my activation key can only be used on 2 sites total. I already deleted the test sites, so I can’t deactivate the plugin on them. Is there any way to cancel the old activation key and set up a new one?

I can’t find a way to deactivate the old key. I don’t want to buy another license, I just want the old license to be disconnected from the 2 sites I no longer need.

I’ve already answered you here https://codecanyon.net/comments/29328176 Let’s contintue our conversation in that thread.

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey