跳到内容

Filter Anything

v0.1.4

Kalrav Joshi · 2022年8月1日 上架

Filter Anything allows you to create custom filters & it can filter all types of posts and users data.

正在使用
20+
评分
5.0 / 5
累计下载
2,861
最近更新
2023年4月29日
1 条评价需要 WordPress 4.9+已测试到 6.2.16PHP 7.1+

贡献者

截图

Full width horizontal filter layout
Full width horizontal filter layout
Sidebar filter layout
Sidebar filter layout
Filter query settings edit
Filter query settings edit
Filter layout settings edit
Filter layout settings edit
Filter fields edit
Filter fields edit
Filter directory default text edit
Filter directory default text edit
List of Filters in admin
List of Filters in admin

Filter Anything offers Advance filters for any POST or USER data. You can instantly create any type of Directory with your choice of filters in different layout options using a simple shortcode.

At a glance, this plugin adds the following:

  • Instant Directory creation using shortcode
  • Ajax pagination
  • Multiple Layouts like: Fullwidth or Sidebar
  • Adjustable Grid column count in results
  • Filter any post type by: Meta field, Taxonomy, Title & Content, Post Date, Author or your own custom query
  • Filter any user type by: Meta field, Display Name, Email, Username, Registration date, Role or your own custom query
  • Supports changing Directory wise Label & button Titles
  • Set Order By and Per page count of the resulted data
  • customize look and feel by adding Quick CSS

Filter Anything acts as a standalone Directory to show your advance custom filters and results in your own choice of format.

Advance Usage (For Advance Users)

It’s very easy to modify result item template and to add your own custom query by using Filters:

Filter for modifying entry html (xx is filter id)

function example_callback( $html, $entry ) {
    ...
    return $html;
}
add_filter( 'wfa_directory_entry_html_xx', 'example_callback', 10, 2 );

Filter for modifying filter query args (xx is filter id)

function example_callback( $args, $filters, $form_data ) {
    ...
    return $args;
}
add_filter( 'wfa_directory_query_args_xx', 'example_callback', 10, 3 );

Form submit to another page

For showing only form and submitting on another url use following shortcode example

[wfa_filter id="xx" submit_url="https://www.example.com/some-other-page"]

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums