• We use Events Manager (EM), together with the plugin Ultimate Member (UM) , for an annual arts festival. Each year there are approx 150 artists and a similar number of events. Artists register and create profiles with UM and then we schedule events with EM. However, we want to dynamically link artist meta data (e.g. profile image) with the custom event posts (i.e. for events featuring that artist) in EM’s single event template. For EM we can create custom placeholders and use the Attributes function to do this.

    We want to make UM profile fields / user meta (e.g. for the field “profile image” or others we define in the UM profile form) available for this task in EM? That would mean, for example, that when an artist changes their image, it automatically appears in the corresponding event post(s).

    (Have also posted a complementary support request on the UM forum. Note that we are also pursuing an alternative approach, not reliant on UM, but for now, it would be useful to have any tips on a fallback option).

    Thanks.

Viewing 1 replies (of 1 total)
  • The link to the Artist can be stored as a Custom Attribute. Custom Attributes are stored as post meta so you can use get_post_meta($EM_event->post_id, “artist”) to get the user id for the Artist. Assuming that UM stores the user fields such as “profile image” in the user meta table. You can then retrieve these fields by using get_user_meta. Then you can display these fields in the event page by creating Custom Placeholders for each field and then using these placeholders in the single event template.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.