• Resolved missourivendorassociation

    (@missourivendorassociation)


    I would like to not have the URL field on the form. It confuses my users and it isn’t needed.

    How do I not have that show up on the edit/add event/location form?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Create the directory wp-content/plugin-templates/events-manager/forms/event then copy wp-content/plugins/events-manager/templates/forms/event/location.php to that directory then modify the copied version. Remove lines 138 through 141 of the file, these lines:

                            <div class="input em-location-data-url">
    <label for="location-url"><?php esc_html_e( 'URL', 'events-manager')?></label>
    <input id="location-url" type="text" name="location_url" value="<?php echo esc_attr($EM_Location->location_url); ?>" >
    </div>
    Thread Starter missourivendorassociation

    (@missourivendorassociation)

    Thank you. That worked. However, I just commented out the lines just in case I want to add it back later. I used <!-- Lines to remove here --> to comment it out.

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