Change "Recurring Event " label text

Home Forums Calendar Products Events Calendar PRO Change "Recurring Event " label text

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1053184
    Graeme
    Participant

    Hi,

    I’m looking to change the label “Recurring Event ” text in all instances to “Multi Day Event “.

    I don’t wish to change any of the core plugin files as these will be overridden on any upgrade – is there a simple way to do this through a filter or similar?

    Thanks

    #1053218
    George
    Participant

    Hey @Graeme,

    This is unfortunately a tricky thing to do 🙁 I’m sorry to bear that news, but just want to be clear and honest about this. It’s a tricky customization, and one we cannot help with implementing, but there is a method to change text universally that we go over in this knowledgebase article: https://theeventscalendar.com/knowledgebase/change-the-wording-of-any-bit-of-text-or-string/

    I would recommend taking those principles and tinkering with this – this is the best option, and is in fact the only option I can think of other than manually changing all of the text inside the plugin code itself.

    I hope this helps!

    Best of luck with your customization,
    George

    #1053224
    Graeme
    Participant

    Thanks for the speedy response George.

    Your help was spot on, was able to make the correct change.

    For anyone wishing to do this, the key was the string being passed wasn’t just simply “Recurring Event”, but rather “Recurring %s”.

    So change this section on the snippet linked above.

    $custom_text = array(
    ‘Recurring %s’ => ‘Multi Day Event’,
    ‘Related %s’ => ‘Similar %s’,
    );

    #1053262
    George
    Participant

    Thanks for sharing your specific solution, @Graeme! I’m glad this code is working well.

    Best of luck with your project,
    George

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Change "Recurring Event " label text’ is closed to new replies.