WP Admin Filter By Year
🧧
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/19h47/wp-admin-filter-by-year/archive/refs/heads/main.zipWordPress plugin that adds a year dropdown filter in the admin for custom post type list screens.
Features
- Year dropdown on edit screens (edit.php) for non–built-in post types
- Year options respect active filters (e.g. taxonomy such as author)
- Other query params (taxonomy, pagination, etc.) are preserved when filtering by year
Installation
- Download or clone this repository
- Copy the
wp-admin-filter-by-yearfolder intowp-content/plugins/ - Activate the plugin under Plugins (or via WP-CLI:
wp plugin activate wp-admin-filter-by-year)
Requirements
- WordPress 5.x+
- PHP 7.4+
Publishing to GitHub
- Create a new repository on GitHub (empty, no README)
- In a terminal, from the plugin folder:
cd wp-content/plugins/wp-admin-filter-by-year
git init
git add .
git commit -m "Initial commit"
git branch -M main
git remote add origin https://github.com/YOUR_USER/YOUR_REPO.git
git push -u origin main
- Replace
YOUR_USERandYOUR_REPOwith your GitHub username and repository name.
To install the plugin from GitHub on another site:
cd wp-content/plugins
git clone https://github.com/YOUR_USER/YOUR_REPO.git wp-admin-filter-by-year
License
GPL v2 or later