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, I want to show the search field separately on the same page where current filters are available. how can I achieve this?

Hi vishtiw99

You need to place a widget – https://filtereverything.pro/resources/filters-widget/ or a shortcode in that place – https://filtereverything.pro/resources/shortcodes/ and apply a second filter set to this page in order to display the search filter. So if you applied two filter sets on the page you need to use either two filter widgets or two filter shortcodes to display both of them on the page.

Best Regards,
- Victor

Hello support,

I’m using Gravity Forms with GravityWiz’ Entry Blocks. Now, I’d like to filter (anything, right!) the entry block overview by (for example) the author.

Is this something you could help me with, please?

Best regards, Sam

Hi Sam

Thank you for choosing Filter Everything PRO.

It filter any CPT, as long as these CPT posts are displayed via QP_Query on the page.

Best Regards,
- Victor

Hi Victor, thanks for the reply. It actually is not. It’s a submission on a form (entry).

Any way to do it like this?

No, not really, for your case, you need something custom to the exact case.

Best Regards,
- Victor

Thank you for your previous reply. As i’m not a developer, i used another solution by adding the wordpress search bar. however, it no longer works (no longer searches). could there be problems with filter everything?

https://spartakustech.com/reliability-blog-v2-test/

I’ve added revelanssi to try and fix this but it doesn’t work either. however, the filter everything plug-in works perfectly.

have you ever had this problem?

Hi erwanlecuyer

You can try disabling our plugin and checking if it will work without it. If nothing changes, then our plugin is not connected to this issue.

Best Regards,
- Victor

In the last reply I had from you, you said that you updates and cleared the cache of the filters in order to work, and to do the same with all the filters from the other pages. How can I clear the cache because the plugin is completely unresponsive.

Hi koukstoreofficial

Go to the filter set, clear the cache from all of your cache plugins (this option is usually available in the wp-admin dashboard header), and hit the update button in the filter set.

Just make sure you used the correct query in the “And what to filter” dropdown in order to filter your posts.

Best Regards,
- Victor

Hello Victor

I’m creating a blog for my company. The filter works perfectly well (pro version). I’m happy with it. The only problem is the search bar:

how can I configure it so that what it displays works correctly? – Can I use the experimental css block? And if so, how can I focus only on changes to the search bar? – Or can I use a plug-in compatible with your revelanssi plug-in?

I’d like to be able to search for words in the articles or title: only posts, function and not gold if several words in the search, most relevant posts at the top…

thank you in advance

The page I need help with: https://spartakustech.com/reliability-blog-v2-test/

Hi erwanlecuyer

Thank you for choosing Filter Everything PRO.

1) Custom CSS, you can add your custom CSS styles in the Filters > Settings > Experimental > Custom CSS. For the general approach to how to style elements on the page, please check this topic – https://wordpress.org/support/topic/colour-change-to-filter-title/

Also, keep in my the CSS specificity – https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity

2) By default, the search field in our plugin uses the WP search algorithms, it does search in the Post content, Title, Excerpt, and Woo product SKU.

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

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

Also, you can study the plugin code and check how the SKU search was added (custom field). Here is the SKU search code in case you can’t find it in the plugin(this is the code from the plugin as an example, not a code that gives what you are looking for):

add_filter( 'posts_search', [$this, 'addSkuSearchSql'], 10000, 2 );

    public function addSkuSearchSql( $search, $wp_query )
 {
        if( $wp_query->get('flrt_query_hash') || $wp_query->get('flrt_query_clone') ){

            if ( $wp_query->get('wc_query') === 'product_query' || $wp_query->get('post_type') === 'product' /* || $wp_query->get('post_type') === 'product_variation' */ ) {
                global $wpdb;

                $product_id = wc_get_product_id_by_sku( $wp_query->get('s') );
                if ( ! $product_id ) {
                    return $search;
 }

                $product = wc_get_product( $product_id );
                if ( $product->is_type( 'variation' ) ) {
                    $product_id = $product->get_parent_id();
 }

                $search = str_replace( 'AND (((', "AND (({$wpdb->posts}.ID IN (" . $product_id . ")) OR ((", $search );
                return $search;
 }

 }
        return $search;
 }

Best Regards,
- Victor

error

Hi erwanlecuyer

Thank you for sharing this with us.

Best Regards,
- Victor

Hi! Just have two quick prepurchase questions:

1. Does buying a license work on multiple sites? Or just one website?

