WordPress plugin · Custom fields · Filtering

Demfilz Fields and Filters

Add custom fields to pages, posts and products - then let visitors filter your content by those fields, tags, categories and WooCommerce attributes. One plugin for both halves of the job, with a shortcode builder so you never touch code.

v1.0.1 · .zip · ~34 KB · WordPress 6.2+ · PHP 7.4+ · WooCommerce optional · free, no account needed

8 field types, any public post type Filter by fields, tags & Woo attributes Shortcode builder included

What it does

Define your own fields - text, number, select, radio, checkbox, date, URL or text area - and attach them to pages, posts, products or any public post type. Editors fill them in from a clean Custom fields box on the edit screen.

Then drop the [dfaf_filters] shortcode on any page: visitors get a filter form and a responsive results grid. Choice fields become dropdowns or multi-select checklists, numbers become min/max ranges, dates become from/to pickers - and everything combines with tag, category, taxonomy and keyword filters, plus price sorting on products.

Made for WooCommerce, works without it

Filter products by global attributes (pa_colour, pa_size...) and by custom per-product attributes - the plugin indexes those into fast, queryable meta on every product save, so filtering never parses serialized data. No WooCommerce? Fields and filters still work on posts and pages.

Built right

Engineered to platform standards

Built and tested the way the WordPress.org directory expects plugins to be built.

Coding standards

Passes the WordPress Coding Standards and the official Plugin Check with zero errors and zero warnings.

Fast by design

Values are normal post meta hit by standard meta and taxonomy queries. Custom attributes are pre-indexed on save - nothing is parsed at filter time.

Your data stays yours

The free plugin makes no external calls at all. Field definitions and values live in your own database.

How it works

From "we need filters" to a filtered catalogue in minutes

1

Define fields

Add fields like Colour, Material, Score or Available from, and tick which post types get them.

2

Fill them in

Editors set values in the Custom fields box on each page, post or product.

3

Build the shortcode

Tick fields, taxonomies and attributes in the builder and copy the result onto any page.

4

Visitors filter

A filter form plus a paginated results grid - combine fields, tags, attributes, keyword and sorting.

Read the full setup guide →
page: /shop-finder
# one shortcode = form + results
[dfaf_filters post_type="product"
  fields="colour,score"
  taxonomies="product_cat,pa_colour"
  attributes="material"
  multi="pa_colour"]
# visitor picks: Red · Oak · $5-10 · "chair"
6 results · sorted price low to high

Pro makes it instant. Results update as visitors change filters - no page reload - with live counts on every option so nobody clicks into an empty result.

Pricing

Free to filter, $19.95/year to go instant

Fields and filtering are free forever. Pro adds the slick, instant experience.

Free

Free

  • 8 field types on any public post type
  • Filter by fields, tags, taxonomies & Woo attributes
  • Custom per-product attribute index
  • Keyword search, sorting, pagination, archive mode
  • Shortcode builder
Pro

$19.95/year

  • Everything in Free
  • Instant AJAX filtering - no page reloads, shareable URLs
  • Live result counts on every filter option
  • Colour swatch field type with visual swatch controls
  • Star rating field type with "and up" filtering
  • Pill-style filter controls
  • Billed yearly via Stripe - cancel anytime
Get Pro - $19.95/year

Pro is a separate add-on plugin, billed through Stripe and activated from the plugin's Licence / Pro screen. This plugin is independent and not affiliated with WooCommerce.

Download

Get Demfilz Fields and Filters

Now published on the official WordPress.org plugin directory - install it from Plugins → Add New in your dashboard (search "Demfilz Fields and Filters"), or download it from the directory. The free features work straight away.

Demfilz Fields and Filters v1.0.1

.zip · ~34 KB · WordPress 6.2+ · PHP 7.4+ · WooCommerce optional

Download on WordPress.org

Read the setup guide →

Free - no account required. Upgrade to Pro ($19.95/year) for instant AJAX filtering, live counts, swatches and ratings.

FAQs

Common questions

How do I add custom fields to WordPress pages, posts and products without code?

Install Demfilz Fields and Filters, open Fields & Filters in your admin menu and define your fields - text, number, select, radio buttons, checkbox, date or URL. Each field appears in a Custom fields box on the edit screen of the post types you choose, so editors just fill them in. No code or theme changes needed.

How do I let visitors filter WooCommerce products by attributes?

Both kinds of WooCommerce attributes are supported. Global attributes (pa_colour, pa_size and so on) filter through the shortcode's taxonomies parameter. Custom per-product attributes are indexed automatically whenever a product is saved, and filter through the attributes parameter. There is also a one-click Rebuild attribute index button for products that existed before the plugin was installed.

Can visitors filter WordPress posts by custom fields?

Yes - that is the plugin's core job. Mark a field as filterable and it appears in the front-end filter form: choice fields become dropdowns or checkbox lists, numbers become min/max ranges, dates become from/to pickers and checkboxes become toggles. Visitors can combine any of them with tag, category and keyword filters.

Does Demfilz Fields and Filters work without WooCommerce?

Yes. WooCommerce is optional - without it you can define fields for posts and pages and filter them. When WooCommerce is active, product support, price sorting and the attribute filters light up automatically.

How do I put a filter on a WordPress page?

Paste the [dfaf_filters] shortcode into any page. A shortcode builder in the admin composes it for you - pick the post type, fields, taxonomies and attributes, then copy the result. You can also split the form and the results across pages, or point the form at your shop or blog archive.

Where do I download Demfilz Fields and Filters - is it on WordPress.org?

Yes - it is published on the official WordPress.org plugin directory. Install it from Plugins → Add New in your WordPress dashboard and search "Demfilz Fields and Filters", or download the zip from the directory. The free features work straight away - no account required.

Is there a Pro version of Fields and Filters?

Yes. Fields and Filters Pro is a separate add-on plugin priced at $19.95 per year. It adds instant AJAX filtering with no page reloads, live result counts on every filter option, a colour swatch field type with visual swatch controls, a star rating field type with and-up filtering, and pill-style filter controls. The free plugin is complete on its own and never locks features.

Need a WordPress plugin like this?

Filtering, custom fields, catalogues or something entirely custom - this is the kind of thing we build. Tell us what you need and we'll come back with a plan and a fixed quote.