Code

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Cart 16,181 sales
Recently Updated

Stepasyuk supports this item

Supported

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

9136 comments found.

Hi. I added define( ‘FLRT_PERMALINKS_ENABLED’, false ); to functions.php to show filters in URL as parameters instead of pretty permalinks. However, now I get these error warnings in my log every couple of seconds:

2023/01/23 14:06:22 [error] 76671#76671: *1157653 FastCGI sent in stderr: “PHP message: PHP Warning: Constant FLRT_PERMALINKS_ENABLED already defined in /www/removed/public/wp-content/plugins/filter-everything-pro/src/WpManager.php on line 25PHP message: PHP Warning: Undefined variable $re_emp in /www/removed/public/wp-content/themes/removed/inc/shortcodes/shortcodes.php on line 332PHP message: PHP Warning: Attempt to read property “max_num_pages” on null in /www/removed/public/wp-content/themes/removed/inc/shortcodes/shortcodes.php on line 332” while reading response header from upstream, client: removed, server: removed, request: “GET /eiendom/removed/ HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php8.1-fpm-removed.sock:”, host: “removed:35062”

Is there better way of switching to url params instead of permalinks that I don’t see? It was not very good that upgrading to the paid version changed the way the links were generated with no simple way to change it back.

Besides this, great plugin – thanks!

Hi developersaptum

Thank you for using Filter Everything PRO.

I agree with you that it would be better to add separate option to the plugin to enable/disable permalinks. I already added this to my development schedule.

Thank you for your report, I already fixed this issue for the next plugin version. Please, update it when the new version will be available. Optionally you can send me message via PM and I will send you link to the current Beta version with already fixed this issue. But please, let me know here in comments about your message.

Excellent. Thank you very much! Looking forward to the version update.

Hello: I’ve an issue using Polylang and Custom Post Types with Advanced Custom Fields.

I have created the post type and all the fields in three languages and all works fine. The problem appears when I open the filter p.e. in English. I can see and filter the fields in all languages, but I would only see the fields in English.

I’m using ACF PRO that are compatible with PolyLang.

Do you know which will be the problem?

Thanks! Sergio

Hi Sergio

I’m not sure. But when I returned back my changes there were no any changes on your page – https://atlas.desarrollo.eu/servicios/ Still “No posts were found.”

But I checked and it seems you have also these pages:
- https://atlas.desarrollo.eu/fr/inicio-francais/services/
- https://atlas.desarrollo.eu/es/servicios/
- https://atlas.desarrollo.eu/en/inicio-english/our-services/

Maybe this will help you.

Regarding Polylang PRO compatibility – I’m in connection with Polylang developer and I will check this moment with them to make final solution for this. Because on all other sites it works, on your it requires specific code.

Hello again

Do you have any information from Polylang developers?

Thanks! Sergio

Hi Sergio

We need from you the license key of your Polylang PRO plugin https://prnt.sc/fFkuQ4-G38v9 to be available to create request to their support here – https://polylang.pro/support/

Please, send us this license key and we will proceed with this issue with Polylang support.

Thank you. Regards.

Thanks for the great plugin. I have two questions:

1. will there be a way to filter by date range in conjunction with ACF?

2. is there a possibility to customize the default texts in the dropdowns?

Hello designlovr

Thank you for using the plugin.

1. Yes, I have plans to add support of the filter by date and to improved support of all possible ACF fields. I think this will happen up to 3 months.

2. Yes, sure. You have several ways to change the string - Select %s - to your own:
1) To translate it with the Loco translate plugin or other software if you use non-English language on your site.
2) To use template 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.

Hello I want to get refund because filter not working as I hoped. The Filter filters products with out of stock of variations.

Hello diskas007

I’m sorry that you were not satisfied with the plugin.

You always can create refund request via the form in your account here on CodeCanyon.

But you also can create filter by Stock status, enable under More options section checkbox “Use for Variations” and this filter will allow to see only products that have at lease one “In stock” variation with already selected filters (they also should have enabled “Use for Variations” checkbox). Please, try to do this and let me know about the result.

Thank you.

For example now:

http://demo.brandmedia.lt/shop/tag-36/sdfsdfsdf-instock/

I select 36 size (it is out of stock) and select „in stock“ and still showing 36 size..

It’s the bug..

Hello diskas007

You selected wrong WP_Query for your Filter Set and that’s why you got incorrect filtering results. In fact you tried to filter something other than your products.

I changed it to the right WP_Query – https://prnt.sc/TSjwbcOaNICg and now it works as expected http://demo.brandmedia.lt/shop/tag-36/sdfsdfsdf-instock/

FYI – Please, do not publish credentials in the comments section as it is publicily visible and everyone can get access to your site dashboard.

Thank you. Regards.

Hi, We found that there’re over 25,000 Noindex and Nofollow pages generating through the product filter. How can I fix this?

Hi hbsidigital

Thank you for using Filter Everything PRO.

I think there would be a big problem if all them were indexed and Google could give your site penalty due to serach spam and duplicates. But all these pages are closed from indexing by default and there should not be any problems with them.

I’m not sure what do you mean “to fix this”. You don’t need to close them from indexing because they already are closed.

