Code

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Cart 15,711 sales
Recently Updated

Stepasyuk supports this item

Supported

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

8976 comments found.

Hello, I had just setup the pro version looking for the option to use it with Elementor. However, when I’m in Elementor the widget can’t be found.

Hi nbgavitus,

Thank you for choosing Filter Everything PRO.

The issue with finding the widget in Elementor is that its search bar is only working with Elementor widgets, so when you type “filter everything” it won’t show any results. You can find our widget by scrolling down to the WORDPRESS – https://prnt.sc/FPgVJhXM2S2N section where you can see our widget – https://prnt.sc/tn4URR9NgeaL

Best Regards,
- Victor

Hello! Quick question regarding the AJAX response when filtering. If you select any filter, the response includes the whole HTML for the full page, instead of just the filtered posts. Is this how it is supposed to work?

I imagine you are doing a sort of diff on it so that it seems like it just refreshed the contents, but, shouldn’t it only receive the filtered contents, so that they can be appended to the page, instead of fetching the full page? Thanks so much!

Thank you for your response, Victor. Are you saying that you are querying the full page from WordPress then? The reason I ask is that the response can take upwards of 3 seconds to come back, and that is most likely because it has to process the loading of the whole page (including some PHP conditions that may or may not be needed if we were only receiving the posts in the response).

- Armando J.

Hi Armando,

No, it doesn’t have anything in common with such a long response time. As we have for example such clients sites that are using our filters for more than 6k products and everything is working fast for example here – https://chaneysjewelry.com/shop/category-fashion-jewelry/

Everything is based on the plugin set that you are using for your site and server hardware, plus database optimizations and in general site optimizations. It is not triggering anything else just returning the HTML of a few kilobytes.

Best Regards.
- Victor

Thank you, Victor! I understand. If those sites are fast to start with, then loading the page’s HTML will be fast as well. If the site is slow (because of plugins, etc) then it will be slow to get the HTML back. I don’t think your plugin is the issue, I was just trying to understand if you were querying the page or not, now I know.

Thank you in advance for your help! We have been using this plugin for several months without any problems. We have 1 filter set (Products) containing 11 Filters. Added another today, assigned it to an attribute, gave it a proper title, proper prefix and assigned view as “checkbox”. The same process as we have completed previously. When clicking update, it appears to save and the filter is still visible. However, when navigating away/back to the plugin settings – the new filter is no longer visible. I checked the database, and it does not appear. For testing, we have tried downgrading WP to 6.0, installing newest version of Filter Everything Pro as well as checking for conflicts against other plugins to no avail. Additionally, tested several versions of PHP – the newest being 8.0.29. Is there something that might be causing the filter not to save?

Hi jmoseman,

Everything is simple you just need to activate the plugin license in order to add new filters or update them. If you go to the filter set and hit update you’ll see this error – https://prnt.sc/PfxmWeogAnQ0 in order to make it work please activate the license.

Best Regards,
- Victor

Oh wow. Figures it would be something simple like that. Question – for this client/website we have a staging domain for it. Same project/domain otherwise for testing before pushing to production. Would we need another license in order for that to work? Or deactivate / activate as needed? Thoughts? Don’t mind buying another license…just looking for the optimal solution.

Hi jmoseman,

By default you can use the license key on 2 sites, one is for dev, and the second on production. If you want to use it on another site you can deactivate it on an unneeded site and use the license on your current one.

If you don’t remember or don’t have access to the old domain where the plugin was activated, you can send via PM your license key so we can deactivate it on our side from all of the domain names. And you can manually activate it on the needed sites.

Best Regards.
- Victor

Is it possible to select several items simultaneously and not filter until the apply button is clicked?

Hi elmondelatele,

You can turn on the “Apply Button” mode in the filter set settings. But after choosing each filter option they should be updated to show the correct and updated information, then click Apply and the filters will be applied to the items on the page.

Choose simultaneously more than one option need custom coding and checkings in order to prevent errors.

Best Regards,
- Victor

Hi! Quick question. If I use check boxes for category with hierarchy is it possible that first category show products that are in subcategories? At this moment first main category don’t show products when filtered. Like woocommerce shows products from last category in all tree.

Hi Dotitlv,

