Code

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Cart 15,676 sales
Recently Updated

Stepasyuk supports this item

Supported

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

8960 comments found.

Hi Victor

Thank you very much for the great plugin. I have read in some comments that a dropdown with multiple selection is being planned. Can you tell me what the status of this is? Is this already possible?

Thanks, Philipp

Hi Philipp

You can try to use this hook

function flrt_folding_opened() {
    return apply_filters( 'wpc_folding_opened', [] );
}

To make a code to keep them all closed no matter what without remembering the status.

Best Regards,
- Victor

Hi Victor

I am not able to save the snipped in my functions.php. I get the following message: Cannot redeclare flrt_folding_opened() (previously declared in wp-content/plugins/filter-everything-pro/src/wpc-default-hooks.php:314)

Thanks, Philipp

Hi Philipp

This is the hook “wpc_folding_opened” What we send you is a function from the plugin so you can see it fully. This is not a code to make them all closed or open.

What you need to do is write a custom code with the needed logic and apply it on this hook wpc_folding_opened to make it work as you need.

Best Regards,
- Victor

Hi,

I have another question regarding redirect filters. When I select one of the attributes, it starts showing the chips on top. However, on your sample site they don’t show up. How do I get them to hide?

Hi adelianbrands

If you are using the filter widget there is an option to turn it off, you can find instructions here – https://filtereverything.pro/resources/filters-widget/

Also, in the filters -> settings -> General -> there is this field with the hooks on which chips are applied to be displayed – https://prnt.sc/wUrPTSTVOABD

Best Regards,
- Victor

Hi,

Thanks! I now changed it to Widgets and it started working as I want.

Hi adelianbrands

We are happy to hear that it is working as it should now.

Best Regards,
- Victor

Hi

How are u ?

Where can I find License Key ? I already bought the program

Hi zhenekpo

Thank you for choosing Filter Everything PRO.

In order to get the license key, please follow those instructions - https://filtereverything.pro/resources/license-key-issues/#how_to_get_the_license_key please use the browser in incognito mode during this procedure.

Best Regards,
- Victor

NOVICE HERE! When upgrading to the pro, I hoped to get a shortcode and/or module for the PRODUCT SEARCH feature.

I’m using the DIVI builder and would like to add the search bar to the top navigation area for a quicker search option. How would I go about doing this???

Hi leakmarkllc

Thank you for choosing Filter Everything PRO.

The search field works the same as other filters, it looks for the products that are displayed on the page where the filter set is applied to.

Let’s say, you have a shop page with the filter set applied on it. The search filter that is provided by the plugin will only search for posts on that page. So displaying it alone in the header won’t work like a search bar that will redirect you to the search page template.

You can use the default Woo “Product Search” widget for that.

Best Regards,
- Victor

Hi,

I have one more question. If I want to show the redirection filter in a mega menu dropdown of our page, I don’t find a suitable setting from “Alternative location” that would be able to show the filters on any page you’re at in our store. Isn’t there a setting to just show wherever the Shortcode is triggered? Thanks.

Hi adelianbrands

That will be complicated to do. Either creating filter sets for all types of pages, taxonomies, etc.

Or create a simple custom redirect functionality that will look like a filter, but all it will do is redirect to a page, for example, of a shop, and the page will already have working filters.

Best Regards,
- Victor

Hi! I am using dependent filters to allow the customer to firstly choose Car Make and then they can choose appropriate Car Model. I have built up the Car Make as an attribute where I add cars like Audi, Peugeot etc. Now for the Car Model, do you recommend to create another Attribute where I just list all possible car models (Audi models, Peugeot models etc) or should I use a product tag to create the Car Model? Or is there a third way you recommend? I just want to get the data right the first time and not run into possible issues later.

Hi adelianbrands

Thank you for choosing Filter Everything PRO.

Yes, we’d recommend creating it from product attributes. Car brands with all of the terms, car models, and so on.

Best Regards,
- Victor

Thanks. So I would create one single Attribute for Car Models and it would contain models of all car manufacturers, right? I wouldn’t create separate attributes for each car maker?

Yes, you need to create one single Attribute for Car Models and it would contain models of all car manufacturers.

Best Regards,
- Victor

Hello. I love your plugin and use it on multiple sites, both the Pro and the Free version. However, on one particular install, the filter is adding one extra number to the filter. Ie, when the number should be number 5, it displays a number 6 instead. I’m using custom fields to create property listings with a certain number of bedrooms. It all works great, but when a property has 3 bedrooms, the filter will display 4 instead. Is this a known issue?

Hi thomaspaylor

There was such an issue in the 1.8.5 version but in the current 1.8.6, there is no such an issue.

Best Regards,
- Victor

