We'll create fresh WordPress site with Filter Anything installed. You have 20 minutes to test the plugin after that site we'll be deleted.
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:
Filter Anything acts as a standalone Directory to show your advance custom filters and results in your own choice of format.
It’s very easy to modify result item template and to add your own custom query by using Filters:
function example_callback( $html, $entry ) {
...
return $html;
}
add_filter( 'wfa_directory_entry_html_xx', 'example_callback', 10, 2 );
function example_callback( $args, $filters, $form_data ) {
...
return $args;
}
add_filter( 'wfa_directory_query_args_xx', 'example_callback', 10, 3 );
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"]