(Pretty new to WordPress, but I'm a React / NodeJS developer)
I have a basic search function that will search a custom
It uses the built-in standard
get_search_query and therefore it can only find the title of a
listing – We want the search to also search the taxonomy.
The search URL looks like this:
http://localhost:8888/?s=New+York&post_type=listings – Basic.
post_type=listings is defined as a hidden entry in the form, e.g.
We each have their own taxonomy
Googling for a long time can not find a custom taxonomy by just adding extra tags – at least taxonomy is not so magical and I would have to script my functions.php.
Do you have suggestions on where to start writing a custom query?