Change "All Events" Back Link In Single Event View
I’m trying to change the wording for “All Events” in the single event view. It is the link that takes you back to the “events” page. I tried the snippet provided by the forum but it missed up my translations.
Any help with the issue is really appreciated.
Hey Faze, thanks for reaching out!
I think the best way to change the wording in this case would be to edit the single-event.php template here the link is located. You can find the template here:
The link starts on line 27.
It’s also worth noting that you can override calendar templates in your theme directory (more on this in our Themer’s Guide) to prevent losing any changes on future plugin updates.
Thanks Geoff for your prompt and informative response.
Now the “All Events” issue is resolved. What about “EVENTS FROM” and “Date” in the nav bar? I would like to change the wording on these too.
You might want to consider using the Say What? plugin for your translations if you have several like this–managing the changes in the plugin will be much easier than managing them in templates. Say What? will let you change the text of any wording in the calendar.
Say What misses some of the other translations on my website, that is why I need to figure out where to find the exact location of the strings in the nav bar from the code.
Ah, gotcha. Thanks for clarifying!
We have a tutorial that provides step-by-step instructions for overriding existing language files in the plugin so that changes do not get lost on future plugin updates.