• 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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • 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}

    I use categories to display organisers. Each organiser is their own category, and category notes can be used to show more info about them.

    You can assign categories to events (see https://wp-events-plugin.com/documentation/event-categories/).

    You would need to modify the template file for the event to display the category and category description (see https://www.wpbeginner.com/wp-tutorials/how-to-display-category-descriptions-in-wordpress/ and https://wp-events-plugin.com/documentation/using-template-files/).

    If you’re not using Event Categories but are instead using WordPress categories then there’s no simple way to do that.

    Thread Starter martal

    (@martal)

    Thanks all for your suggestions.

    @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?

    The #_CONTACTNAME etc only work if you specify an author when creating an event. The author has to be a user on the wordpress site and they need to have permission to publish events as described here: https://wp-events-plugin.com/documentation/user-event-guest-submissions/.

    Here’s where you specify the author when creating an event:

    Once you have done this #_CONTACTNAME will work without having to specify anything additional (other than the Author).

    It’s really not practical to use categories for the author.

    • This reply was modified 1 year, 8 months ago by joneiseman.
    Thread Starter martal

    (@martal)

    I am getting further into Events Manager, after an unsuccessful detour to The Events Calendar.

    My original request was too specific, without enough knowledge. There are other ways to display organisers.

    So I will be adding a section to the Locations framework and use location attributes.

    But I’m not familiar with the HTML of attributes. Is there Events Manager documentation on this, or more generally? I’m not even sure of the terms.

    And is CSS editing done by child theme style.css? I suppose there will be a lot of !important

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Create Organisers’ is closed to new replies.