Get Latest GPL & Premium Version Blogger Template, WordPress and WooCommerce Extensions...
Home » Plugins » FacetWP Elementor Add-on
Description

FacetWP Elementor Add-on

FacetWP Elementor Add-on

Add facets to your Elementor grids

This add-on lets you display facets alongside Elementor Pro listings.

Supported widgets

WidgetPlugin
Loop GridElementor Pro
PostsElementor Pro
Ultimate Addons for Elementor
PowerPack for Elementor
Premium Addons for Elementor (Blog widget)
Archive PostsElementor Pro
WooCommerce ProductsElementor Pro
Ultimate Addons for Elementor
PowerPack for Elementor
Premium Addons for Elementor
WooCommerce Archive ProductsElementor Pro
Listing GridJetEngine
Post BlocksAnyWhere Elementor Pro (integration built into AEP)
Post Blocks AdvAnyWhere Elementor Pro (integration built into AEP). More info on the integration with FacetWP can be found on this AEP page.
Note: to disable the scroll on page load, see the instructions below.

Usage

How to enable FacetWP in a supported Elementor listing widget.
How to enable FacetWP in a supported Elementor listing widget.

After installation and activation, there is no further configuration needed for this add-on plugin.

When it is active, supported Elementor listing widgets will display an extra “Enable FacetWP” setting. If this setting is enabled, FacetWP will use this listing as the one to dynamically filter with facets.

The Archive Posts and WooCommerce Archive Products widgets are meant to be used on WP archive pages. Other widgets, like the Posts widget or the Query Loop widget, can be used both on normal pages and on WP archive templates (if you set the Query Source setting to use the “Current Query”).

Add FacetWP shortcodes with a Shortcode widget

How to use an Elementor Shortcode widget to add facets or listings.
How to use an Elementor Shortcode widget to add facets or listings.

Shortcodes for facetslisting templates and other features can easily be added with an Elementor Shortcode widget.

Just copy the shortcode from the FacetWP overview page or facet/listing settings page, and paste them into the widget.

FacetWP on WP archive templates

Elementor archive widgets.
Elementor archive widgets.

FacetWP can also be enabled on WP archive templates created with the Elementor Theme builder.

The Archive posts widget (for posts, pages, and custom post types) and the Archive products widget (for Woocommerce product archives) can be enabled in their settings for FacetWP in the same way as the above widgets, while automatically using the archive query for the results.

Using a Posts or Loop Grid widget on a WP archive template

Using an Elementor Loop Grid on a WP archive page.
Using an Elementor Loop Grid on a WP archive page.

If you are using an Elementor Posts widget or a Loop Grid widget on a WP archive page, make sure to set the “Source” setting to “Current Query”: the native archive query that is already running on the page.

To change or set any query arguments (like posts_per_page) you can use Elementor’s Custom Query Filter hook.

Using a JetEngine Listing Grid Widget on a WP archive template

Using JetEngine Listing Grid Widget on a WP archive page.
Using JetEngine Listing Grid Widget on a WP archive page.

If you are using a JetEngine Listing Grid Widget on a WP archive page, make sure to enable the setting “Use as Archive Template”.

This setting works similar to the “Source > Current Query” setting in native Elementor widgets. If enabled, the widget’s query settings will be ignored, and the native WP archive query that is already running on the page will be used instead.

Using Elementor pagination

Elementor Posts or Archive Posts widget pagination settings.
Elementor Posts or Archive Posts widget pagination settings.

If you are using Elementor’s pagination (which you can set in Posts, Archive Posts or Loop Grid widgets), FacetWP will detect this pagination and convert it for use with AJAX filtering.

However, this will only work for the pagination options that have numbered pagination. FacetWP will not work with the “Load on Click” or “Infinite Scroll” pagination types. (Side note: FacetWP will not work with any type of “Infinite load” pagination.)

If the integration with Elementor pagination is not working correctly, you can also use a Pager facet, which offers several pager types, like numbered pagination and a “Load more” type.

Block FacetWP from using the wrong post widget query

Add a block_facet Query ID in Elementor
Add a block_facet Query ID in Elementor

If FacetWP is identifying the wrong query in Elementor, you can use the query_id setting to block FacetWP from using a post widget query that it shouldn’t.

Give the ‘Query ID’ setting in the Elementor widget a value of block_facet, and add this code to your (child) theme’s functions.php:

How to use custom PHP code?

PHP code can be added to your (child) theme’s functions.php file. Alternatively, you can use the Custom Hooks add-on, or a code snippets plugin. More info

