Code

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Cart 15,716 sales
Recently Updated

Stepasyuk supports this item

Supported

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

8977 comments found.

hI my issue has been explained clearly in a loom link below.

https://www.loom.com/share/f9708700ebfc4fb8b941f83fd9f27303

Hello dccs52

Thank you for purchasing the plugin and for details you provided.

In general you have to check if filters appear on the end, live page, but not in Page builder edit mode. Although you provided all these details unfortunately I can’t say why filters do not appear and the fastest way is to check it from your /wp-admin. Please, send me credentials to your /wp-admin in accordance with this document I will check it.

Thank you. Regards.

Hello, I want to have the filter to display a checkbox for all “On Sale” products and another checkbox for all “Featured” products. Thanks!

Hello ZoomPoint

Please, look on this demo page for the “On Sale” filter – https://demo.filtereverything.pro/example/by-sale/

And this one for the “Featured” – https://demo.filtereverything.pro/example/by-featured/

They contain explanation, how to create them.

Thank you. Regards.

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.

Sorry, I asked this question 4 days ago, but nobody responded. I see that questions asked yesterday are being responded to by the developer, so I figured I’d ask this again in case my question was missed. Please help me with this issue.

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

Hi, I added filters to the “Indexed Filters”, and created some SEO Rules with some of those filters, but I can’t find them referenced anywhere in our sitemap.xml. We are using RankMath to generate the sitemaps.

Hi it1_webrand

Thank you for using the plugin.

In general filtering result pages are custom created pages and other plugins can’t know about them. Thus for the moment you can add them to the sitemap.xml file only manually.

From other side Filter Everything PRO will support own sitemap.xml file in the future updates, but for the moment I can’t say when exactly this will happen. I can notify you here in this comments thread about such update.

Thank you. Regards.

Hello,

I just bought your plugin.

I would like to use a filter pop-up for mobile & ipad devices. This doesn’t seem to work quite yet.

There is no menu on the mobile, and on the iPad it is loaded like the desktop. How can we fix this?

the link of my site is https://thebbqdj.com/shop/filter-accessories/

Thanks in advance!

Hello Stefanoosterbaan

Thank you for purchasing the plugin.

By default if you use WordPress theme that contains typical hooks the button that opens filter on mobile should appear automatically. Also you have to activate Pop-up for mobile in Filters -> Settings, but I think you already did it.

If you don’t see the button, you have to insert it manually with shortcode [fe_open_button]https://filtereverything.pro/resources/shortcodes/#open-button

To force Filters widget to appear on iPad like on mobile devices, please add next code in the functions.php of your active theme:
add_filter( 'wpc_mobile_width', 'my_custom_wpc_mobile_width' );
function my_custom_wpc_mobile_width( $width )
{
    $width = 1180; // new desired breakpoint in px. If you want to use it only in portrait iPad mode please change to 820
    return $width;
}

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.

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