Closed mark-making closed 8 years ago
The eventbrite_event_venue()
function returns the full venue
object from the API response, so to use the address, you'll need to reference and echo out the pieces you would like. The response is in this format:
... so you'll need calls like eventbrite_event_venue()->name
and eventbrite_event_venue()->address->city
in your template to assemble the address you want to display, in whatever format you like.
Thanks @kwight.
Using
eventbrite_event_venue()
with theaddress
property seems to be outputting the address twice?From what I can gather, it seems to pull in the event location, then the overall address of the event listing footer.
📟 @kwight