Changing Button Name on Month page of Calendar?

Home Forums Calendar Products Events Calendar PRO Changing Button Name on Month page of Calendar?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1374477
    James
    Participant

    Hi,

    How do I change the name on the +Export Events button seen on the Month Calendar Page?

    I’ve look through the translation files and template files to no avail.

    Any assistance would be appreciated.

    Cheers

    James

    #1374987
    Patricia
    Member

    Hey James,

    Thank you for reaching out to us!

    Did you check the following article? It has a code snippet that will change the text for iCal and Google Calendar export buttons as requested:

    Custom Subscribe and Export Button Labels

    I hope this helps! If you have any other questions at all please feel free to let me know and I’d be happy to help as best I can!

    Cheers,

    Patricia

    #1375076
    James
    Participant

    Hi Patricia,

    Thanks for the link to the code snippet, always good to have these saved for future use.

    I used the snippet in the function.php file in my child theme, every thing worked as intended BUT it only applies to the buttons on the single event page.

    I’m trying to change the button on the main month Calendar page which this snippet doesn’t seem to effect. This is the page I’m trying to target. On this page

    Have a great weekend.
    Thanks, Cheers
    James

    #1375082
    James
    Participant

    Hi again Patricia,

    I just worked it out using this code in the functions.php file in the child theme;

    /* Change the iCal export button text */
    add_filter( ‘tribe_events_ical_export_text’, function () { return ‘Export Activities’; } );

    So you can go ahead and close this ticket thanks.

    Cheers
    James

    #1375853
    Patricia
    Member

    Hi James,

    You are welcome! I’m glad to hear that everything is working as expected now šŸ™‚

    If you have any other questions at all, please open a new thread and we will be happy to assist!

    Cheers,

    Patricia

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Changing Button Name on Month page of Calendar?’ is closed to new replies.