johnbillion / extended-cpts

A library which provides extended functionality to WordPress custom post types and taxonomies.
GNU General Public License v2.0
980 stars 96 forks source link

add checkboxes filter to admin filters #204

Open kokiddp opened 2 years ago

kokiddp commented 2 years ago

I added the possibility to setup multiple admin taxonomy filters, implemented with a fieldset of checkboxes https://github.com/johnbillion/extended-cpts/wiki/Admin-filters#taxonomy-terms-dropdown

'admin_filters' => [
    'genre' => [
        'title'    => 'Genre',
        'taxonomy' => 'genre',
        'type'     => 'checkboxes'
    ],
],
johnbillion commented 2 years ago

Thanks for the PR @kokiddp! I won't have time to check this for a while, but I've added it to my todo list :-)