
內容簡介
Demfilz Fields and Filters 是一款強大的外掛,讓使用者能夠自定義欄位並在前端提供篩選功能。使用者可以輕鬆地為頁面、文章或產品添加自定義欄位,並透過篩選器來過濾內容,提升網站的互動性和使用體驗。
【主要功能】
• 自定義欄位:支援多種欄位類型
• 前端篩選:可使用短碼顯示篩選表單
• 支援 WooCommerce:自動啟用產品篩選功能
• 分頁結果:響應式結果網格顯示
• 可選關鍵字搜尋框:快速搜尋內容
• 短碼生成器:輕鬆生成篩選短碼
外掛標籤
開發者團隊
原文外掛簡介
Demfilz Fields and Filters does two jobs that belong together:
Custom fields – define your own fields (text, number, select, radio, checkbox, date, URL, text area) and attach them to pages, posts, products or any public post type. Editors fill them in from a clean meta box on the edit screen.
Front-end filters – drop the [dfaf_filters] shortcode on any page to show a filter form plus a results grid. Visitors can filter by your custom fields, by tags, categories or any taxonomy, by WooCommerce global attributes (pa_*) and even by custom per-product attributes.
Filtering features
Filter by any filterable custom field: choice dropdowns, multi-select checkbox lists, numeric min/max ranges, date ranges, yes/no toggles and keyword matching.
Filter by any public taxonomy: tags, categories, product categories, product tags and WooCommerce global attributes.
Filter by custom (per-product) WooCommerce attributes – the plugin indexes them into fast, queryable meta on every product save.
Optional keyword search box and sort dropdown (newest, title, price for products).
Paginated, responsive results grid (1-4 columns) with thumbnail, title, price and excerpt.
Split mode: place the filter form on one page and point it at another page or your shop archive.
Optional archive integration: apply active filters to blog, category, tag and shop archive pages.
Shortcode builder in the admin so you never have to remember parameters.
Works with or without WooCommerce
WooCommerce is optional. Without it you can still define fields for posts and pages and filter them. With WooCommerce active, product support, price sorting and attribute filters light up automatically.
For developers
Field types live in a registry that the plugin itself uses for every built-in type. Register additional types through the dfaf_field_types filter, adjust queries with dfaf_query_args, decorate option labels with dfaf_option_label and customise result cards with dfaf_result_card_html.
Pro version
Everything above is free and fully functional. For sites that want more, Fields and Filters Pro is a separate add-on plugin ($19.95 per year) that adds:
Instant AJAX filtering – results update as visitors change filters, no page reload, shareable URLs.
Live result counts on every filter option.
Colour swatch field type with visual swatch filter controls.
Star rating field type with “and up” filtering.
Pill-style filter controls.
External services
This plugin does not connect to any external service. No data leaves your site.
