I have a custom post type archive template archive-my-posttype.php with pagination.
These post types have a custom taxonomy called theme.
I am displaying these themes(terms) in the sidebar as a checkbox list.
How can I filter the custom post type based on the selected themes/checkboxes?
Can this be accomplished by adding a query_var parameter (theme_filter) and somehow modifing wp_query with the pre_get_posts filter?
I am trying to let WP handle pagination rather than have to rewrite it myself.
Thanks