Blog

Our latest posts
Unlimited Elements’ Post Filters & Tools

HOW TO: Unlimited Elements’ Post Filters & Tools

SHARE
Picture of Alex
Web Designer & Developer and Elementor expert with 15+ years of experience, I commit to providing the highest quality web services and technical support to my clients. My resume includes the United Nations, Civil Society Organisations and Private Sector clients across Europe, the Middle East and Africa.
You might also be interested in

After struggling for a while to find a proper solution for the posts’ search and filter function for an Elementor website, I finally came across Post Filters & Tools from Unlimited Elements, and immediately, it became my favourite set of widgets in its category. In this article, I will show how to add a search bar and filters to the existing post grid on the Elementor page.

Note. You need to use a Post Grid or similar from Ultimate Elements for the Post Filters & Tools work

In this example, I’m using Post Grid with side by side layout, but you can use any post widget from the Unlimited Elements Post Widgets Category to display posts or even Loop Grid for even more customisation options.

AJAX Search Widget

Let’s get started. First, we add a search bar. Drag the AJAX Search widget to the place you want it to be displayed and style it to your liking. If you would like to use search independently from the filters, make sure that the Enable Connection to Ajax Post Filters option under the General section of the Content tab is off, otherwise enable it to work together with the filters.

Checkboxes, Sorting and Clear Filters

Next, drag the Checkboxes Filter and place it under the search bar or anywhere else you want to display this filter. Under the Terms Selection section of the Content tab, select what you would like to use. In my example, I selected Post as the post type and Category from the Taxonomy list. Under the Filter Settings section, enable Sync to Posts Widget After Load to show only terms that are included in the post widget query.

You can add as many filters as you want. In my example, I included a second Checkboxes Filter to show tags. Simply duplicate the first Checkboxes Filter and under the Terms Selection section of the Content tab, select Post and Tag this time around.

Finally, we can add a Sorting Filter to display posts by date, title, random or a few other options included in the widget. Again, style it the way you want and it’s ready to be used. In my example, I also added Clear Filters widget at the very bottom. What it does is that it removes all filtering options with one click which is very convenient.

Connecting Filters to the Post Grid

Now that we added all the filters we wanted, we need to make a connection between the filters and the post widget for them to work. Click on the Post Grid widget and under the Post Pagination and Filtering section of the Content tab, enable Post Filtering. That’s it, the post grid is now connected to all the filters on this page. You can also add the Pagination widget and enable it by selecting it under the Pagination option of the Post Pagination and Filtering section.

© 2024 Alex Design Lab. All rights reserved

Privacy Policy

Who we are

ALEX DESIGN LAB
https://alexdesignlab.com

Comments

When visitors leave comments on the site we collect the data shown in the comments form, and also the visitor’s IP address and browser user agent string to help spam detection.
An anonymised string created from your email address (also called a hash) may be provided to the Gravatar service to see if you are using it. The Gravatar service privacy policy is available here: https://automattic.com/privacy. After approval of your comment, your profile picture is visible to the public in the context of your comment.

Media

If you upload images to the website, you should avoid uploading images with embedded location data (EXIF GPS) included. Visitors to the website can download and extract any location data from images on the website.

Cookies

If you leave a comment on our site you may opt-in to saving your name, email address and website in cookies. These are for your convenience so that you do not have to fill in your details again when you leave another comment. These cookies will last for one year.
If you visit our login page, we will set a temporary cookie to determine if your browser accepts cookies. This cookie contains no personal data and is discarded when you close your browser.
When you log in, we will also set up several cookies to save your login information and your screen display choices. Login cookies last for two days, and screen options cookies last for a year. If you select “Remember Me”, your login will persist for two weeks. If you log out of your account, the login cookies will be removed.
If you edit or publish an article, an additional cookie will be saved in your browser. This cookie includes no personal data and simply indicates the post ID of the article you just edited. It expires after 1 day.

Embedded content from other websites

Articles on this site may include embedded content (e.g. videos, images, articles, etc.). Embedded content from other websites behaves in the exact same way as if the visitor has visited the other website.
These websites may collect data about you, use cookies, embed additional third-party tracking, and monitor your interaction with that embedded content, including tracking your interaction with the embedded content if you have an account and are logged in to that website.

Who we share your data with

If you request a password reset, your IP address will be included in the reset email.

How long we retain your data

If you leave a comment, the comment and its metadata are retained indefinitely. This is so we can recognise and approve any follow-up comments automatically instead of holding them in a moderation queue.
For users that register on our website (if any), we also store the personal information they provide in their user profile. All users can see, edit, or delete their personal information at any time (except they cannot change their username). Website administrators can also see and edit that information.

What rights you have over your data

If you have an account on this site, or have left comments, you can request to receive an exported file of the personal data we hold about you, including any data you have provided to us. You can also request that we erase any personal data we hold about you. This does not include any data we are obliged to keep for administrative, legal, or security purposes.

Where we send your data

Visitor comments may be checked through an automated spam detection service.