add_action( ‘elementor/query/block_facet’, function( $query ) {
$query->set( ‘facetwp’, false );
} );

Force FacetWP to use a specific post widget query

Add a use_facet Query ID in Elementor
Add a use_facet Query ID in Elementor

You can force FacetWP to use a specific Elementor query ID. Give the ‘Query ID’ setting in the Elementor widget a value of use_facet, and add this code to your (child) theme’s functions.php:

How to use custom PHP code?

PHP code can be added to your (child) theme’s functions.php file. Alternatively, you can use the Custom Hooks add-on, or a code snippets plugin. More info

add_action( ‘elementor/query/use_facet’, function( $query ) {
$query->set( ‘facetwp’, true );
} );
add_filter( ‘facetwp_is_main_query’, function( $is_main_query, $query ) {
if ( true !== $query->get( ‘facetwp’, false ) ) {
return false;
}
return $is_main_query;
}, 10, 2 );

Prevent page scroll with the AEP “Post Blocks Adv” widget

Prevent scrolling on page load with the AnyWhere Elementor Pro Post Blocks Adv widget.
Prevent scrolling on page load with the AnyWhere Elementor Pro Post Blocks Adv widget.

If you are using the AnyWhere Elementor Pro “Post Blocks Adv” widget (which has FacetWP integration), you may see the page scroll to the top of the results after interacting with facets.

This scroll on (AJAX) page load can be disabled by the “Disable Scroll to Top on Load” option, located under the “Pagination” section of the Post Blocks Adv widget.

Be aware that this Pagination section can be hidden if you happen to have the “Infinite Scroll” option enabled in the “Layout” section. If that is the case, disable the Infinite Scroll option, then go to the Pagination section and enable the “Disable Scroll to Top on Load” option.

It’s best to then keep the Infinite Scroll option disabled because FacetWP does not support any form of infinite scroll. The closest thing is the Pager facet, which has a pager type that generates a “load more” button, working similar to infinite scroll.

Customize the Elementor Posts or Loop Grid widget query

If you are using Elementor Pro with a Posts widget or a Loop Grid widget, and you need to adjust the query, you can use Elementor’s Custom Query Filter hook.

If you are using a Posts widgets or Loop Grid widgets on a WP archive templatethe Query > Source setting must be set to “Current Query” to make these widgets work correctly. However, in this case, the widget will not display any query settings anymore, and the “Posts per Page” setting (under Layout) will have no effect. In this situation, this hook is the best way to change or set any query arguments, like posts_per_page.

This hook works similar to WP’s pre_get_posts hook. It exposes the WP_Query object and allows you to customize the query in any way you want.

How to give your widget's query a unique Query ID.
How to give your widget’s query a unique Query ID.

In the following example we add a fallback sorting method by overriding the original orderby query argument, and we change the default posts_per_page to 12. We also add an extra (optional) condition to let the hook run on category archive pages only.

Make sure to replace my_query_id with the unique Query ID you have set in the “Query ID” setting of the widget:

How to use custom PHP code?

PHP code can be added to your (child) theme’s functions.php file. Alternatively, you can use the Custom Hooks add-on, or a code snippets plugin. More info

add_action(‘elementor/query/my_query_id’, function($query) { // Replace “my_query_id” with your unique Query ID
if ($query->is_category() && $query->is_main_query()) { // Optional conditions
$query->set( ‘posts_per_page’, 12 );
$query->set(‘orderby’, [
‘date’ => ‘DESC’, // Primary sort: by post date
‘title’ => ‘ASC’ // Secondary, fallback sort: by post title
]);
}
});

Add a custom “No results” message for Posts or Loop Grid widgets

To add a custom “No results” message when a Posts or Loop Grid widget does not return any results, add the following snippet to your (child) theme’s functions.php:

How to use custom PHP code?

PHP code can be added to your (child) theme’s functions.php file. Alternatively, you can use the Custom Hooks add-on, or a code snippets plugin. More info

add_action(‘elementor/query/query_results’, function($query) {
$total = $query->found_posts;
if ($total == 0) {
echo ‘<h2>No results found.</h2>’;
}
});

For more elaborate ways to do this, check out the answers in this forum thread, or consider using this plugin.

Fix issues caused by Elementor’s Motion Effects options

There are several known incompatibilities with the following Advanced > Motion Effects pane options of Elementor sections/widgets:

Do not use Elementor Pro’s “Sticky” option

Do not use Elementor Pro's Sticky or Entrance Animation options.
Do not use Elementor Pro’s “Sticky” or “Entrance Animation” options.