Sure but you need to do it correctly, add all of the products to the main category, in our example, it is Electronics – https://prnt.sc/VHoO94-c8Txj Then separate those products for each subcategory.

Best Regards.
- Victor

Hi Stepasyuk,

I have a question for you. I use your plugin to display product filters based on woocommerce product terms. I have a filter ‘color’ and a filter ‘size’.

Above the filters, i want to display a general title: ‘filters’. I can do this with simple html of course, but in some cases, there are no filters available (some categories contain products that don’t have color or size terms). How can i hide the title in that case?

Is there a hook or function available for this? This seems very simple to me but i just cant figure it out.

thank you!

Kees

Hi Kees,

Thank you for choosing Filter Everything PRO.

Here is the thing, if you have filters and they all have titles you can turn on this option – https://prnt.sc/w5oq6qCGdK8a so if the filter won’t contain any terms or they will be (0) it will be completely hidden with it’s title.

If you want to create a custom title for all of the filters and depending on whether certain categories have such attributes or not hide them or show them, then you need to write a custom code with such logic.

Please note, that we don’t provide or debug custom codes as it is out of the scope of support policy here on CodeCanyon.

Best Regards.
- Victor

Hi Victor,

Hm that is kinda what I expected. I think it would be great to have a function like this:

<?php if( filters_are_available() ){ // custom content } ?>

This makes it easy to add some content like a title and description above the filters, that hides when no filters are available.

Maybe you can add this in the future.

Thanks!

Thank you for the idea – we’ll add it to the list to implement in the future. We will let you know in this comment thread when this feature is going to be added.

Best Regards.
- Victor

Hi, is it possible to force a category to be selected by default?

Thanks for the reply Victor. I do not need redirection to another page since users will directly visiting the homepage which is the main shop page. Is there a way to force “on-sale-yes” when they visit “https://demo.filtereverything.pro/shop/” to “https://demo.filtereverything.pro/shop/on-sale-yes”. The website is going into loop when I try this.

I’m able to achieve this with redirection plugin but I would prefer to do it via .htaccess to avoid additional plugin

Hi amith458,

You can try to do it with .htaccess writing rule something like:

RewriteEngine On 
RewriteRule ^$ /onsale-yes/ [R=301,L]

Please note that this is just an example and not a ready solution. You need to create the rule for your own needs.

Best Regards,
- Victor

Hi

I have buy and install the plugin and create a price filter but in “view en witchet” the range is off. Could you help me? Thanks advance,

BR,

Antonio

Hi Victor,

Yes we have many product and prices we are restyling a old website and not is in test mode.

https://40687155.servicio-online.net/tienda https://ibb.co/9bWBMKG

Thanks,

BR,

Antonio

The price filter should be created like this – https://prnt.sc/zKuuSEwosEEr _price is a standart meta key for price in WooCommerce.

Best Regards.
- Victor

Great! Many thanks.

BR,

Antonio.

Hello. I have a Porto theme. H1 doesn’t work, everything else works fine. How to solve this?

In the topic below, you mentioned that your plugin is compatible with the Porto theme. https://codecanyon.net/item/filter-everything-wordpress-woocommerce-filter/31634508/comments?page=94&filter=all#comment_28412952

Hi gorecwp,

Thank you for choosing Filter Everything PRO.

Displaying SEO entities depends on the hooks your active theme uses. If it doesn’t use standard WordPress theme hooks some entities may not be displayed (as it is in your case). We can only provide you with a list of hooks that are used for certain SEO entities:

// For SEO title
add_filter( 'wp_title', array( $this, 'wpTitle' ), 15 ); 
// For the Meta description
add_action( 'wp_head', array( $this, 'filtersWpHead' ), 1 );
// For H1 title one of these hooks
add_filter( 'woocommerce_page_title', array( $this, 'seoH1'), -5 );
add_filter( 'get_the_archive_title', array( $this, 'seoH1'), -5 );
add_filter( 'post_type_archive_title', [$this, 'seoH1'], -5 );
add_filter( 'elementor/utils/get_the_archive_title', [$this, 'seoH1'], -5 );

If some of them are not displayed on your site it means you have to check if your theme uses these hooks. And write the code for your hooks.

Here is an example of how you can do it (it was made for the single_term_title hook):

add_action('wp_head', 'wpc_add_filters_seo_h1');
function wpc_add_filters_seo_h1(){
    if( class_exists( 'FilterEverything\Filter\Container' ) ){
        $seoFrontEnd = FilterEverything\Filter\Container::instance()->getSeoFrontendService();
        add_filter( 'single_term_title', [ $seoFrontEnd, 'seoH1' ] );
    }
}

Best Regards.
- Victor

Thanks.

Hi, thank you for the great plugin. I am using bricks loop and all filtering there is working great (https://inparfum.dewelloop.com/obchod/) but if I go to category page (https://inparfum.dewelloop.com/kategoria-produktu/pre-muza/) proper category is checked by default but if I click on other filter the products are not updating anymore. Is there any special practice I need to follow? I turned off AJAX and tried all query options but no luck so far. Thank you so much

Hi MichalGazdik,

Thank you for choosing Filter Everything PRO.

The thing is that the first link and the second as well are not filtering, and there can be a couple of reasons why, caching that cache absolutely everything and creating an issue to work with WP_Query. Plugins that make a copy of the WP_Query and use it to show products on the page, in that case again making issues to work with the needed query.

Try to turn off 50% of the plugins and update the filter set each time to test if everything is working, if it didn’t help turn off more plugins by updating the filter set and testing it until you find the plugin that brings issues to workability to the plugin.

Best Regards.
- Victor

Hello again, on https://funky-monkey.be/winkel/categorie-meisjes/maat-104/ there should be 127 results (indicated correctly on the page) but only 29 are shown. What can be the cause of this?

You can configure cron on the server, which will periodically open the site with the cache reset option in the URL. Or you can add this behavior in the importing code, so right after it’s finished, it should open a site with the cache reset option in the URL.

Best Regards,
- Victor

Can’t we do this with a function? We have an action available especially for such events.

Hi taggbh,

Good news, yes you can. And here is an example of the code of how you can do it:

if ( class_exists( '\FilterEverything\Filter\Plugin' ) ) {
    $fe = new \FilterEverything\Filter\Plugin();
    $fe->resetTransitions();
}

Best Regards,
- Victor

Hey, so i have set up everything, but the filter menu does not get shown on the page it should. What do i need to do? Google drive pictures for example: https://drive.google.com/drive/folders/19Sike8R-IDg72EE6jE1nqhYWizUN6tHW?usp=sharing The page name is http://cannagarpresse.de/amada/ (test building site)

Hi lukasj7,

Can you please remove the permission to watch the screenshot that you made so we can check it?

Best Regards.
- Victor

Hi lukasj7,

Does the page have any widgets that can display the filter set? or did you use the filter widget shortcode to display it? If not, try to add a shortcode on the needed page: [fe_widget]

More about shortcodes you can read here – https://filtereverything.pro/resources/shortcodes/

Best Regards,
- Victor

Hello,

I have a question before buying the PRO version. Is it possible to put a step-by-step filter on the homepage and then when I click Apply, that we get to the shop page?

I need to get something like this done, like on this website: https://www.elektromotor.nl/. You can see 4 steps right below the picture here. During these steps, you can set filters and eventually the desired product comes out.

I hope this is possible with your plug-in.

Kind regards, Michel Rikkert

Hi rockdesignnl,

Thank you for your interest in the Filter Everything plugin.

You can make a step-by-step filter like in this demo – https://demo.filtereverything.pro/step-by-step-filtering/ just turn on the apply button mode for redirection to the shop page.

If you want to create something close like on the page you provided the link to us, in that case, you need to use custom coding and styling by changing the filter templates.

Best Regards.
- Victor

where can i find older versions for download of the plugin?

Hi wimb48,

The free versions you can find any version here – https://wordpress.org/plugins/filter-everything/advanced/

If you want an older version of PRO version, by your request, we can provide a specific version.

Best Regards.
- Victor

Thanks Victor, we had problems with the PRO version 7.14. It did not filter anymore. So we wanted to try version 7.11 (Pro)

Well if the filter isn’t working correctly the older version of it barely can solve the issues. But, please send a message via PM so we can send you a link for the needed version there.

Best Regards.
- Victor

Hi there,

I’m working with the Wordpress Theme Pro which includes the pagebuilder Cornerstone. I need to know if your plugin Filter everything will work with Cornerstone?

Thanks for your reply!

Hi wzaneta,

Thank you for your interest in the Filter Everything plugin.

Yeah, it should work absolutely great, as long as the products/items/posts and any other things that you want to filter are displayed by the WP_Query.

Best Regards.
- Victor

Hello

I’m using this plugin for my website product page side bar. And here’s the sample url: https://eyeconzmedia.com/ideali2/product-category/appliances/cooker-hoods/

Yet after I click apply button, there’s a warning box says’it appears that this page does not contain a container with the specified<HTML id or class of the Posts Container>’ (screenshot as the dropbox link: https://www.dropbox.com/scl/fi/djywll1rhd3jvn2fpm98o/warning.png?rlkey=c85gacwxmq36lulqxbgmmc00m&dl=0)

How should I solve this issue?

Hi eyethalics,

Thank you for choosing Filter Everything PRO.

It’s even hard to place a cursor on the apply button because this menu for some reason is appearing – https://prnt.sc/Xjdeu22i43IC

But to fix your problem you need to specify here – https://prnt.sc/wT0ACT4BuDLM the class or id of your products container.

Best Regards.
- Victor

Hi Victor, thank you for your reply. Based on my website, is it possible to help us find what class or id should I put in? I tried several class but not working

Hi eyethalics,

Try to use #main but we would recommend giving a specific id tag to your product container element.

Best Regards.
- Victor

Hi i set up filters for products stock status. But i want hide out of stock in the filter selection becasue this products doesnt show at my woocomerce catalog. Its ulles to show 0 product to filter. If my product is out of stock desapire from product catalog.

Hi RelianceFoundry,

You can either exclude – https://prnt.sc/oEXzfD65oivV or hide empty terms that have (0) in all filters – https://prnt.sc/m-F-_Da36Jcu

Best Regards.
- Victor

Hello

I have the problem that the button to show the filter in the mobile version is displayed on all pages of the website whether they contain filters or not. To check it you have to visit the website with a mobile device.

Here you can check it: https://is.gd/yV5yNd

The filter is configured like this. Apply filtering if page is: Common Wordpress pages – All archive pages for this Post Type

How can I avoid this?

Hi xaifu,

Thank you for choosing Filter Everything PRO.

You need to go to Filters -> Settings -> Experimental -> and enable this option – https://prnt.sc/xkB1dOFQzMPN and simply place the button on the needed page with a shortcode – [fe_open_button] more about shortcodes you can read here – https://filtereverything.pro/resources/shortcodes/

Best Regards.
- Victor

I can’t find a way to change the color of the mobile filter open button. I also tried with different css codes but nothing

Hi riccardop18,

Thank you for choosing Filter Everything PRO.

While adding styles keep in mind the CSS Specificity, so the styles won’t be ignored. You can read more about it here – https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity

Best Regards.
- Victor

Hello,

We are looking into your plugin and I have few quesitons

1. I was wondering if the range filter could be different than price? for example our products have strenght in percentages (10%, 15%, 24%) and we would like to know if we could use the range filter /slider/ but instead of sorting prices we can sort the strenght instead?

2. Our products have different avaialability – available now, avaialable within 5-7 days and not avaialable – is it possible to set up that type of filter too?

3. Also we are looking for example let say the customer filter by strenght 10% and the products that are showing we would like to show them to the customer by their avaialability of course first will pop up products available immediately then the ones available within 5-7 days and on the last place not available products

4. We have extracts and flowers, if the customer choose from the drop down exracts we want to show him products in mg within the mg range/slide filter, but if the customer choose flower we want to show him percentages within the percentage range/slide filter, is that achievable?

Thanks

Hi lorencosmith,

Thank you for your interest in the Filter Everything plugin.

1. As long as it is just a numeric custom field with values 10, 15, 24 and so on it will work, but if it is a product attribute won’t work as a range slider as they all have their own slug.
2. As long as it is a taxonomy or custom field or attribute it should work. If it is just some type of description then it won’t work. It all depends on how it is implemented.
3. Such sorting has to be done with custom coding, there is no such functionality out-of-the-box.
4. Such functionality with changing the range sliders depending on the chosen option is also only can be reached by custom coding.

Best Regards.
- Victor

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