Code

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Cart 15,683 sales
Recently Updated

Stepasyuk supports this item

Supported

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

8967 comments found.

Hi,

Is there option to set global filter set there will add and apply to all others filter sets? e.g. Each sub-categories willhave their own filter sets and I want to have “Brands” filter as global and will add to all other individual filter sets.

Thannks

Hi chris_yks

You can place one filter set on all category pages, and then place other filter sets on certain category pages. In order to display them all you need to place multiple widgets or shortcodes.

But there might be priority and the filter set that is placed on all pages will be changed by the certain filter set, so better to add all of the needed filters in the certain filter sets for certain pages only.

Best Regards,
- Victor

Presale Question :)

Does this plugin come with an Elementor widget for front-end filter design customizations? Edit title colors, etc … I know its page builder friendly, but I am wondering if theres a specific FilterEverything elementor widget for the facets? I know a competitor does offer this.

Waiting to hear back, Thank you!

Hi jgillaz

Thank you for your interest in the Filter Everything plugin.

You can apply your styles via CSS. There is no ability to edit filter looks with Elementor without CSS.

Best Regards,
- Victor

If you load PRO do you also need the free version?

Hi besandco

Thank you for your interest in the Filter Everything plugin.

Once you purchased the PRO version and install it you do not need the Free version.

Best Regards,
- Victor

Hi, looking for support please.

I have the Pro version. I need a simple category filter, which I have created. But I would like it to show the parent/child categories … currently everything looks like a Parent category which is excessive/overwhelming for the viewer. How do I adjust settings so it shows them as parent/child categories.

Thanks so much!

Hi xisuccess

The answer was presented in the comment thread below – https://codecanyon.net/comments/30331351

Without causing any confusion please let’s continue our conversation there.

Best Regards,
- Victor

How to I adjust a filter for categories so that it shows them nested under the proper parent category? Right now everything looks like a parent category. Thank you!

Hi xisuccess

Thank you for choosing Filter Everything PRO.

From the filter set settings, you need to choose the needed filter with categories, click “more options” and turn on the hierarchy view option for your category filter. It is working with the checkboxes only at the time.

Best Regards,
- Victor

Thank you, Victor! That worked … super appreciate your help :)

Hi xisuccess

We are glad to hear that everything is working.

Best Regards,
- Victor

I have bought the PRO plugin and installed it. Every time I try to put the Licence Key in it tells me there has been an unknown error.

Hi joemartinmd

Thank you for choosing Filter Everything PRO.

It seems that your server does not allow connection with our license server. We can activate it on our side, but we need the following things from you:

1. Credentials to your /wp-admin following this document

2. And your license key. (Not CodeCanyon purchase code)

Please, send all these via PM.

Best Regards,
- Victor

Please send the license key as well via PM, thank you.

Best Regards,
- Victor

The license is activated and everything is working well.

Best Regards,
- Victor

Hi, we currently have an issue that the filter for 1 language (NL) suddenly disappears after some time. This happens every once in a while. Strangely enough, the filter remains visible for the other 2 languages. We use WPML for the translations. The only way to fix this for the time being is to change the settings in Where to filter.

Website: https://witloft.nl/winkel/

Would like to know how we can solve this permanently.

Hi Victor, it’s only happening on this page: https://witloft.nl/winkel/ for this language. The same filter in the 2 other languages is working fine, so that is the strange thing. Even if we don’t change anything to the site or page it could disappear somehow.

Hi mastersinwordpress

Well, you have this nonstop error going on your site – https://prnt.sc/z_mEAm0UxIJc maybe it is somehow connected. And more likely there are other errors on the site that are not visible in the console.

Best Regards,
- Victor

Hi Victor, thanks. Let met get into this.

Hello

How do I indent the subcategories in the filter widget?

Category 1 – Sub Category 1 – Sub Category 2 – Sub Category 3 Category 2 – Sub Category 1 – Sub Category 2 – Sub Category 3

Hi edwyn

Thank you for choosing Filter Everything PRO.

If you mean how you can make a hierarchy view of your categories. You can choose the category filter, then click “more options” and turn on the hierarchy view. It is working only with checkboxes at the time.

Best Regards,
- Victor

It works. Thank you.

Hi Victor, as agreed I have already sent the credentials for you to test my website library archive page with filter found at /?post-type=biblioteka

Hi mstorasta

The answer was provided via Email.

Best Regards,
- Victor

Thanks, got it. But then, if I need to include a custom sorting on top of that and add a code snippet – this does not come into the final result, meaning I get the output from filter, but that ignores my sort order defined in this code that modifies default query. Sent the code sample on email yesterday.

Hi mstorasta

As previously the answer was provided via email where you shared all of the info. Let’s keep the conversation there since you provide the data that you might not want to share with others. Because answering in both places might be a bit confusing.

Best Regards,
- Victor

Hey,

Loving the plugin, but I’m having an issue with the “Categories” links.

They all have the structure of “https://batteryfiresolutions.com/product-category/blankets/”

