How to edit text

Home Forums Calendar Products Filter Bar How to edit text

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1453523
    Beau Boeye
    Participant

    Hi, I was wondering how I can change the text of the titles in the photo I linked. I’m hoping to change the “Events In” text to something else.

    #1454592
    Andras
    Keymaster

    Hi Beau,

    The easiest way to go about this would be the following:

    1. Install the “Say What” plugin from the .org repo and activate it
    2. Go to Tools > Text Changes and add a new one
    3. Original string is “%1$s In” (don’t include the quotation marks)
    4. Text domain is “the-events-calendar” (no quotes)
    5. Text context is empty
    6. Replacement string is what you would like
    7. Save and watch the magic 🙂

    Does this do the trick for you?

    Cheers,
    Andras

    #1454603
    Beau Boeye
    Participant

    András, thank you for the response. Unfortunately, that didn’t do the trick.

    When I insert a replacement string, do I need to add any special characters? I’m looking to change the text to “Choose A Month”.

    #1454618
    Andras
    Keymaster

    Oh, I’m sorry, I made an error.

    The original string is “%s In”.

    It is case and character sensitive, so there cannot be any extra spaces and so.

    A.

    #1454630
    Beau Boeye
    Participant

    András, you ‘da man! That did the trick. Thank you!

    #1454659
    Andras
    Keymaster

    Stoked to hear it worked!

    You can basically change almost any string like that. You can look up the strings in the .pot files which come with the plugins and can be found in the “lang” folder. Sometimes you need to add the context as well, should be easy to recognize.

    I am going to close this ticket, but if you need anything else related to this topic or another please create a new ticket and we’ll be happy to help.

    Cheers,
    Andras

    PS: If you like our plugins, and you didn’t yet do so 🙂 we would be happy to receive a review in the wordpress.org repository. Thanks!
    https://wordpress.org/support/view/plugin-reviews/the-events-calendar/
    https://wordpress.org/support/view/plugin-reviews/event-tickets/

    PS2: We’d be also grateful if you would give us feedback on your satisfaction with support. Just click on one of the classy looking emojis below. 🙂 If you can spare a few words, that’s even better. Doublethanks!

     

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘How to edit text’ is closed to new replies.