Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Possible to filter by post authors?
This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko 1 year, 5 months ago.
- AuthorPosts
- October 2, 2021 at 4:20 pm #34972
Hello, I would like to know if there is a way to:
1. Filter posts by authors names or ID?
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.
Thanks in advance for your support.
October 4, 2021 at 8:37 am #34979Hi,
1. Unfortunately it is not possible.
2. Well, if you are using filters, there is a way to preset the filters via URL, although I am not sure if this is what you are looking for.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
October 4, 2021 at 3:02 pm #34995Hi, thanks for the answer.
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?
October 5, 2021 at 1:59 pm #35017For 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..)
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.