Support

Home Forums Event Espresso Premium Change ”Add to iCal Calendar” text to generic wording.

Change ”Add to iCal Calendar” text to generic wording.

Posted: May 8, 2019 at 3:41 pm


driveinteractive

May 8, 2019 at 3:41 pm

I read support posts from years ago on this but wondered if any more flexibility was available here. My client’s website visitors seem to think ical is for apple calendars only. Change in wording is required for the hover over in the widget and messages. I could pay for support on this if it’s helpful.


driveinteractive

May 8, 2019 at 3:41 pm

I read support posts from years ago on this but wondered if any more flexibility was available here, both for the hover over in the widget and messages. I could pay for support on this if it’s helpful.


Tony

  • Support Staff

May 9, 2019 at 3:55 am

Hi there,

Whilst we can do this for you on your site if you purchase a support token if you are comfortable with an FTP client you can add the code needed to change that string fairly easily.

The code needed can be found here:

https://gist.github.com/Pebblo/21e43b048ecd057ee1aaf7c2d111734a

That’s a function used to ‘translate’ strings on your site so that even if theres no filter available specifically for that text (such as the the case of the iCal string) you can still change the text.

The part that changes your text is:

'Add to iCal Calendar' => 'Add to Calendar',
{original string to translate} => {string to replace it with}

So you can change the string on the right to something else if you prefer.

You then add that to a custom functions plugin on your site and we have some documentation on creating one here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

That change should change the text on both the site itself, and any messages sent after you have added the above.

The support post ‘Change ”Add to iCal Calendar” text to generic wording.’ 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