But within the filters, the URL shows as “https://batteryfiresolutions.com/shop/product-category-blankets/”

How do I change the filters within FilterEverything to be a ”/” instead of a ”-”

I’ve tried changing the URL structures but I cant seem to figure it out.

Thanks In advance.

Adam :)

Hi Adam

Thank you for choosing Filter Everything PRO.

First of all those URL prefixes should be unique, they should not repeat any existing slugs on your site. Secondly, if you make it like you want you will have a 404 error. As WP will be confused about which plugin should work with this URL is it Woo WP or FE plugin?

In other words, there is no way to change it the way you want. Also if you already created the filter with the URL prefixes that are absolutely the same as your taxonomy, posts, attributes… slugs, you can change them from Filters -> Settings -> URL Prefixes. so you can name them like prod_cat or anything like that. If you have taxonomy slug prod-somethig then URL prefix prod-another will cause errors, but prod_another will work fine.

Best Regards,
- Victor

I’m using Shoptimizer, and I’ve set up SEO Rules for a specific category with color, but it’s not changing the title and description as I’ve specified. Can you take a look?

https://babystyle.rs/kolica-za-bebe/boja-crna/ And the title and description are from the category https://babystyle.rs/kolica-za-bebe/

https://babystyle.rs/wp-content/uploads/screencapture-babystyle-rs-wp-admin-post-php-2024-01-18-11_48_01.png

Please send the credentials to the wp-admin dashboard following this document so we can check it.

Best Regards,
- Victor

Okay, everything is done. You can take a look. Thank you.

We have checked the site and commented out this product order code from your functions.php file in the child theme – https://prnt.sc/GZYPfRFoILOQ and the SEO Rules are working, it is typical problem with such code as it is not written with the WP standards that’s why it is bit buggy and causing issues.

As to the H1 title, you can make a request to your theme support in order to get the information on what hook you can use in order to change the H1 on your page and specify it in this codem so SEO Rules can change it’s value:

if( class_exists( 'FilterEverything\Filter\Pro\PluginPro' ) ){
    $seoFrontend = \FilterEverything\Filter\Container::instance()->getSeoFrontendService();

   add_filter( 'your_theme_h1_hook_goes_here', [$seoFrontend, 'seoH1'], -5 );
}

Best Regards,
- Victor

Hi I need help with the Filter Everything Pro plugin I added an attribute for filtering “Custom Field”, can I somehow set it either in the plugin or in code to always have the defaut value of the “Custom Field” field == 2? is this possible? without the option to change it by the user on the site

Hi harryubuntuuber

You can choose that filter term and use the URL link with this plugin applied. So you can use this as your default shop page link mysite.com/shop/custom-option_2 then simply hide that filter with the CSS.

Best Regards,
- Victor

Hi, I purchased your pro plugin and I would like to make the Special Pop-up Filters Widget available also for the desktop and not just for mobile. I use Elementor and Woocommerce on my site. it’s possible? Thank you

Hi AngeloKjana

Thank you for choosing Filter Everything PRO.

You can change the breakpoint with this code, you can place it in your code snippet plugin:

add_filter( 'wpc_mobile_width', 'my_custom_wpc_mobile_width' );
function my_custom_wpc_mobile_width( $width )
{
    $width = 1920; // new desired breakpoint in px
    return $width;
}

Best Regards,
- Victor

Thanks! Where exactly should I put it? Thank you

We recommend using this plugin – https://wordpress.org/plugins/code-snippets/ just to place our code as a code snippet there without any issues.

Best Regards,
- Victor

Good afternoon. I have a pre-sale question. Tell me, please, will your plugin work with the Oxygen builder? The nuance is that Oxygen does not use the functionality of the WordPress theme, I am building site from scratch.

Hi vesd

Thank you for your interest in the Filter Everything plugin.

Yes, this should work. As long as the posts that you want to filter use WP_Query to display, our filter will filter them all.

Best Regards,
- Victor

Hi,

I have some question on setting up filters

1. For the step-by-step filtering, any documentation on setting up? and how to mark some filter as required?

2. How to show brands icon/images in filters, like in https://demo.filtereverything.pro/step-by-step-filtering/?

3. I have vehicle part custom taxonomy that in parent-child hierarchy, Year>Manufactor>Model, works like product categories and sub-categorys, how to set the filter set like images below that child drop-down options depends and filtered by parent selected? https://drive.google.com/file/d/15PYVgKviEMDLdGmcliT8saYwggEPKgWS/view?usp=drive_link

4. On your experience, how to work or config cache plugins, (e.g. WP-Rocket, LiteSpeed Cache) to work with Filter Everything plugin that can cache and speedup for each visitors but not affect each others? If A user filter with some options and the cached result will not affect others users? Each users can have their own cached filter result?

many thanks

That’s why we said to make them as separate attributes, instead of putting everything together in a category (as chield taxonomy). You can place multiple filter sets on the page now, and use the include exclude functionality to display the needed filters.

Best Regards,
- Victor

