Home › Forums › Welcome! › Pre-Sales Questions › Remove iCal and Google Calendar Links from all calendar views
- This topic has 6 replies, 2 voices, and was last updated 8 years, 1 month ago by
Support Droid.
-
AuthorPosts
-
February 19, 2018 at 3:22 am #1457335
Suzanne Cain
GuestI 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.
February 19, 2018 at 6:12 pm #1458220Geoff B.
MemberGood 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.February 20, 2018 at 12:06 am #1458324Suzanne Cain
GuestHi 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 CainFebruary 20, 2018 at 11:37 pm #1459470Geoff B.
MemberHey 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.
February 27, 2018 at 3:12 am #1464601Suzanne Cain
GuestGeoff
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
SuzanneFebruary 27, 2018 at 11:29 am #1465187Geoff B.
MemberGood 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:
- On the WordPress.org support forum for the Events Calendar.
- If you’re a current premium license holder for one of our premium offerings, please log in to your account and submit a post to the appropriate forum for the affected product.
Best regards,
Geoff B.
March 21, 2018 at 9:35 am #1485039Support Droid
KeymasterHey 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 -
AuthorPosts
- The topic ‘Remove iCal and Google Calendar Links from all calendar views’ is closed to new replies.
