Support » Plugin: Events Manager - Calendar, Bookings, Tickets, and more! » Customize Edit events page – front end

  • Resolved writegnj

    (@writegnj)


    On Edit events page in front-end, it displays event title(with a link to edit event) and delete button.

    I like to add extra edit button to edit event and make event title link to go to actually event page instead.

    what would be the best way to accomplish that?

    Thanks for the great plug-in!

    http://wordpress.org/plugins/events-manager/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    hi,

    is this using frontend event submission form ?

    Thread Starter writegnj

    (@writegnj)

    Yes, I am. I kind of solved problem myself but still not sure it’s the best way to do it.

    So I made plugins folder in my custom theme folder. then placed events.php file below location and made some changes.

    My Custom Theme folder > plugins > events-manager > tables > events.php

    on events.php, I edited

    line 188 to <a class="row-title" href="<?php echo esc_url($EM_Event->get_permalink()); ?>"><?php echo esc_html($EM_Event->event_name); ?></a>

    Added
    <a href="<?php echo esc_url($EM_Event->get_edit_url()); ?>"><?php _e('Edit','dbem'); ?></a>
    on line 220 right before the “delete” button

    Is the edit link you added working for you? That looks like a valid way to achieve it…

    Thanks

    Thread Starter writegnj

    (@writegnj)

    yes. it works fine for me. thanks for the response.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Customize Edit events page – front end’ is closed to new replies.