Thanks Victor. I’m using the free version of the plugin on this particular install. Which is still 1.8.5 in the Wordpress plugin depository. I’ll wait until 1.8.6 is released and hopefully that will solve the issue. Thanks again for your help.

The update for the free version should be released in a couple of days.

Best Regards,
- Victor

Some taxonomies doesn’t filter properly and also some results appeared duplicated.

link to page

Hi ouartwork

We have checked the link, and we could not find any issues with the filtering on the page. Seems like everything is filtering and showing exact posts as filter terms counters show – https://prnt.sc/rQUYVeytpw_x

Generally, there is no support for accounts whose support period has expired following the support policy.

But we can help you later after all requests from accounts with valid support periods are processed. It may take some time – days or weeks.

If you want to receive it faster, please extend the support period, and we will process the request with the priority for supported accounts.

Best Regards,
- Victor

Hi,

I am having problems showing the seo description on the page, which is the reason I bought this plugin.

I have tried to implement the solution using the SEO Rules troubleshooting: https://filtereverything.pro/resources/seo-rules-troubleshooting/

But without succes… Coul you please take a look at these files and tell me what I should do archive.php and functions.php:

https://docs.google.com/document/d/1kiTnXTU-JgQ5qyUFA9z16-klj_5x5DcOG_Vk_-YVEIo/edit?usp=sharing

Thank you so much

Hi Remcovanderstruijk

Thank you for choosing Filter Everything PRO.

Unfortunately, we do not provide/debug custom codes/templates. We can provide you with the link to the SEO Rules documentation – https://filtereverything.pro/resources/all-about-seo/ it has more explanatory code examples, and on which hooks it is applied.

So you can use your theme hooks for the SEO description. We’d love to help, but debugging theme templates in order to find the needed hooks or create custom hooks in that template is out of the scope of support policies. You can contact your theme support in order to get the information on the hooks.

Best Regards,
- Victor

Hello, I’m having a problem with Filter Everything Pro.

When I enable the Pop-up Filter widget: The Open button is on every single page.

The Collapse the widget and show the Filters opening button Works but obivously it looks like shit compare to the Pop up widget. (when I say works I mean it doesn’t appear on every page, but maybe that is cause the side bar is only of the product catalogue page

https://petsware.co.uk/

Literally also on the Homepage. except the button does nothing.

https://drive.google.com/file/d/1eFRCV6ikQe1UXvUas70mji0fbdciiK6b/view?usp=drive_link

the filter sets that I have – As you can see from the link its not on the Homepage.

Hi slipperxx

If you are using the PRO version of the plugin, please make a request from the account where the plugin was purchased. So we can help to solve the issue you are facing.

If you are using the Free version of the plugin, please make a request in the forum section here – https://wordpress.org/support/plugin/filter-everything/

Best Regards,
- Victor

Hello

We purchased your plug-in last week, and I am having trouble creating a product overview page. We want to enable filtering by various manufacturers and base materials (metal, copper). On the next level, different processing methods should be selectable. Our products were created with pages and categorized. I need help to display the page with the filtering functionality. The website can be accessed at www.asmag-group.com, and under “Products” you can find the discussed hierarchy. Please provide prompt assistance – with kind regards. thank you in advance

Hi asmagmarketing

Thank you for choosing Filter Everything PRO.

A bit confused about the description of the problems, you can make filtering a hierarchy like in this demo – https://demo.filtereverything.pro/posts/

If you created all of those things in one taxonomy, then you would need to create either separate attributes if this is a Woo with the needed terms, or separate taxonomies.

Best Regards,
- Victor

Hi, I have installed the plugin but i am having trouble in filtering the products. The price filter works fine but when it comes to filtering out the products based on category and attributes it does not work. And i am having trouble with Ajax feature as well.

Hi muhammadazimkehar

Thank you for choosing Filter Everything PRO.

Can you please send the credentials to the wp-admin dashboard following this document so we can check it?

Best Regards,
- Victor

Hi, I used the plugin for auto part web site with 5 filters: Brand – Model – Years – Category Type – Parts you suggested that I use the attributes, but the database is large, for example for the brand attribute I have two columns (Brand + brand name)

1- Is it possible to use tags products with the plugin?

2- Configuration with Woo-commerce: Is it possible to retrieve/display the filter details for each product in the order page (receipt) WordPress admin ?

3- does the plugin work for variable products?

Thanks

Hi Bluetreedigitaldz

1) It is already optimized, you can use OPCache, Redis/Memcache on your site to optimize it even more. But mostly it all depends on the server hardware, latency, and data optimization.

2) No, unfortunately, there is no possibility to mix 2,2,4, or more attributes and tags into one filter.

3) If you are referring to how you can do the custom order for filter terms, you can use the hook “wpc_terms_before_display” Here is an example with custom fields

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;
}

