Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/uldtot/wp-simple-content-filter/archive/refs/heads/main.zipUpdates itself. It ships its own updater (Plugin Update Checker), so new versions appear under Dashboard → Updates.
WP Simple Content Filter
WP Simple Content Filter is a lightweight WordPress plugin that allows users to easily filter content on their website using a simple search input and multiple dropdown select fields. The plugin dynamically updates the displayed content based on user input, providing a seamless and interactive experience for visitors.
Features
- Dynamic Search Input: Users can type in a search box to filter content based on visible text or HTML, including class names and other attributes.
- Multiple Dropdowns: Add as many dropdown select fields as needed to allow users to filter content based on various criteria.
- Customizable Search Area: Specify the class of the elements you want to filter with the searchinclass attribute.
- Real-time Filtering: Content updates instantly as users type or select from dropdowns.
Usage
Shortcode
To use the plugin, insert the following shortcode into your posts or pages:
- showsearch: Set to 1 to display the search input field.
- searchinclass: Specify the class of the content area to filter.
- select1, select2, ...: Define dropdown options separated by commas. You can add multiple select attributes.
Example
Installation
1. Downloa