Can I index some selected filters while keeping rest with no follow?

Sure. Just create the SEO Rule for desired filters.

Hi, when I set “show hierarchy” then the items are collapsed by default. I would really like them to be extended by default. Is there a way to achieve that?

Also: After installation there is no widget for FilterEverything in Elementor. Am I doing something wrong?

Hi dufflio

Thank you for purchasing the plugin.

1. Yes, sure. You can make hierarchy filter opened by default. Please, use this code example and change it in accordance with your Filter ID(s)
add_filter( 'wpc_hierarchy_opened', 'my_hierarchy_filters_opened_by_default' );
function my_hierarchy_filters_opened_by_default( $filters_opened_by_default ) {
    $new_opened_by_default = [
        3250, // Filter ID
        1423, // Filter ID
    ];
    return array_merge( $filters_opened_by_default, $new_opened_by_default );
}

2. It is known problem, when you can not find any WordPress widget in Elementor search field. Please, scroll down to the bottom, find “WordPress” section and select desired widget and place it on your page.

Thank you :)

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!

Hello, I need help because when I but the Post Query in an array (to include/exclude some categories) the plugin is totally wrecked and doesn’t work at all…

Hello yannphilippe

If you modified your Posts Query please, try to re-save Filter Set again after you made such changes. Also please note that Filter Everything attach filtering parameters through the hook ‘pre_get_posts’ with priority 9999. If you modified your Posts Query after Filter Everything does it you could override filtering at all.

I was hoping you can help me with the following 3 issues. I have explained these in this short video here https://youtu.be/XVXsVodvU9E: 1) The pagination doesn’t work properly. Filter is applied correctly on the page I am on but when I select next page all the results are shown. It seems my theme overrides the query. I am using Impreza theme 2) I am unable to apply search query with the filters but again it seems the theme search overrides filters 3) For mobile view, I would like to show the popup filter like you have in your demo but it seems I can’t implement that too (could be theme issues again) I have emailed you userid and password for you to look into. Hope you can help please.

Thank you for replying. Unfortunately it doesn’t resolve the issue. I turned off all the AJAX options in Impreza theme. Please see the screenshot here: https://prnt.sc/tkxk1iZ_T0GM I also turned off AJAX Search Lite plugin but it still doesn’t resolve item 1. Regarding the CSS file, all the permissions are given from the server end please see here: https://prnt.sc/CO88-dL5pHm- It still doesn’t solve the issue. Was wondering what else can we do to fix this? Is it the Impreza theme that the plugin doesn’t work with? Really appreciate your help.

Can I get a refund on this purchase please?

Hello irfan250

I’m sorry that you were not able to configure the plugin.

As I see you already created refund request. It will be processed as soon as possible.

Hi, Is it possible to use this plugin outside of woo-commerce ? In a simple blog.

Hi gioska

Thank you for your interest in Filter Everything PRO.

Yes, sure. It filters any post types, not only WooCommerce products. Posts, pages, recipes, real estate objects, cars – whatever you can create with WordPress.

I am using a custom page filter for blog post categories. I have a long list of categories and when using the filter it is cutting off the long list and creating a scroller to see the remaining items. How can I remove the scroller so that I can see the full list without any items being hidden?

I secondly have a question about how the filters show on mobile devices. The issue with the scroller above is also impacting the ability to navigate a page from a mobile device? How can I get a collapsible accordion view of my filers so that when someone views on mobile devices they do not get bombarded with these long lists of filters?

I am using Elementor to make the page adjustments but there are not settings for these issues.

Hello 0xmichaeld

Thank you for using Filter Everything PRO.

1. Sure, you can remove scrollbar. Just change filter maximum height on the Filters -> Settings page. Option is called “Filter Container max height, px” Set it for example 1000.

2. You can use several options for that. In the filter under More options section you have option “Folding” that makes fitler collapsible and also the option “More/Less” that allow you to show some count of terms and hide other behind toggler “Show more”

Hi, I bought the plug-in but I would like to keep the filtered urls with a parameter ”?” and not the clean url. How can I do that ? It’s easier to handle with my robots.txt

Hi jsardin

Thank you for purchasing the plugin.

Please, add to the functions.php file of your active theme next code string:
define( 'FLRT_PERMALINKS_ENABLED', false );

and this will convert your URLs from permalinks to GET-style URLs.

Make Price range type foldable. Is there a way since it is not available in the options for this type?

Hello chukosport

By default this option is hidden for Range filters. But you can use a trick and make it visible and enable. Please, see this screenshot - https://prnt.sc/JS3DHlEsH2Bo

Hello Stepasyuk,

We have a Divi builder in place, and we want the filter function to work on a custom shop page.

_I have seen your comment on Wordpress support regarding the shortcode and inserting it directly onto the builder. The builder was showing, however, it not properly filtering the products. It is merely there and is not filtering.

_I have also tried adding the shortcode on a sidebar, and calling it via the sidebar. It remained empty and only the Filter Everything Sort can be seen (yes, I added both the FE and FE sort on the sidebar)

_I have tried switching the themes, but the FE sort is only working. Not the FE itself.

