Support » Plugin: WP Event Manager » Venue – New Image Field Now DIsplaying

  • Resolved agiddens1


    I’ve added a new multiple image field in the field editor for venues. Meta Key is _images.

    Its not displaying on the venue page.

    How do I make the images appear?

Viewing 1 replies (of 1 total)
  • Plugin Contributor Priya Goenka



    We have not Provided the display of the Venue custom fields,

    You can use the following sample code and change as per your needs for Venue,

                        $GLOBALS['event_manager']->forms->get_form('submit-organizer', array());
                        $form_submit_organizer_instance = call_user_func(array('WP_Event_Manager_Form_Submit_Organizer', 'instance'));
                        $fields = $form_submit_organizer_instance->get_event_manager_fieldeditor_fields();
                        $default_fields = $form_submit_organizer_instance->get_default_fields();
                        $additional_fields = [];
                        foreach ($fields['organizer'] as $field_name => $field_data) {
                            $meta_key = '_' . $field_name;
                            $field_value = get_post_meta($organizer->ID, '_' . $field_name, true);
                            if (!empty($field_value)) {
                                echo "<strong>".$field_name.": </strong>".$field_value."<br>";

    Put this code in \plugins\wp-event-manager\templates\organizer\content-single-event_venue.PHP where you want to display fields.


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