• Resolved Aurélien

    (@pixelcarre)


    Hello, is it possible to add fields in a location? I would like to display in each location the phone number, a website and why social networks.
    For the moment, to add a phone, I use the “region” field.

    • This topic was modified 1 year, 6 months ago by Aurélien.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • You can create custom location fields: https://wp-events-plugin.com/documentation/event-attributes/

    Thread Starter Aurélien

    (@pixelcarre)

    I’m sorry, but I have trouble understanding the method.
    With this method, does it add a field on one location only? I want to add a phone field on all my locations.

    It’s not very clear to me ;(

    It will add a field on all locations. Say you want to add a phone field. Go to Events > Settings and then in the General tab scroll down to Physical Locations under Location Settings and add the following in Location Attributes:

    #_LATT{PHONE}

    Then click on the Save Changes button.

    Now when you create or edit an event there will be a place to fill in the phone number.

    To view the phone number in the single location page, go to the Formatting tab and enable Super Advanced Mode and then scroll down and click on Locations and then in the Single Location Page you can add #_LATT{PHONE} in the Single location page format. To do this you need to have some knowledge of HTML.

    Thread Starter Aurélien

    (@pixelcarre)

    Thank you very much for the very detailed explanations, it is very clear and it works perfectly 😉

    To add a website, I tested and it works by adding the html code. For me it is fine, but this site is also intended for neophytes. I hope there will be an improvement.
    For the moment, I do with that!

    Thanks again

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Adding fields in location’ is closed to new replies.