rfranci3
Forum Replies Created
-
Forum: Plugins
In reply to: [The Events Calendar] Remove ‘add to calendar’ button from past eventsThanks for sharing that, @abzlevelup.
However, I ended up addressing this through a different method. I used that snippet to get rid of the button for all single event entries and then manually added a separate calendar button to upcoming events through the gutenberg editor.
Thanks,
ReubenForum: Plugins
In reply to: [The Events Calendar] Remove ‘add to calendar’ button from past eventsHi @abzlevelup, thank you for sharing that snippet. Alas, I think we misunderstood each other. I am trying to remove the “Add to Calendar” button from past single events (like this one)
Separately, I also didn’t need the “Subscribe to Calendar” button at all. So I removed it with this snippet:
add_filter( ‘tribe_template_html:events/v2/components/subscribe-links/list’, ‘__return_false’ );
No need for a conditional for this one – I’m all set.
Is it possible to repurpose your snippet for the “Add to Calendar” button on single past events?
Thanks,
Reuben- This reply was modified 3 years, 7 months ago by rfranci3.
Forum: Plugins
In reply to: [The Events Calendar] Remove ‘add to calendar’ button from past events@abzlevelup Sure thing – I’ve removed that filter for now.
Forum: Plugins
In reply to: [The Events Calendar] Remove ‘add to calendar’ button from past eventsHi @abzlevelup, thanks for your response! Sure, CSS works too. Here is my website, my events calendar page, and my past events page. Not sure where the events archive page is but I haven’t deleted/archived anything, so they should all be in past events. Anything else I can share that’s helpful?
Thanks,
Reuben