Code

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Cart 15,684 sales
Recently Updated

Stepasyuk supports this item

Supported

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

8967 comments found.

Hi

I have create 2 filters I would like one in each page. I have selected the page in the filter but can see it in the page. https://ibb.co/gDDMpxd https://ibb.co/6vsb93X Could you help me?

Thanks advance,

BR,

Antonio

Hi Antonio,

You need to create two similar Filter Sets with the same filters and place each of them on the needed page.

If you make that page as your homepage in the WP admin dashboard setting then you need to choose common wordpress pages + homepage in the “Where to filter”

Best Regards,
- Victor

Hello

I would like to move SEO Description from bottom to the top (https://prnt.sc/dR6SDrYbdy8_). How to do that?

And another question. Could you update your plugin that we could have two SEO Description. One at the top, the other at the bottom. https://prnt.sc/DEWBJgQ_xNx1

Hi gorecwp,

Go to your page template that is used for a particular page where you place the filter widget and edit it to place the SEO description where you want to.

At the top of the image that you send, you can see the term description. If you want to show the same SEO description text from top and bottom you can use two hooks for SEO description on your page template.

Having two SEO description texts on a page can be problematic from an SEO standpoint. It can cause confusion for search engines and may not provide a clear and consistent message to users. And considered a bad practice.

Best Regards,
- Victor

I need text on top and different text at bottom, not the same. Could you implement that in your plugin?

Apologies, update to the previous answer, by default SEO rule’s description, is attached to the woocommerce_after_shop_loop hook on WooCommerce pages and to the get_the_archive_description hook on the WordPress archive pages. You can change that by rewriting the hook it is using, you can read more about it here – https://filtereverything.pro/resources/seo-rules-troubleshooting/

There is only one SEO text description, because a page with two different SEO text descriptions, can lead to confusion for search engines and may have negative effects on your website’s search engine optimization. Confuse the crawlers and make it difficult for them to determine the page’s actual content and purpose. Search engines generally prefer unique content, and having similar or multiple descriptions can negatively impact SEO.

But, if you want to create two different SEO Descriptions on your page, currently, you can only extend the plugin functionality with a custom code to add a second SEO text description. Unfortunately, we do not provide or debug the custom codes as it is out of the scope following the support policy here on CodeCanyon. If this functionality will be highly requested we are going to add it to the plugin, but at the time we are working on another highly requested feature. Adding new feature need a significant amount of time and testing efforts to make everything is working without bugs. So in the future, we can add it as well.

Best Regards,
- Victor

Hi, although a variation size of my product is not in stock it will be displayed in the filter. I thought when checking “use for variations” on the filter setting the stock status will be taken in account and variations that are out of stock wont be displayed. Is there another apporach or how do I make sure to not have variations displayed in the filter which are out of stock. Best Juilan

Hi julianw30,

Yes, you can place a filter with the stock status so the client can decide if he wants to show items that are out of stock or not.

But if you want to show only in stock items there is a code that hides all of the out of stock items – https://gist.github.com/wpserve/6bb6d1c7141f23b058a1ca726ca57372

Best Regards,
- Victor

Hi montemama,

What do you mean by “like load more products”? For filters in more options, you can turn on “More/Less” so it will work like here in this demo – https://demo.filtereverything.pro/product-category/electronics/laptops/

If that’s not what you are looking for then describe in more detail what you want to achieve.

Best Regards,
- Victor

Does this work with Metabox? I’m interested in buying but was unable to determine if it’s compatible or not based on comments from a year ago.

Hi VerticalHosts,

Thank you for your interest in the Filter Everything plugin.

Yes, the plugin is working with Metabox.

Best Regards,
- Victor

Hello! Thanks for your hard work and great plugin, I really like it, but I can’t figure out how to configure it properly. The site has a Guido theme installed that creates custom record types – listings. The list of listings is displayed on the homepage and filters are added. The list of listings for each listing displays the type and category it belongs to. The filters work, everything is fine, but if I click on a listing category or type, a new category or type page opens with no filters. Yes, it’s a different url, not the one in the “Where to filter?” field. , but what does it mean to create the same filter package for all categories and listing types?

Sorry, but I don’t understand how to hide the shortcode. In addition, as I wrote in a previous comment, when I add a shortcode to the header, the filter disappears from the sidebar. To be honest, I expected that for each set of filters a unique shortcode would be generated, or it would be possible to select the required set of filters by its name or ID

How to display the search field with the final results in the header of the site?

This is the search box in the Guido theme https://prnt.sc/W8v1oP1974-a

Theme https://themeforest.net/item/guido-directory-listing-wordpress-theme/36719791

plugin filtering does not work there, so I want to replace the search field in the Guido theme with the plugin search field https://prnt.sc/CxvupSvf3fCA

Hi diona5,

Well, you can hide it with simple CSS. Something like display none would be more than enough.

About the search box, what do you mean it is not working there? Did you try to set the filter set on the search page? Well, you can create a redirection filter with a search field then, and redirect to the needed page with products.

Would be easier to understand if you could describe the end result how and what you want to make, how the search box should work, and other details, so we can help you faster.

Best Regards.
- Victor

Hi

I have install the filter in spanish and looks great. Now I going to install in English, I go to polylang Languages -> Settings -> Custom post types and Taxonomies and click in every taxonomy but no works I go to create are filter and only have the taxonomic in spanish. https://ibb.co/129BVJ8 Could you help me? Thanks advance,

BR,

Antonio.

Hi,

I think the issue is solve. I have create other filter with the taxonomies in spanish but in the english pages are translate.

The problem I have commented in other post is I can not include the filter in each shop idiom.

Could you help me?

Thanks advance.

BR,

Antonio.

Hi 95mc,

What do you mean by “include the filter in each shop idiom” if you have a page with translations, create a filter set and place a filter set with the corresponding langue on the page and everything should work. Just if your main language page is set as the homepage in the WP Admin dashboard, then you need to choose “Where to filter” common WordPress pages + homepages, and all other filter sets with different languages to the needed pages, using page + my-page.

Best Regards,
- Victor

Greetings. First of all awesome plugin, and as a developer it is trully impressive what you did here. But I have a few questions: Is there any way to adjust the translation for chips? I would like to adjust in the following example https://toybelle.com/wp-content/uploads/2023/07/Screenshot-2023-07-06-at-20.14.15.png “Max pret 532” => “Pret maxim 532 lei”. Tried looking up with poedit but couldn’t find any translation string that matches.

And another question regarding category filters. From a SEO point of view, if I have the standard category urls and the ones from these filters, it won’t cause duplicate content issues?

Hi toybelle_com,

Thank you for choosing Filter Everything PRO.

You can modify the chips term name with the hook ’wpc_chips_term_name’

$chips_term_name = apply_filters( 'wpc_chips_term_name', $term->name, $term, $filter );

This expects that you are familiar with WordPress hooks – https://developer.wordpress.org/plugins/hooks/ or we can recommend finding a developer on platforms like Upwork to help you with the code.

Please note, that we do not provide or debug custom codes as it is out of the support policy here on CodeCanyon.

Any pages of filtering results are closed from indexing by default and there is nothing to worry about.

Best Regards,
- Victor

Thanks for the prompt help Victor, implemented the change and it works flawelssly.

Hi toybelle_com,

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!

Best Regards,
- Victor

Hi dont see filter on mobile in this url: https://www.webgrafix.h10s.eu/novinky/ on desktop its ok. Can you help me find problem? Thx.

Where i need this i am confused.

Hi montemama,

If you are using a shortcode then add one more shortcode with the mobile button which is [fe_open_button]

Best Regards,
- Victor

Hello there. I am using the PRO Version of the Filter Everything Plugin and it seems to do everything I want except I am having trouble with just a few things.

Issue 1. I am using Divi (Theme and Builder), to build a listing website. I have created a page (I am using the PRO singular page filter feature) for this example I am using the home page. I have added the plugin as a Shortcode [fe_widget]. And the “Where to filter” is set to Pages>Home, and then the only available query is selected (Property query). But when I am on the page and I try and filter I get this 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.”

I think this might be due to me using a plugin called Divi Flash (It’s just an extender plugin of Divi) It provides me with the Divi Module (CPT Grid) which is displaying the Custom Post Types on the page.

If you can please assist in resolving the error or lead me in the right direction to fix it. I am unsure how else to display the post types if I don’t use divi flash.

Issue 2. I am unsure how to correctly format the shortcode to display the plugin in a horizontal setting. Any assistance would be appreciated.

Kind Regards, Joey, RJ Media

Hi Joey,

Thank you for choosing Filter Everything PRO.

To the first issue, it’s happening if you are using AJAX, go to your filter set settings, and in the “HTML id or class of the Posts Container” specify the container of your items on that page – https://prnt.sc/BtuTnhWQ5pHs

And the second issue you can do it like that: [fe_widget horizontal=”yes” columns=”3”] More about shortcode you can read here – https://filtereverything.pro/resources/shortcodes/

Best Regards,
- Victor

Hi Victor,

Sorry for not knowing how, but how do I find the container of the items on the page? I am using inspect element and none of the classes are working.

Regards, Joey

Just use browser dev tools to check, for example here – https://prnt.sc/IHfScg3RbXBv

Best Regards,
- Victor

How do I add the filter to a post type template without widget or shortcode, just with php?

Hi wcpwouts,

Thank you for choosing Filter Everything PRO.

You can use shortcode in your template with the PHP code:

<?php echo do_shortcode('[fe_widget]'); ?>

There are no other ways how you can do it.

Best Regards,
- Victor

Yes, that works fine, thank you.

Hi wcpwouts,

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!

Best Regards,
- Victor

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.

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