If use seperate attributes instead of using taxonomy, attribute do not runs in hierarchy, e.g. the first level select “CPU Manufactor, like Intel/AMD”, second level filter based on parent option the user selected, e.g. user selected “Inte”, then the second level dropdown only shows “i3, i5, i7, i9” and same on in thrid and 4th level in this scenario, how to achieve? thanks

Hi chris_yks

Use “AND” logic. For example, you have a product with such attributes:

CPU Manufacturer: Intel
CPU Model: Core i5
CPU Speed: 4.4 GHz
CPU Socket: LGA

Then if in “CPU Manufacturer” you are using “AND” logic you can choose intel and it will show products that have this attribute on them. Then you choose “Core i5” from the “CPU Model” filter. Now it is showing only products that have in their attributes “Inter” and “Core i5”, not “Inter” or “Core i5”.

The logic you can choose from filter set settings by clicking on the needed filter and then clicking “more options”

Best Regards,
- Victor

Hello,

I’d like to order the terms inside a filter in a custom order. I’ve seen there’s the option to sort terms by “term ID”, but I don’t know how to access nor modify this field (term ID). I’m not using the WooComerce plugin. Is there any way I can do this?

Thank you in advance,

Anna

Hi Anna

Here you can check the hook that you need to use with an small example – https://filtereverything.pro/resources/hooks/#terms-before-display-hook

Alternatively, you can try this code, it works with term names and Case sensitive (but those are all examples and you need to write your own version for it):

// FE SORT FILTER TERMS MANUALLY add_filter('wpc_terms_before_display', 'wpc_sort_terms_as_needed', 10, 2); function wpc_sort_terms_as_needed($terms, $filter) { // Define custom sorting orders for different meta keys $sortingOrders = array( 'meta_key_goes_here1' => array( 'Text1', 'Text2', '1', '10' ), 'meta_key_goes_here2' => array( '8', '12', '90', '8T', '8 T', '18T', '40T' ), // Add more meta keys and their sorting orders as needed // 'another_key' => array('term1', 'term2', 'term3'), ); // Check if the current meta key has a custom sorting order if (isset($sortingOrders[$filter['e_name']])) { $customOrder = $sortingOrders[$filter['e_name']]; // Create an associative array to store term objects $termMap = array(); // Populate the term map foreach ($terms as $term) { $termMap[$term->name] = $term; } // Sort the terms based on the custom order $sortedTerms = array(); foreach ($customOrder as $name) { if (isset($termMap[$name])) { $sortedTerms[] = $termMap[$name]; unset($termMap[$name]); } } // Add any remaining terms to the sorted array foreach ($termMap as $term) { $sortedTerms[] = $term; } return $sortedTerms; } return $terms; }


Best Regards,
- Victor

Thank you so much, it worked!

Hello, I have a problem with Filter Everything. First of all, thank you for this great plugin.

Problem: I am building a page which has several categories. There are probably 30-40 categories. I have now created individual filtersets for some categories but came to the conclusion that it is very inflexible if I want to include new keywords because I have to insert the keyword individually for all categories.

so i thought about building a super filter that is displayed on all pages and hides the empty tags.

Unfortunately, the filter only works if I select an exact page under “where to filter” and not if I leave it empty “any page page (for general search across all page pages)”.

In the filter set it also tells me this message then No WP queries matching the post type “Product” were found on the page Note: If you change the selected WP_Query on the page, please update this filter set

I don’t know how to get my filter to filter on all pages without creating a separate filter set for each page (which would be very impractical and time consuming)

Translated with DeepL.com (free version)

Hi d_a369

The option “Any page” will work if all of your pages have the same queries (basically takes the first page scans it for queries and then uses it for the rest).

Unfortunately in your case, they do not have the same queries. So at the time, the only solution is to create separate filter sets for each page.

Best Regards,
- Victor

Hello

We bought this Plugin for a client. they have it installed and we have it installed locally to test updates. Recently our local version now reports LOCKED. Can the licence key we have also be used foe a local installation?

Thanks

From the filters -> settings -> license tab you can deactivate the license and activate it on another site.

Or with buying an additional license, so you will have the ability to activate it on 4 sites.

Best Regards,
- Victor

Can’t do that as staging site no lonher exists. Do you have access to manually deactivate sites? if so it’s the domain with ‘demo’ in the name.

Hi redactuk

You can send via PM your lincse key and we can deactivate it across all of the sites and you can activate it on the needed ones only. PM is here – https://codecanyon.net/user/fe_support

Best Regards,
- Victor

Dear Support! I encountered the Unknown Error issue on licence activation. I’ve sent you the information in PM.

Thanks!

Hi Victor, licence key also sent via PM. Thanks!

The license is activated and everything is working well.

Best Regards,
- Victor

Thank you!

Hi,

How to add filter for stock status, in stock/on Backorder/Out of Stock in custom filter set? many thanks

Hi chris_yks

You can check it all from the right side of the filter in the dropdown – https://prnt.sc/n6Pe3NgGfmeL

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