• Resolved agardnerik

    (@agardnerik)


    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:

    https://support.theeventscalendar.com/182043-Change-the-text-for-iCal-and-Google-Calendar-export-buttons

    // 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)
  • Hey there,

    Thanks for reaching out ??

    I’m sorry for the wait! We’ve been experiencing a high volume of support requests.

    Hopefully you’ve found a solution by now, but I figured I’d offer an option just in case. Can you replace this string with a third-part plugin like this ? https://www.ads-software.com/plugins/say-what/

    Take care,
    Ed ??

Viewing 1 replies (of 1 total)
  • The topic ‘Change the text for iCal export button after latest release?’ is closed to new replies.