need an additional address field

Home Forums Calendar Products Events Calendar PRO need an additional address field

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #961677
    Jen Russo
    Participant

    How can I add an additional address field. right now we have only one line for addresses. I need another line for building names, like shopping centers, resorts, that can additionally identify venues.

    #961857
    Geoff
    Member

    Hey there!

    That’s a good question. There’s support for only one address line at the moment. However, I wonder if using Advanced Custom Fields would be a good alternative for capturing that information. Otherwise, I would think that requires custom development to create a new meta field, have it attach to the database, then output on the front end. Advanced Custom Fields might make that process a lot easier.

    Cheers!
    Geoff

    #961943
    Jen Russo
    Participant

    Geoff,

    thank you so much. created a new field with ACF – but now wondering how can i get this new field to show on my venue page.

    for example:

    http://mauitime.com/venue/cane-and-canoe-bar-montage-kapalua/

    I am collecting the data – but where do i add this field so it will show up on the venue page?

    Jen

    #961962
    Geoff
    Member

    Hi Jen!

    Awesome, I’m glad that worked out on the back end. To get the value to display on the front end, you can override the venue template (located in the PRO plugin folder under /views/pro/single-venue.php) and refer to this ACF example for outputting the value.

    You can either output the new field in the Venue Meta (Lines 56-59 in my file) or replace those lines with the ACF field and the venue’s address functions:

    The combination of ACF and those functions should provide the output for the complete address. 🙂

    Cheers!
    Geoff

     

    #965105
    Geoff
    Member

    Hey there, Jen! It’s been a couple of weeks since our last follow-up, so I’m going to go ahead and close this thread. You know the drill though–please feel free to start a new thread if there’s anything we can do to help and we’d be happy to. 🙂

    Cheers!
    Geoff

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘need an additional address field’ is closed to new replies.