Support

Home Forums Event Espresso Premium Event main page template

Event main page template

Posted: January 16, 2020 at 8:12 pm

Viewing 5 reply threads


D42 Toastmasters

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.
How can I do this?
Here is the link to our webpage
https://d42tmevents.org/events/2020-conference-fully-connected/
pls help


Tony

  • Support Staff

January 17, 2020 at 4:55 am

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/


D42 Toastmasters

January 20, 2020 at 8:13 pm

This reply has been marked as private.


Tony

  • Support Staff

January 21, 2020 at 3:43 am

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?


D42 Toastmasters

January 21, 2020 at 11:45 am

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.
Are you saying that once the plugin is created and activated it will do its magic and no further action on my part is required? Maybe I did something wrong but the plugin just sits there among other installed plugins but does nothing.
What am I missing?


Tony

  • Support Staff

January 21, 2020 at 12:42 pm

Are you saying that once the plugin is created and activated it will do its magic and no further action on my part is required?

Correct. I’ve just confirmed this on a test site to double-check the snippet is still valid.

Maybe I did something wrong but the plugin just sits there among other installed plugins but does nothing.
What am I missing?

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)

Viewing 5 reply threads

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.

Event Espresso