I am merely filtering the price and categories to see if it’s working. To no avail and luck. Did I missed something? I followed the documentation to the T.

Hello webu_hostu

Thank you for purchasing the plugin.

Usually the reason of such behaviour is wrong selected WP_Query in the “And what to filter?” field. Please, try to experiment with different WP_Queries in that field, this should help you.

Hello

I can’t set up the filters widget on the home page. Nothing is displayed. In the config the message is “No WP Queries matched to the post type “Produit” found on the page”. I don’t really know how to configure the filter. I added the different fields for the search. I would like to put the filter on the home page and have it redirect to found products. Example: www.speedy.fr

Can you help me with setup and configuration?

My website in developement : https://beta.speedy.nc

Best regards Herve

Hello guev

Thank you for purchasing the plugin.

1. You have to specify your page with products in the “Where to filter?” field. For example “Common WordPress pages” -> “Shop page”

2. You have to select “Product query” or “Main Query. Product query” in the “And what to fitler?” field after selection the page in item 1.

3. After that you have to enable “Apply button” mode and select in the “Alternative Location” values “Common WordPress pages” -> “Homepage” (or Pages -> Home page)

4. You have to insert Filters widget in the widgets area located on your Homepage.

It is enough to make it work as you need.

Hello is the plugin compatible with wordpress version 6.1.1 and woocommerce version 7.3. If not will there be a plugin update ?

thanks

Hello Widly3

Yes, sure. Filter Everything PRO/Free is compatible with latest WordPress and WooCommerce versions. I’m wondering, why did you ask about this? Do you have any reason to think that it is not compatible? Please, let me know.

Cześć.

I have ajax disabled. is it possible to enable it with a hook? so i can choose when to use ajax or not

Hi eaonflux

Sure. You can use this code example:
// For example you need to enable it on the page with ID 123
if( is_page( 123 ) ){
        add_filter( 'wpc_get_option', 'wpc_enable_ajax', 10, 2 );
    }
function wpc_enable_ajax( $option, $key ){
    if( $key === 'enable_ajax' ){
        return 'on';
    }
    return $option;
}

Hi, i created a filter set for Post Type to filter: products” Added some filters related to Woocommerce. In the settings: Where to filter? – page – a page where i want to show this specific filterset. And what to filter? – No WP Queries matched to the post type “Product” found on the page

but i do not see any thing on that page.

Thats because the plugin does not find any WP query related to products.

so i created a dedicate page template and added the code which is used for product archives. except the function woocommerce_product_loop() is returning false so i dont know excatly how to change that page in a woocommerce query

nevermind i manage to get it to work by adding a custom product query

Hi eaonflux.

It’s great. I’m glad that your problem is already solved. Thank you for the notice about that :-)

Hi! How can I enable the filter in Categories and product tag pages at the same time? https://prnt.sc/Mgsmiel9h06R

Привіт stasonua0

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

You have two options – either to create separate Filter Set with the same filters list and point it to your Tags archive pages. Or you can point your single Filter Set to “Common WordPress pages” -> “All archive pages for this Post Type” and it will be available on all your post archive pages including Category and Tag archives. The last option is possible if you do not use separate WP_Queries on your Category and Tag archives.

Hi, Have purchased your Filter Everything PRO last few months. I have faced some issue that i’m not sure how can i solve it.

1. I try to create Price Range Filter. But the range unable to drag or move and just refresh the page. I’m not sure is there anything i written wrong or choose wrong. Here are the info i enter/choose: Filter by: Custom Field Numeric Meta Key: pricing-product Filter Label: Price Range Prefix for URL: fprice View in Widget: Range Use for Variations: Empty Enable Range Slider: yes Slider Step: 15 Parent Filter: Empty Tooltip: Empty Show in Chips: Yes

2. It is possible to have Price Range filter at Search result page that manually create by using Elementor Pro? I saw there have elements “Filter Everything – Sorting” and so on. However, when i try to use them. They are not working. I’m not sure it is something i missed out? Can you send me a guide/steps from start till end or the process how to create it?

Appreciate and hope to get your helps as soon as possible.

Thank you.

Hi,

Thank you for reply. I have checked what you mention but not sure which u mean to change. Can you specific to me where i need to change to have that ‘replace your Search widget from common to Search widget for products and it will redirect visitors to the correct search results page.’

Do you mean at “Where to filter?” ? if yes, i didnt found ‘search widget for products’. And realize the link u send is similar to shop page but not the search page i create. Kindly send guidance on how or where to make changes to make it works?

Thank you.

Hi JessyLim.

In general it is not Filter Everything plugin related question. I mean that you used regular WordPress search widget that show you search results for all post types, but from your Filter Set settings I see that you expected to filter search results for Products only.

WordPress contains native Search widget that searches by all post types. And if you use WooCommerce it contains separate widget called Product Search. It seems you have to use Product Search widget instead of the regular WordPress Search widget. Both widgets display the form with the search field, where visitors type a search keyword.

Hi,

Alright. Thanks for your help. The problem solve now.

Hi, my license key doesn’t work.

Hi, Packconsultancy

Thank you for using 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.

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