feature: Homepage filter template

This commit is contained in:
Keith Solomon
2025-02-06 15:17:04 -06:00
parent 7716cc8a15
commit ea95f81ac6
3 changed files with 148 additions and 30 deletions

View File

@@ -1,7 +1,7 @@
# Resource Filter Plugin
# Content Filter Plugin
## Description
The Resource Filter Plugin adds filtering capabilities for the 'resource' post type by 'resource_type' and 'resource_subject'. This plugin provides a shortcode to display a filter form and dynamically updates the resource results based on the selected filters.
The Content Filter Plugin adds filtering capabilities for any registered post type by any taxonomies attched to it. This plugin provides a shortcode to display a filter form and dynamically updates the resource results based on the selected filters.
## Installation
1. Download the plugin files and place them in the `wp-content/plugins/resource-filter` directory.
@@ -15,8 +15,13 @@ The Resource Filter Plugin adds filtering capabilities for the 'resource' post t
To override the default form and results templates, create a `resource-filter` directory in your theme and copy the `filter-form.php` and `resource-results.php` files from the plugin `templates` directory to your theme directory. The plugin will use the template files in your theme directory instead of the default template files.
## Changelog
### 1.1.0 - 2025-02-04
### 1.2.0 - 2025-02-05
- Name change to reflect ability to filter more than 'resources'
- Add secondary search template
### 1.1.0 - 2025-02-05
- Fully templated for use in any theme
- Added result sorting
### 1.0.0 - 2025-02-04
- Initial release