Can I add a "edit this event" link to the front end?

Home Forums Calendar Products Community Events Can I add a "edit this event" link to the front end?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1140889
    Kadi Driscoll
    Participant

    Hi everyone, I’ve been made aware that it is incredibly cumbersome for people to find their events using the basic filter options especially when they have posted reoccurring events. Basically the only option it to hide ALL reoccurring events or none. I’m looking for a way to either add a “edit this event” link to individual events on the front end or have the filter show only the first event in a reoccurring series.

    I’m not sure if the filtering options shown in the attached file are native or a component of one of the plugins I’m using which are:
    The Events Calendar
    The Events Calendar PRO
    The Events Calendar: Community Events
    The Events Calendar: Filter Bar
    The Events Calendar Category Colors
    The Events Calendar Shortcode

    Can anyone offer a relatively straight forward solution, I’m not too advance & do not have coding experience but would be fine directions.

    I really appreciate it!
    Kadi

    #1141283
    George
    Participant

    Hey Kadi,

    Thanks for reaching out.

    Doing this is indeed technically possible, but I should note that the “Edit event” links will ONLY be visible if the current user on the site is a logged-in user of the administrator or editor level. If they are not logged in, or ARE logged in but are of the “subscriber”, “author”, or “contributor” user level, the edit link will not show.

    Is this still something you’d be interested in? We cannot help with writing custom code as per our support policy, but I can definitely point you in the right direction. You’ll want to use the WordPress function get_edit_post_link() which you can read about here → https://codex.wordpress.org/Template_Tags/get_edit_post_link

    Let me know if what I described above is not sufficient; if you need that edit link visible to ALL site visitors, then unfortunately a much, much more complex customization would be required. 🙁

    — George

    #1149531
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Can I add a "edit this event" link to the front end?’ is closed to new replies.