Help Desk

How to edit text

  • Posts: 4 Topics: 3
    | Permalink

    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.

    Posts: 6677 Topics: 2
    | Permalink

    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

    Posts: 4 Topics: 3
    | Permalink

    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”.

    Posts: 6677 Topics: 2
    | Permalink

    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.

    Posts: 4 Topics: 3
    | Permalink

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

    Posts: 6677 Topics: 2
    | Permalink

    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!

     

    | Permalink

The topic ‘How to edit text’ is closed to new replies.