Removing two buttons from Event

Home Forums Ticket Products Event Tickets Plus Removing two buttons from Event

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1412316
    whgoode
    Participant

    I tried finding in Knowledgebase, but couldn’t. How can I remove the Google Calendar button and the ICAL export button from each event? (Do not confuse with Google Maps. I want to keep that and it’s working OK). See image below of the 2 buttons I would like to remove

    #1412675
    Patricia
    Member

    Hi there,

    Thank you for reaching out to us!

    To remove the “Export” Links from Event Views, you can add the following snippet in theme’s functions.php file (without the <?php opening tag):

    https://gist.github.com/nefeline/313d861e13eea64079b1e8aea203e051

    If you have any other questions at all please feel free to let me know and I’d be happy to help as best I can!

    Cheers,

    Patricia

    #1412925
    whgoode
    Participant

    It didn’t work (see instructions from Patricia below). I tried it with and without the <?php opening tag. The buttons appear AFTER you select the “event” on a date in the calendar.
    If you go to our page: http://www.victoryfirearmstrainingllc.com/files/event/nrs-basic-pistol/ and scroll down, you will see where the buttons are located.
    I am inserting the code right after the code that loads the “contact” form. Maybe I am inserting it in the wrong location.
    Thank you for your help

    #1413171
    Patricia
    Member

    Hi there,

    The snippet is working properly in my local WordPress install. Could you please make sure that:

    • You are adding the snippet in your theme’s functions.php file or in your own custom plugin?
    • Also, please purge your site cache and your browser cache after this change.

    thanks,

    Patricia

    #1429492
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Removing two buttons from Event’ is closed to new replies.