2. If the plugin is not suitable (mainly, it effects my websites page speed which is currently at 92/100, is there a refund available?

Thanks!

Nick

Perhaps improve the initial page template, and turn off the folding option on the mobile mode, so you can place it in some custom modal window solution. But it should use the same shortcode or a widget on the page, not different ones.

Best Regards,
- Victor

Hi! I actually tried this, and I got the following error: “The free version of this plugin does not support filtering on singular pages. But PRO version supports.”. This is using Breakdance so it is on popup. So would there be a suitable way to implement this with Breakdance?

Thanks,

Nick

On singular pages, this is not possible for the Free version. In general, the Free version of the plugin does not have compatibility with the page builders – https://prnt.sc/MDtMtTYsVH0Z as it is working on archive pages and with the main query only.

Best Regards,
- Victor

Hi

I have purchased multiple versions of your plugin for various sites. It’s showing on one of the sites that there is no license. I’m not sure how this has happened, but I cannot see which site the license is linked to, as I forgot to write them down. Is there a way you can check for me and tell me all the sites I have linked to the plugin using my email or username? I’m worried that a staging site is no longer active and connected to the license. Thank you

Hi camwilson12

All you can do is send all of your license keys via PM – https://codecanyon.net/user/fe_support so we can provide you with information, or deactivate them across all of the sites.

Please follow the instructions on this page: https://filtereverything.pro/resources/license-key-issues/#how_to_get_the_license_key to get the license key.

Best Regards,
- Victor

My 2 filters on the left hand side of the pages below where workign fine until my website crashed and had to be restored. Since then the filters are not appearing and I’m unsure why as it was working at the time of backup and beleive I have re-enabled all the plug ins needed.

https://warbirdaviation.co.uk/military-aviation-images/ https://warbirdaviation.co.uk/warbird-profiles/

Hi Nwalch

The update was released, so you can download the latest version of the plugin here and update it on your site.

Best Regards,
- Victor

I installed 1.8.9 last night and reset the filters but it’s still not working on my site.

The issue has been resolved, please check the page. It seems that the builder generates the widget two times. One time on the builder side, and then on the page itself. But the widget filter only should be generated once. In order to avoid it, we applied two filter sets on the same page, so one is generated on the page builder site which is an empty filter set, and the second one is displayed on the front page.

Best Regards,
- Victor

Hello, credentials have been sent as requested yesterday.

Hi maxtodigital

We have checked the site, and it looks like there is some weird behavior from this page builder that you are using. If we simply put the shortcode in the content of a page, it is displayed on the page without any issues.

However, when we are using the page builder, it is displayed in the page editor, but then it is not displayed on the front for some reason, and there are no JS scripts on the page as well. Perhaps it would be better to contact the page builder support about such behavior. Maybe there are some settings or any other things that are causing it.

Best Regards,
- Victor

Hello I just purchase the pro version and when I search the filter everything in elementor it does not appear,why?

Hi newuploadedvideo

Thank you for choosing Filter Everything PRO.

The search will not find it. Please scroll to the WordPress section in Elementor – https://prnt.sc/y0TMIx9d8jJ3 and there will be a filter everything filters widget – https://prnt.sc/uA-eGepVS_wt

Best Regards,
- Victor

Hello,

I keep getting errors like the ones in my error log. Are they something I should be worried about?

0 wp-content/plugins/filter-everything-pro/src/WpManager.php(429): property_exists(false, ‘data’)

1 wp-content/plugins/filter-everything-pro/src/WpManager.php(179): FilterEverything\Filter\WpManager->identifyWpQueriedObject(Object(WP_Query))

2 wp-includes/class-wp-hook.php(324): FilterEverything\Filter\WpManager->addFilterQueryToWpQuery(Object(WP_Query))

3 wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)

PHP Fatal error: Uncaught TypeError: property_exists(): Argument #1 ($object_or_class) must be of type object|string, false given in /wp-content/plugins/filter-everything-pro/src/WpManager.php:429

Hi char_iliad

Can you please send the credentials to the wp-admin dashboard following this document so we can fix it on your site?

This fix is already included in the next plugin update. But until it is released we can fix it for you on your site.

Best Regards,
- Victor

Thank you Victor i will wait for the next update then. If this is something urgent to be fixed then I am gonna share the credentials.

If it is not causing any issues on the site or with filtering then you can wait.

Best Regards,
- Victor

Is there a way to reset the fe_sort when using the “Reset all” in fe_chips?

