2. Pre-select filters based on an archive page (using Elementor)? For example a category archive will display all the posts related to that category, but performing a search will display the whole list of posts, regardless of the category archive the user is currently viewing.
I’ll try to add some URL parameters using javascript to pre-filter the categories. For the point no1, is there a way to add custom filtering to the existing one?
For now there is no way to add custom type of filters. There is a filters API to add/manipulate filters – but that only works with the supported ones (custom fields, taxonomies, date etc..)