Home › Forums › Calendar Products › Filter Bar › How to edit text
- This topic has 6 replies, 2 voices, and was last updated 6 years, 2 months ago by Beau Boeye.
-
AuthorPosts
-
February 14, 2018 at 1:59 pm #1453523Beau BoeyeParticipant
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.
February 15, 2018 at 11:58 am #1454592AndrasKeymasterHi Beau,
The easiest way to go about this would be the following:
- Install the “Say What” plugin from the .org repo and activate it
- Go to Tools > Text Changes and add a new one
- Original string is “%1$s In” (don’t include the quotation marks)
- Text domain is “the-events-calendar” (no quotes)
- Text context is empty
- Replacement string is what you would like
- Save and watch the magic 🙂
Does this do the trick for you?
Cheers,
AndrasFebruary 15, 2018 at 12:08 pm #1454603Beau BoeyeParticipantAndrá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”.
February 15, 2018 at 12:24 pm #1454618AndrasKeymasterOh, 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.
February 15, 2018 at 12:30 pm #1454630Beau BoeyeParticipantAndrás, you ‘da man! That did the trick. Thank you!
February 15, 2018 at 12:46 pm #1454659AndrasKeymasterStoked 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,
AndrasPS: 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!
-
AuthorPosts
- The topic ‘How to edit text’ is closed to new replies.