Hi katrinaglover

Unfortunately, no. The filter reset is only related to the filters themselves and not to the sorting options.

Best Regards,
- Victor

Hi, Now i have set filter in horizontal way on desktop. but on mobile device after implementing filters screen become freeze I m unable to scroll until I click somewhere on screen.

In the Filters > Settings > General there is this option – https://prnt.sc/gGe-PEz1Xnat where you can place a max height, the rest that goes above that will be hidden under scrolling.

Best Regards,
- Victor

Hi, On mobile device can I show chips on listing view page also just after filter button (on both position – current filter wrapper and listing page view)

Yes, you can turn off chips from the filter widgets, in order to not display them and remove them from Filters > Settings > General – https://prnt.sc/Qy90AacWCuSE

Use the chips shortcode in the needed place – https://filtereverything.pro/resources/shortcodes/ make sure you added all of the parameters to display them on mobile.

Best Regards,
- Victor

Hello, trying another way to make this plugin work for us and we’ve run up against this question. I have searched the comments, support docs, general Google, and also the repository on Wordpress but unfortunately, results pull up for either/or word for the question which is “results page”. As you can imagine, this gives a lot of results.

Anyway, here is the question: We have the fe_widget and fe_sort working perfectly on the default archive page, which posts pulling up newest to oldest. What we need to do is on the “results page”, sort the results to display oldest to newest. Our issue is that we don’t have a results page due to using Ajax. Is there a way around this? Or do we have a results page and do not know it? Looking forward to the answer. Thank you!

Hi katrinaglover

As far as we understand the result page is a search page. Something like this, mysite.com/?s=apple&post_type=product is this the result page you are talking about?

Our issue is that we don’t have a results page due to using Ajax.

Can you please specify using AJAX where? In our filter plugin? Somewhere in your theme for certain functionality?

Best Regards,
- Victor

Hello, compliments on really excellent plugin, I have been searching for something like this for a long time. My question – is it possible to change the alignment for search/reset buttons to centre on the serchbox displayed from fe_widget shortcode?

ok apologies but I have a last question for you on this – I got the style and applied new parameters and placed new style in my theme style.css but it it not overriding existing – where should I place the new css in order to override the existing?

sorry I re-read your earlier reply above – all good :)

We are glad to hear that everything is working.

Also, you can check this page – https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity

Best Regards,
- Victor

Hey! I have a shop with variation products. I want to use the FilterEverything Pro to have filters in my shop page.

Sadly all the filters of attributes that are only used as variation attributes are not shown in my filter sidebar. Even tho I activated “use for variations”

Hi marvinbay

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

I sent you the credentials. Thank you!

We have checked the site, it is the typical issue – https://prnt.sc/Fu8to91HzEFi

The attributes should be global and created in the Products > Attributes and then you have to apply those attributes on your products like you did in the first attribute on the picture.

However, the last two attributes are custom attributes, and the filtering does not work with such custom attributes.

Best Regards,
- Victor

Hi, I’m testing your filter but it seems not considring the variations stock.

https://demo.filtereverything.pro/product-category/clothing/women/size-s/status-instock/?min_price=130.61&max_price=158.15

On this filter I selected “on stock” and size S. The results show the product K20K200885, but it is available in other sizes, not sizs S. Is it possible to have it working that way? Is there a backend demo? Thanks

Hi maipiusenza

Thank you for your interest in the Filter Everything plugin.

Yes, the filter works with variations. More likely, in the demo, the stock status filter is not applied to work with variations (as this is a separate option) that can be applied to filters.

As a support team, we do not have access to the demo site, but we have made a request, so this should be fixed on the site in the nearest time. Thank you for bringing this to our attention.

Best Regards,
- Victor

Update* The demo site filter settings have changed, so now they are including variations as well for the stock status.

Best Regards,
- Victor

Hi, I’m using the pro version of the plugin. I’m using it on a wordpress website with Avada Builder. Filter are visible on the builder view but not on the user one, I need some help on this please.

Hi maxtodigital

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?

Also, please send the link to the page where you want to display the filters.

Best Regards,
- Victor

Hi,

Where can I find my license key? I am assuming it is not my purchase code? I have looked everywhere, but nothing works

Kind regards,

Hi kirstenf5

Thank you for choosing Filter Everything PRO.

Please follow the instructions on this page: https://filtereverything.pro/resources/license-key-issues/#how_to_get_the_license_key to get the license key.

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