Tell us what you are trying to do?
I would like to be able to search (regular) posts with a dropdown populated with the title from custom post type called "author". This is NOT the author of the post, but the author of a book. The custom post type has the author name in the title, it is not a custom field.
So, I would not need to search the entire site, just the titles and content of the news items (standard WP post type) by means of a dropdown populated with the titles of another post type.
Is there any documentation that you are following?
Couldn't find any.
Is there a similar example that we can see?
Not sure! Sorry.
What is the link to your site?
hidden link
To be more clear:
post type: author --> title of that post type in dropdown --> when selected use as string to search standard post type content and titles
Hi, there's not a built-in way to use post titles in a drop-down search filter. Post relationship filters include post title drop-downs, but in this case I do not think it will be helpful for you because there is no post relationship involved. The text search feature will allow users to search for post title using free text, but not a select field. So unfortunately we do not offer exactly what you're looking for. A skilled developer could help you set up a post title dropdown filter using custom code and our wpv_filter_query API: https://toolset.com/documentation/programmer-reference/views-filters/#wpv_filter_query
We offer a portal where you can connect with developers who know how to customize Toolset: https://toolset.com/contractors