Posted: January 16, 2020 at 8:12 pm
I want to remove from the event page [ESPRESSO_TICKET_SELECTOR event_id=50] icons linked to icalCalendar. |
|
Hi there, To remove those you can add this snippet to your site: https://gist.github.com/joshfeck/1bc3731cd1c468916c7f You can add that to a custom functions plugin on your site, we have some documentation on creating one here: https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/ |
|
This reply has been marked as private. | |
You need to create a plugin to hold custom functions on your site (the link above explains how) and then place that snippet within that custom functions plugin itself. Which means you don’t edit the single event page to remove those iCal icons, the snippet does it for you when you include it on the site in a plugin. The doc I gave you provides step by step details of how to create the plugin you need so I’m not sure what additional details I can provide. Do you have FTP access to the site and know where your sites root directory is? |
|
Tony, I understand how to create the custom plugin and how to add your snippet of code to it. That was not my question. I am not sure what to do with this newly created custom plugin. It does not seem to make a difference. |
|
Correct. I’ve just confirmed this on a test site to double-check the snippet is still valid.
Can you post the full contents of your custom functions plugin to Pastebin and add the link to it here so I double-check that? Usually, there is an issue with the code itself or the plugin hasn’t been activated (you mentioned is has so I’ll need to see the code in use) |
|
The support post ‘Event main page template’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.