Change the text for iCal export button after latest release?
-
I want to change the text on the “+ ICAL EXPORT” button to read “Export to Calendar” but the snippet from the following page no longer seems to be working:
// Changes the text labels for Google Calendar and iCal buttons on a single event page remove_action( 'tribe_events_single_event_after_the_content', array( tribe( 'tec.iCal' ), 'single_event_links' ) ); add_action( 'tribe_events_single_event_after_the_content', 'customized_tribe_single_event_links' ); function customized_tribe_single_event_links() { if ( is_single() && post_password_required() ) { return; } echo '<div class="tribe-events-cal-links">'; echo '<a class="tribe-events-gcal tribe-events-button" href="' . tribe_get_gcal_link() . '" title="' . __( 'Add to Google Calendar', 'tribe-events-calendar-pro' ) . '">+ Export the Map </a>'; echo '<a class="tribe-events-ical tribe-events-button" href="' . tribe_get_single_ical_link() . '">+ Export to Calendar </a>'; echo '</div>'; }
Is this due to the Gutenberg block editor update? I do not have the block editor enabled, and my client doesn’t want it enabled. I know you can change the label using that editor, but my client does not want to use the block editor.
Thanks.
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Change the text for iCal export button after latest release?’ is closed to new replies.