Remove iCal and Google Calendar Links from all calendar views

Home Forums Welcome! Pre-Sales Questions Remove iCal and Google Calendar Links from all calendar views

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1457335
    Suzanne Cain
    Guest

    I tried your plug in download but it does not work. Is there another coding method to remove ALL export links on ALL calendar pages as they are now required for my site.

    #1458220
    Geoff B.
    Member

    Good evening Suzanne and welcome to the Events Calendar forum!

    Thank you for your interest in our products.
    We’ll be glad to answer your questions.

    You could apply the following snippet in the functions.php file of your theme (without the PHP tag at the top): https://gist.github.com/GeoffEW/b8f0bb5fc2b8510c6ad4f0b60fcf3fb9

    But first to be extra safe, before making any changes to your functions.php file, you should make a backup of that file.

    Let me know how that goes.

    Best regards,
    Geoff B.

    #1458324
    Suzanne Cain
    Guest

    Hi Geoff

    Thanks so much for replying I really appreciate it.

    When pasting the code into functions.php I am receiving the following error.

    Your PHP code changes were rolled back due to an error on line 199 of file wp-content/themes/betheme/functions.php. Please fix and try saving again.

    Cannot declare class Tribe__Events__Remove__Export__Links, because the name is already in use

    Is this because I am trying to use the removal plug in?

    Thanks
    Suzanne Cain

    #1459470
    Geoff B.
    Member

    Hey there Suzanne,

    Thank you for writing back.
    By the looks of it, it sounds like there is another piece of code interfering in the functions.php file of your WordPress theme.

    Could you please send me a copy of the latest version of your WordPress theme / child theme via a link to a .zip file link (stored Dropbox or Google Drive) so that I can run some tests on my end ? I recommend a private reply for that purpose.

    Please ensure you are using the latest files as found on your actual website.
    This way I will get access to any updates or customizations you might have made.

    Hang in there!

    Geoff B.

    #1464601
    Suzanne Cain
    Guest

    Geoff

    Can you supply an email address where I can supply you with the admin panel access log in so you can have a look?

    Thanks
    Suzanne

    #1465187
    Geoff B.
    Member

    Good afternoon Suzanne,

    You can send a copy of the latest version of your WordPress theme / child theme via a link to a .zip file link (stored Dropbox or Google Drive) so that I can run some tests on my end to [email protected]

    Please note however that our support policy does not let us log into customers websites.
    Additionally, just to set expectations, we are fairly limited in the ability to provide technical support for our free the Events Calendar users here in our pre-sales forum.

    Normally, we are more than happy to assist you at one of the following locations:

    Best regards,

    Geoff B.

    #1485039
    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 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Remove iCal and Google Calendar Links from all calendar views’ is closed to new replies.