And you can read more about this hook here – https://filtereverything.pro/resources/hooks/#terms-before-display-hook

Best Regards,
- Victor

Hi

>> there is no possibility to mix 2,2,4, or more attributes and tags into one filter

I have 5 filters: brand (attribute) – model (attribute) – years (tag) – category (attribute) – part (attribute)

when you say one filter it is brand only for example? or all 5

for question 3

when I receive orders (in wordpress admin dashboard) I receive the item only (product name) / Qty / Price I want to display the attributes selected by the visitor in the order

Is it possible to retrieve them from your plugin and then display them in the commands?

https://imgur.com/wCTbts3

Thanks

What we mean is that you cannot combine two or more different taxonomies, attributes, tags, or any other entities into one filter. For example, you have a filter set named “Main filter set” where you can create all of the needed filters inside, you cannot make brand and model as one grouped filter. You can create two different filters from them.

If those are Woo custom fields, you can check meta keys for them here – https://prnt.sc/2EuJZ2vh19xJ in the filter set.

Best Regards,
- Victor

Is tabular dynamic filtration like this https://xfmrs.com/all/ possible with this plugin?

Hi ngrhd

Thank you for your interest in the Filter Everything plugin.

You can make it work like here it is simply live filtering when choosing the needed filter term – https://demo.filtereverything.pro/horizontal-views/

But, you would need to apply your own custom styles in order to create the same looks as in your reference.

Best Regards,
- Victor

Hello. Is it possible to make advanced filters in the menu with this plugin? Let me explain: I have 3 parent categories, Men, Women and Children and I want to put the brands that are for each category in the menu. An exact example would be the menu on this page for the brands section: https://www.bata.com/es/

Hi aurageller99

Thank you for your interest in the Filter Everything plugin.

Would be nice if you could provide a more detailed description with the showcases of what exactly you want to create at the ned process, as we visited the site and we are not sure what you are exactly referring to.

You can check some demos here – https://demo.filtereverything.pro/product-category/electronics/laptops/

If you want to create multiple filters from one taxonomy where you have different parent categories, we’d recommend using either separate attributes if you are using Woo or separate taxonomies in order to create separate filters from each taxonomy.

Best Regards,
- Victor

Hi For some reason the filter is not working properly when added as a short code to Astra site builder, when creating a custom archive page. Se this example: https://fitlife.se/aktivitet/

The problem is that all post are still showing after activating one or more filters. What could cause this?

I’ll send the same issue to the Astra theme, cause it might be theme related…

Thanks

Hi migge

We have checked the site, and it seems like the issue is already fixed. As it is filtering your posts.

If it is still not working, please provide more detailed information on the issue.

Best Regards,
- Victor

Hello team

My support has expired, if you could answer my question it would be much appreciated. Is there a way to remove “noindex, nofollow”? I want all my pages to be crawled by google engine I tried to change the code in plugin.php to the following but it did not work.

public function noIndexFilterPages()
   {
       if( flrt_is_filter_request() ){
           $robots['index']    = 'index';
           $robots['follow']   = 'follow';
           $content = implode(', ', $robots );
           echo sprintf('<meta name="robots" content="%s">', $content)."\r\n";
       }
   }

I have 6 filters and it is impossible to write 720 SEO rules to cover all the combinations.

These are examples of my SEO rules …/by-age-{any}/by-category-{any}/by-format-{any}/by-language-{any}/on-sale-{any}

…/by-age-{any}/by-category-{any}/by-language-{any}

…/by-age-{any}

Many Thanks in advance

Hi sjuneidiit

You can remove this action which applies all of the “noindex, no follow” tags on the filtered pages:

\add_action( 'wp_head', array( $this, 'filtersWpHead' ), 1 );

Then apply your own code which applies “indexed, follow” tags.

Best Regards,
- Victor

Filter is working fine, but I cannot use the AJAX feature. It is giving me this error:

https://prnt.sc/ZBZJS_1sTyxQ

Hi youngbossdigital

Please send us a message via PM – https://codecanyon.net/user/fe_support so we can reply to you by email.

Best Regards,
- Victor

Never mind, It’s working now! Thanks for your support!

Hi youngbossdigital

We are glad to hear that the issue was resolved.

Best Regards,
- Victor

I have turned on cURL on my website and Filter Plugin Pro is not showing error on my website. But the other issue is still there that products are not filtering, it’s refreshing the page and showing all the products rather than filtering them out.

You already have my WordPress login details

URL is spike.youngboss.ca/shop for the shop where filter widget is setup.

Please help me fix this issue so, that I can finalize the website and finish the project. Thanks for your co-operation.

Hi youngbossdigital

We are glad to hear that the issue was resolved.

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