Powerful filters addon

Before purchase, you can test all plugin and Add-on features on our sandbox site.

Video versionVideo overview of the addon

Powerful Filters AddonWhat does this addon do and who will find it useful

Powerful filters is an add-on for wpDataTables which allows you and your site visitors to filter table data in the WordPress Tables frontend with Cascade filters; it also allows you to hide the table before the filter is applied.

Cascade filtering enables narrowing down the number of options available in each next filter by selecting from a previous one. For example, if in the first filter you have a list of continents, in second a list of countries, and in third a list of cities, when you choose a continent, the next 2 filters will only show the countries and cities that belong to this continent. Cascading filters are very useful for large datasets, since finding data becomes much faster and more convenient when the filtering options are narrowed down “on the fly”.

Installing and activating powerful filtersHow to install the addon

Powerfulpluginspage

Installing the Powerful Filters addon is a quite straightforward process if you have some experience with WordPress plugins. There are 2 possible ways of uploading it to the WordPress site:

  • Go to your WordPress admin panel, open the “Plugins” page, then click “Add new”, there choose “upload” and then browse to the ZIP file that you’ve downloaded from CodeCanyon.
  • Go to our store , login with the credentials you received via e-mail when you purchased the plugin, download the plugin and extract the ZIP file that you’ve downloaded. Once you’ve done that open your WordPress installation through FTP, browse to wp-content/plugins, and upload the extracted folder there.

Once you’ve uploaded the plugin using either of these 2 scenarios, you should see the Powerful Filters addon in your plugins list. Just click “activate”, and you’re good to go!

Please note:

  • You need the wpDataTables 2.1+ full version to run the addon! It will not work with earlier versions of the plugin, or with wpDataTables Lite.
  • Predefined filtering values are currently not available for the Cascade Filtering feature.

Using Cascade FilteringHow to enable cascading with Powerful Filters

Cascade filtering wpdatatables

After activating the Powerful filters addon you will notice several new options in the Sorting and Filtering tab on the table configuration page.

To try how the cascade works, enable the Cascade filtering” option and choose either of two available logic types: “From left to right” (dependent filtering), and “Free” (independent filtering).

“Dependent” filtering means that you will only be able to make choices in filters in the order from left to right. By default all the filters except for the first one will be disabled. Each next filter will become available, and show a list of options only when you make the selection in the previous filter, in the order left to right. Try playing around with this table to see for yourself:

Powerful Filters - From left to right

Hide filters except first one

*NEW* From version 1.3 it is available new option for “Dependent filtering” call it “Hide all filters except first one”. This means that logic is same as for “From left to right logic”, but instead of disabling filters, they are hidden, so when you choose some value in first filter then second filter will be shown and so on. Isn’t that great? Check out live example below:

Powerful Filters - From left to right - Hide filters

“Independent” filtering means that there is no filtering order restriction, you can choose values in filters however you wish, selection made in each filter will narrow down the options list in all the other filters. Play around with filters in the following table to understand how it works:

Powerful filtering - Free

In an example above you will see filters in a table, but if you want to see your filters in a form above the table you can enable option “Filters in a form” (click here to read more about Advanced Filtering features in core wpDataTables).

Search button, hide tableMaking search work on ``Search`` button click, hiding the table before a selection is made in the filter

Hide tabe and search button in filters
  1. If your table has the option “Filters in a form” enabled, and the filter is rendered outside of the table, Powerful Filters add-on will add two new options to the filtering tab: Hide Table” and Search button”.
  2. “Hide Table” – this option allows you to hide the table content before some selection is made in the filters. It is a great feature if, for example, you only want to show users data in the table that is based on an input of a particular filter (e.g. only a specific type number, or a single category), without distracting them by showing full table content all the time.
  3. Search button will allow you to add or remove the search button. By default, wpDataTables data is filtered automatically when any filter has been changed; and the Search button is enabled. Filtering won’t be applied “on the fly” – the table will only be filtered when you click the Search button next to the filters.
  4. Once you enable the Search button, you will see one more option – Disable search button. Enabling this option will keep the search button disabled until a user selects options in all available filters. This is useful when you only need to show users a particular row. In this way, you restrict users from applying broader filters.
  5. Search button shown at end of the filters above the table

Play around with the filters in the following table to understand how the “Hide table” and “Search button” features work:

Powerful Filters - Hide Table

The wpDataTables core plugin also provides a comprehensive list of filter types: text, number, number range, date range, datetime range, time range, selectbox, multiselectbox and checkbox. Combinations of these filters, along with the Powerful Filters functionalities, provides real flexibility for configuring the filtering engine for almost any project. You can read more about the Advanced Filtering functionalities here.