Our client has asked if it would be possible to add 2 extra (4 in total) address lines to the venue address fields. Currently it’s set to 2 which, as they are inputting university addresses, means they have to fit a room number and building name on top of the normal address.
Is there a method I can use to do this or do I need to look into something more custom?
Our client has asked if it would be possible to add 2 extra (4 in total) address lines to the venue address fields. Currently it’s set to 2 which, as they are inputting university addresses, means they have to fit a room number and building name on top of the normal address.
Is there a method I can use to do this or do I need to look into something more custom?
This would involve doing some custom PHP programming. The simplest way to go about adding more fields is use the Advanced custom fields plugin, then edit copies of the venue templates (content-espresso_events-venues.php and content-espresso_venues-location.php) -or- make your own modified version of the espresso_venue_address() template tag (it’s a pluggable function) to include the new fields.
It depends. To keep things simple you may want to use all custom fields for those address fields so they’ll be in the order you want in the backend. Then you can de-register the metabox that holds the standard venue fields.
Viewing 3 reply threads
The support post ‘Adding additional fields to venue address’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.