Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show Custom Fields of Taxonomy A in Taxonomy B Call when relational #381

Open
tolay07-dev opened this issue Jun 16, 2021 · 0 comments
Open

Comments

@tolay07-dev
Copy link

Hey Guys!

Im in a dead end - following situation:

I have Cities and Bars as Taxonomy, and the Bars are linked to a city through a relational field.
the rest api call of the cities shows the relating bars, but not the gallery image nor the lat,long from google maps

Example Request where it shows the bars but not the image nor the coordinates (only of the city):
https://liquidmarket.wien/wp-json/wp/v2/stadte/65349

Request of the same bar:
https://liquidmarket.wien/wp-json/wp/v2/bars/61805

how can I add

"lat": 48.2829147, "lng": 16.380699, "Gallerie": "https:\/\/liquidmarket.wien\/wp-content\/uploads\/2021\/05\/logo-malfy-gin.png",
to cities taxonomy?

Appreciate your help a lot!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant