Flipfield Filters Wordpress Plugin - Rating, Reviews, Demo & Download
Plugin Description
Flipfield Filters builds grids of your content — any public post type — that visitors can filter by taxonomies and custom fields. When a filter changes, items that stay in the results glide to their new place, new ones fade in and removed ones fade out, instead of the whole list being replaced.
Custom fields are read through their own definition, not as raw database values: choice labels, true/false values, numbers and dates are handled for what they are.
Getting started
- Go to Flipfield Filters and add a grid: pick the content type it lists, and where to start from: Blank, Portfolio (pictures first, categories above) or Directory (a search and the fields in a sidebar). Everything stays editable.
-
In the Filters tab, place the filters above the grid or in a left or right sidebar (optionally sticky), then add what visitors can filter by, and how each one displays:
- taxonomies, ACF choice fields, ACF text fields (by exact value) and the author: checkboxes, a dropdown of checkboxes (several choices, with a field to find one in a long list), radio buttons or dropdown;
- ACF true/false fields: a single toggle, radio buttons or dropdown;
- ACF number and range fields: minimum and maximum;
- the publish date and ACF date fields: from and to dates;
- a keyword search field, in titles and content, and in custom fields too if you like.
Each value can show how many results it would give, and values with none can be hidden. A filter with many values (more than 12) starts as a dropdown with a search field. Above the results, the values picked show as chips, each removable with one click.
- In the Content tab, choose page numbers (with a field to go to any page once there are many) or a “Load more” button, and which sort orders visitors can pick from: date, title, or any number, date or text field.
- In the Items tab, pick the item style (Classic, Horizontal or Minimal, each with a Dark option), size and image format.
- Place the grid with the “Flipfield grid” block (pick the grid in the block’s settings), the shortcode
[flipfield_filters grid="your-grid-slug"], or from a theme template with<?php echo flipfield_filters_render( 'your-grid-slug' ); ?>.
Picking a filter updates the grid in place: items that stay glide to their new position, new ones fade in, removed ones fade out. Every state has its own shareable URL, the browser’s back and forward buttons work, and everything still works without JavaScript through ordinary page loads. Visitors who ask their system for reduced motion get instant updates instead.
Shortcode and PHP settings
One grid can be placed several ways: the shortcode and flipfield_filters_render() take settings that apply to that placement only, on top of the grid’s own.
[flipfield_filters grid="projects" per_page="6" style="minimal" dark="yes" filters="city,by" terms="category:news,events"]
per_page: items per page (1 to 100).paging:numbersorload-more.style:classic,horizontalorminimal;dark:yesorno;size:small,mediumorlarge;ratio:landscape,wide,squareorportrait(or a format an extension adds);labels:yesorno(field names before item values).position:top,leftorright;sidebar:narrow,mediumorwide;sticky:yesorno.filters: the URL keys of the filters to show (see the Filters tab), in that order, ornone.terms: only items in these terms, astaxonomy:slug,slug; several taxonomies separated by|.include: only these item IDs; from PHP, an empty array shows no item.exclude: item IDs to leave out.class: extra CSS classes on the grid.prefix: prefixes the grid’s URL params (e.g.a-city), so two grids on one page each keep their own filters.
From PHP, the same settings go in an array, plus query for any other WP_Query argument (e.g. author, meta_query); the visitor’s filters still apply on top:
<?php echo flipfield_filters_render( 'projects', array( 'per_page' => 6, 'query' => array( 'author' => get_queried_object_id() ) ) ); ?>
For posts linked to the current one (e.g. by an ACF Relationship field), pass their IDs: <?php echo flipfield_filters_render( 'products', array( 'include' => wp_list_pluck( (array) get_field( 'products' ), 'ID' ) ) ); ?>
To put the filters and the results in two different places of the page (e.g. filters in the theme’s sidebar), render each part on its own with the same slug and settings: flipfield_filters_render_filters( 'projects' ) and flipfield_filters_render_results( 'projects' ), or the shortcode with part="filters" and part="results". Filters stack in a column with position set to left or right.
A grid rendered from PHP loads its styles at the end of the page, which can show it unstyled for an instant. Call flipfield_filters_enqueue() on wp_enqueue_scripts for those pages, or turn on “Load the grid styles on every page” in Settings Flipfield Filters.
A grid on an archive page
In the Content tab, “Show this grid on the Projects archive” (or the posts page) puts the grid in place of that archive’s list, without touching the theme: its header, title, sidebar and footer stay, and only the list and its pagination give way. With block themes, the archive’s Query Loop block is replaced; with classic themes, the main loop’s output. The second box, “Show it on the pages of each term too”, does the same on the content type’s term pages (a category, a tag, a custom taxonomy’s term), the grid narrowed to that term and its children; the visitor’s filters apply on top. There, the filter of that taxonomy only offers the term’s children (none: it is left out). One grid per archive, and per content type’s term pages: ticking it on another grid moves it there.
Your own item template
Add a file to your theme’s flipfield-filters/items/ folder, e.g. my-card.php, starting with a /* Item Style: My card */ header: it shows up among the item styles of the Items tab, and style="my-card" picks it for one placement. It receives the same variables as the plugin’s templates (see templates/items/classic.php); keep data-id on its outer element.
Connect your own loop
A theme can keep its own query and markup and let a grid’s filters drive them:
<?php echo flipfield_filters_render_filters( 'projects' ); ?>
<?php $query = new WP_Query( array( 'post_type' => 'project', 'posts_per_page' => 9, 'flipfield_filters' => 'projects' ) ); ?>
<div <?php flipfield_filters_loop_attrs( 'projects' ); ?>> then one direct child per post with `data-id="<?php the_ID(); ?>"`, then `</div>`.
The query keeps its own content type, page size and order; the visitor’s filters (and sort, if the grid offers one) are added on top. The main query works too: set the flipfield_filters query var in your pre_get_posts. Changes animate in place like a grid: the script loads the page for the new state and takes the loop’s items from it. Mark other parts to refresh along with it (result count, pagination) with data-flipfield-filters-sync="projects"; links inside them load in place. For queries that can’t carry the query var, flipfield_filters_get_query_args( 'projects', $args ) returns your args with the filters added.
Grids added after the page loads
A grid inserted later (a popup, a tab loaded on demand, a page builder’s preview) comes to life with FlipfieldFilters.setup( element ), element being what contains it; extensions set up their own parts on the flipfield_filters:setup event. Inside an element with the data-flipfield-filters-keep-url attribute, a grid leaves the page’s address alone.
Theme templates
If you override grid.php or an item template, keep the flipfield_filters-* classes and the data-id attribute of each item: the script relies on them to update the grid in place.
Customizing the markup
Copy any file from the plugin’s templates/ folder into a flipfield-filters/ folder in your theme to override it. Colours and spacing come from CSS custom properties (--flipfield_filters-*) that your theme can redefine.
Free and PRO
This plugin is complete for grids of your WordPress content: posts, pages and custom post types, filtered by taxonomies, author, publish date, keywords and the fields of Advanced Custom Fields, Secure Custom Fields, Meta Box and Pods. Everything in it works fully, with no limits, trial or locked features.
Flipfield Filters PRO, a separate plugin, adds:
- WooCommerce: price, stock, sale, rating, featured and variations in stock as filters; the price, rating and the shop’s button on cards; the grid on the Shop page;
- The Events Calendar, Tutor LMS and LearnPress: events and courses filtered by their own data (when, dates, venue and organizer; level, price, duration, rating and instructor), with their sorts and what their cards show;
- a comparison of items side by side, full screen, picked by visitors;
- what each card shows: any field, in any order, with its own format;
- sliders for numbers, prices and dates;
- an index for fast counts on large sites;
- under each search result, the passage where the words were found; saved searches for visitors;
- a quick view of each item, and favourites with a filter to find them again;
- a compact bar (each filter behind a button) and, on phones, the filters in a side panel;
- ACF relationship, post object, user, group, repeater and colour picker fields as filters;
- an Elementor widget, with the grid’s settings in Elementor’s panel;
- your own colours, or your theme’s, for each grid’s filters and items, with a dark version for dark sites, and a dark interface for the plugin’s screens;
- galleries in cards, and masonry;
- animation presets with a live preview;
- a date as a small calendar on cards;
- “Shop” and “Agenda” starters for new grids;
- import and export of grids.
Credits
The plugin’s screens use the Manrope typeface (https://fonts.google.com/specimen/Manrope), by The Manrope Project Authors, bundled under the SIL Open Font License 1.1 (assets/fonts/LICENSE-manrope.txt).
Screenshots
Animated filtering: items glide to their new place, and each value shows how many results it gives.
Filter by anything, place it anywhere: taxonomies, ACF fields, dates, numbers or keyword, above the grid or in a sticky sidebar.
Start from a template: Blank, Portfolio or Directory, everything stays editable.
Item styles: Classic, Horizontal or Minimal, each with a Dark option, your size and image format.
Pagination and sorting: page numbers or a “Load more” button, and the sort orders visitors can pick from.
Add it to any page: a block, a shortcode or a line of PHP in your theme.

