I have searched questions and answers similar to mine but with no luck finding the answer I need.
I have authors (about 8,000) and I have custom post types (about 15). I need my search function to allow queries for an author and CPT.
This url structure "/?s=%20&author_name=joesname" returns all posts across CPT's.
But if I add "&post_type=blogs" for the full url to filter for the CPT
"/?s=%20&author_name=joesname&post_type=blogs" it does not filter for just blogs.
I need to do this for every author and CPT.
This has been driving me crazy for weeks. Any help would be greatly appreciated.