• Resolved edonbajrami

    (@edonbajrami)


    Hi everyone, how can I delete an event from custom page. I am using the following code:

    <?php
    echo do_shortcode(‘[events_list]

    • <a href=”#_EDITEVENTURL”
      #_EVENTIMAGE
      <div class=”overlay”>
      <div class=”inner”>
      <h4>#_EVENTNAME</h4>
      <p>#_EVENTEXCERPT</p>
      </div>
      </div>
    • [/events_list]’); ?>

      I need to show the delete and edit button after paragraph. I can show and edit the event but how can I delete the event ?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Delete event shortcode’ is closed to new replies.