Code

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Cart 15,657 sales
Recently Updated

Stepasyuk supports this item

Supported

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

8952 comments found.

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

Hi, I have a question about Search tool,

Is there a way to also bring products from Categories/labels which names match the searched word? (Besides only bringing individual products those match with the search.)

For example, if I have a category called “singers”. When searching for the word “singer” it brings up all products that are within the “Singers” category.

Hi leonardosalvioni

The search field uses the default WordPress algorithms. So it searches for the text in the title, content, and SKU.

If you want to extend it with the new entities, you will need to write custom code that will extend this logic with the necessary conditions.

For this, you can use the WP ”posts_search” hook to apply the required conditions – https://developer.wordpress.org/reference/hooks/posts_search/ For the needed CPT and taxonomies.

Best Regards,
- Victor

Hi, I’ve set up my filter with Category A, Category B, Category C…

I need to include an ‘All’ button that will show all categories.

I’m not seeing an easy way to do this. Can you provide some guidance?

Hi Kite-Media

Thank you for choosing Filter Everything PRO.

You can create a category named “All” and apply it to all of your products, so when you click on it, it will display all of the products. But if you uncheck all filter terms from categories, it will show all posts, so not sure if you need this “All” filter term in your categories as it will only apply one more line in the query to the database.

Best Regards,
- Victor

Thanks for the response. For the sake of management moving forward I want to avoid creating a new “All” category. While you’re right that I don’t necessarily “need” the “All” Filter term, this is what my client wants so that it’s super clear to users.

Unfortunately, there is no other way to do it. You can try to use templates overriding – https://filtereverything.pro/resources/templates-overriding/ in order to add some custom functionality that will add “All” options.

Best Regards,
- Victor

I understand that it’s hard to keep the track of conversation by not replying to the same message thread, but there is no option to reply to the message. So, I have to write a new comment.

Anyways, I turned on the CURL and after that I activated the Pro version of the plugin from WordPress Plugins.

Now it’s giving me this error

https://prnt.sc/bCeDushWUezN

This is the same issue, as you can see it is saying “Call to undefined function FilterEverything\Filter\Pro\Api\curl_init()” – https://www.php.net/manual/en/function.curl-init.php

It is undefined because this module is still not turned on. You have multiple PHP versions there and profiles.

Maybe there are some general settings on the hosting, in any case, we really recommend contacting hosting support. We had such situations previously, and hosting support helped every time to provide information to their clients how it can be turned on.

Best Regards,
- Victor

I’ve sent you new hosting credentials again, please use these ones. It should work now.

If you can please make responses in the same comment thread so it won’t be confusing for us (yes, it is possible here). It will be easier to provide support as we check one come thread what was the initial issue.

So now you need to turn on the CURL module in the PHP settings. More likely, you can find it under the “EasyApache 4” -> Customize your profile -> PHP Extensions -> search for curl and turn it on. We are not exactly sure as each cPanel has its own settings. And we do not want to play with it as we do not know how you set it all up. To not bring any harm, if you are not sure how you can enable it, please contact your hosting support and ask for information on how you can turn on the curl module in the PHP settings on your server.

After this module is turned on, you can go to the WP Dashboard -> Plugins -> And activate the Filter Everything PRO.

Best Regards,
- Victor

Hi, I’ve already sent the credentials in PM as you mentioned in the document.

Please review it and fix my issue! Thanks!

Hi youngbossdigital

We have completely removed the free version of the plugin and fully deleted the filter data, in order to install the PRO version absolutely clean.

But unfortunately, the issue was not connected to it. Also, we cannot log in with the FTP credentials, as there is something wrong, more likely the password is not correct. So the site right now with a fatal error.

Please ask your hosting support to enable CURL in PHP and this error will disappear. This is your issue.

Best Regards,
- Victor

Hi, We would like to display two filter sets simultaneously in the categories in our WooCommerce store. In the sidebar and in the topbar. Is that possible?

It is not possible in the free version.

Hi SteffenGeorgi

Thank you for your interest in the Filter Everything plugin.

Yes, this is possible with the PRO version of the plugin. The Free version has a limitation to display only one filter widget. In the PRO version, you can display multiple filter sets on the page, for example, if you have 3 filter sets, you need to place 3 filter widget widgets or shortcodes to display them on the page.

Best Regards,
- Victor

i purchased the pro versions and there are many problems i am facing: 1. i am not able to view filter everything widget on the elementor widgets section as shown in <https://www.youtube.com/watch?v=g1_qlJvNdsg> 2. Alternatively, i tried to install widget through appearance<widget<product sidebar<filter everything filter widget. then dragging the side bar in elementor and selecting product sidebar. But i get this error when i run it “No one Filter Set is related to this page. You can configure it in the Filter Set -> “Where to filter?” field.”. To resolve this i also set where to filter condition in filter set to Pages < Shop but still i was getting the same error msg.

help me resolve this at the earliest.

Hi divyampatwari22

Thank you for choosing Filter Everything PRO.

1) The search won’t show widgets, you need to go to the WORDPRESS section in the Elementor, and there will be a Filter Everything – filter widget.

2) Go to the pages, and check what page is this, it can be a home page, a shop page, a blog page, and so on. In this case, you need to set it as “Common WordPress pages + Shop page or Homepage, etc.

Also, we’d recommend checking the Quick Start guide – https://filtereverything.pro/resources/quick-start/

Best Regards,
- Victor

Good day, I am trying to use the sort everything widget. It works fine on mobile: https://winedrop.co.za/shop/ , but when I try on desktop it has always given issues. As soon as I click the drop down, the contents of the dropdown either appears 3 quarters of the way down the page, or it doesnt drop down at all. Any idea what can cause this? I have the default sorting disabled. Thank you

Hi geoffreyb13

1) Please check it with the browser inspecting tool to understand why there is this margin or padding appearing. More likely it some custom styles.

In order to hide the selected terms you can use this in the filters -> settings -> experimental -> custom css

.wpc-filter-collapsible.wpc-closed .wpc-filter-selected-values {
display: none;
}

2) Those things aren’t meant to be crawlable, or else you will have multiple crawling bots on your site and overload your server with those requests. You can find such messages on any site online.

Best Regards,
- Victor

Hi Victor, thanks for the feedback. The CSS makes the selection invisible (none), but it still makes the dropdown box shift down as more options are selected. I have tried adjusting the CSS in inspect chrome but nothing can remove the padding from the selection. For the sort widget I will share staging details tomorrow. Many thanks

Hi geoffreyb13

For all of the custom styles please use the browser inspect tool to find the needed elements and their classes in order to use them for custom CSS, and to check what is still making that space so you can remove it.

“I have tried adjusting the CSS in inspecting chrome but nothing can remove the padding from the selection.” As far as it is related to the CSS there’s nothing that cannot be done with the browser tools. For example, you can check this site, and do whatever you want – https://prnt.sc/Qqj2woFpWArM you can see the exact classes that those elements have, and their specificity in order to rewrite them. You can change already applied styles, to see if this class is responsible for it or some with a higher specificity. With a bit of practice, you can make any changes on any sites, themes, plugins, etc. This is a general practice, not specific to our plugin.

Unfortunately, everything that’s connected with the custom styles is out of the scope of the support policy here on the CodeCanyon – https://prnt.sc/DhdYTJPYBkYu

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