I want to create Organisers — name, contact details, ie email and telephone.
Then, in each event form, a drop-down to choose the organiser (just name). When the event displays, the organiser’s name and contact details are output.
I am new to this plugin. There may be an obvious way but I haven’t seen it yet. Would appreciate the best practice here.
I have BuddyPress installed on my site and each user has their contact information in BuddyPress. The organizers are all in BuddyPress. When creating an event I can use the pulldown to select any member. If you don’t have BuddyPress, you could store the contact information for each user as usermeta.
You can change what gets displayed in a single event under the Formatting tab in Settings as I explained here. The following contact placeholders are available for display (for events):
Contact Details
The values here are taken from the chosen contact for the specific event, or the default contact in the settings page.
#_CONTACTNAME
Name of the contact person for this event (as shown in the dropdown when adding an event).
#_CONTACTUSERNAME
Contact person's username.
#_CONTACTEMAIL
E-mail of the contact person for this event.
#_CONTACTURL
Website of the contact person for this event.
#_CONTACTPHONE
Phone number of the contact person for this event. Can be set in the user profile page.
#_CONTACTAVATAR
Contact person's avatar.
#_CONTACTPROFILELINK
Contact person's "Profile" link. Only works with BuddyPress enabled.
#_CONTACTPROFILEURL
Contact person's profile url. Only works with BuddyPress enabled.
#_CONTACTID
Contact person's WordPress user ID.
#_CONTACTMETA
Display any user meta of a WordPress account by including the meta key, e.g. #_CONTACTMETA{dbem_phone}
@joneiseman, so I can add contact placeholders, #_CONTACTNAME etc, into the HTML of the format for a single event. Where can I enter the value for the placeholder?