If you have Elementor Pro installed, Elementor sections/widgets will have a “Sticky” option in their Advanced > Motion Effects options pane. The option creates a “sticky scrolling” effect.

This “Sticky” option is incompatible with FacetWP when used on sections/widgets containing facets or listings.

If this option is enabled, Elementor’s JavaScript will dynamically duplicate the section/widget in the code (invisibly) when the page is scrolled. This causes the facets or listings within the section/widget to be duplicated too, resulting in several issues with FacetWP.

One noticeable effect will be duplicate facets in the Mobile Flyout, if you are using that.

If you need a “sticky” effect on certain page elements, use a script that does not duplicate elements. Or better yet, create the effect by using the position:sticky property in CSS:

How to use custom CSS?

CSS code can be placed in your (child) theme’s style.css file. Alternatively, you can add it manually between <style> tags in the <head> section, in your (child) theme’s header.php file. You can also add it with a wp_head hook in your (child) theme’s functions.php file or in the Custom Hooks add-on. Or you can use a code snippets plugin. More info

.myelement {
position: sticky;
top: 20px;
}

This solution is also used on this Help Center page for the sticky right sidebar.

Do not use Elementor’s “Entrance Animation” option

All Elementor sections/widgets have an “Entrance Animation” option in their Advanced > Motion Effects options pane. When enabled, this option sets the section/widget to be invisible and lets it appear with an entrance animation when you scroll down the page.

Entrance Animations are incompatible with FacetWP when used on widgets containing facets or listings. Enabling this option will lead to issues like posts not showing up after filtering.

Do not use facets in Elementor popups

We regularly see users trying to get facets working within Elementor popups. Unfortunately, Elementor popups are incompatible with FacetWP.

The closest alternative is the Mobile Flyout add-on which was built specifically for mobile support.

WordPress theme,

WordPress plugin,

Woocommerce,

GPL Plugins WordPress,

GPLplugins,

Free WordPress plugins,

Free Woocommerce Plugins,

Reviews (0)
0 reviews
0
0
0
0
0

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

READ FIRST

Our business hours are Monday to Friday from 10:00 am to 4:00 pm (GMT-8), any request made outside these hours will be process until next business day. Support and Updates can take 24 to 48 hours. Support provided is for product installation. Please be aware of possible time zone differences when waiting for our reply.

Updates:
  • To receive an email notification when products have been updated, be sure to click on the notification button below the product image.
  • On a standalone item, you will get lifetime updates. If you choose a membership, updates and access to your items will be available as long as your membership is active.
  • We regularly update products as soon as we are notified about an update, we go and download it from the author and update it on our site, but In case the current version of the product is not the latest, You can request an update for the product.
  • We send regular emails advising when products have been updated so please be sure to provide an active email address when you sign up.
Support:
  • If you have any question or need help installing products purchased on our website, please don’t hesitate to contact us.
  • Please note that we are not developers of the provided products, so our technical support capabilities are limited. We do not change product functionality and do not fix developer bugs.
  • We don’t offer any additional author services like author’s support and license keys and we are not affiliated or in any way related to third-party developers or trademark owners. If you want to know more about GNU / GPL License, CLICK HERE.
Abuse Warning:
  • Please note that accounts are monitored and redistribution of our content is not allowed and will not be tolerated.
  • Our system may detect patterns of downloading items from non-end users outside of our fair use policy.
  • Any violation of our terms of use will result in permanent account suspension and no refunds will be issued.
  • Subscriptions can be cancelled at any time from your account control panel.
  • Downloads are strictly subject to our fair use policy.
For more information please read FAQs & Terms of Service.
FOR DAILY UPDATES & SUPPORT
FOLLOW US HERE
Activation

NOTE: 

  • All The Products Are From Original Author
  • All The Files Would Be Untouched And Unmodified
  • Unlimited Website Usage
  • Files Scanned By Norton And Mcafee
  • Free New Version
  • License : GPL
FOR DAILY UPDATES & SUPPORT
FOLLOW US HERE

FacetWP Elementor Add-on

VERSION 1..9.1
UPDATED 3 July 2024
LICENSE GPL
DEVELOPER Facet WP
SOFTWARE WordPress
TYPE Plugin

Original price was: €59.00.Current price is: €1.83.

All the plugins and themes on gplplugins.site are released under the GPL (General Public License) license. It is 100% legal for us to redistribute the products to you. It is completely safe, legal, and legit.

This is the original file from the developer, not modified, not nulled and not malware.

FOR DAILY UPDATES & SUPPORT
FOLLOW US HERE

RELATED PRODUCTS

Shopping cart
Shop
0 items Cart
My account