Home › Forums › Calendar Products › Events Calendar PRO › How To Change The Text
- This topic has 7 replies, 4 voices, and was last updated 10 years, 9 months ago by
Support Droid.
-
AuthorPosts
-
July 10, 2013 at 10:48 am #54311
englandrm
ParticipantI’ve only found 1 so far, but what files can I find the following text in?
“Events For July” (on top of calendar)
“Venue” (in the event details)
And how can I remove the Google/I Calendar from both the event and calendar pages?
July 11, 2013 at 2:24 pm #54619Neill
MemberHi englandrm
Thanks for getting in contact with us. Those are great questions.
I have a link for you for one of those items:
First the heading at the top of the calendar: https://theeventscalendar.com/alter-or-remove-heading/
For the iCal and Google Calendar buttons you can add a line of code in your functions.php file which removes it for you:
remove_action('tribe_events_single_event_after_the_content', array('TribeiCal', 'single_event_links'));For the venues in the event details I would first like to ask the what your goal is with this, just to make sure I’m giving you the best answer. Are you planning on re-formatting it or maybe getting rid of the venue displaying all together? If so there maybe a way to do this without removing that code from the file, therefore protecting the functionality for future use, just in case you’d like to use it again later.
Hope that helps for now, and feel free to get back to me regarding the venues and I can get that sorted out for you too.
Neill
July 11, 2013 at 2:26 pm #54620Neill
MemberJust incase you didn’t see all of that code block (it scrolls left to right):
remove_action(‘tribe_events_single_event_after_the_content’, array(‘TribeiCal’, ‘single_event_links’));
July 11, 2013 at 2:43 pm #54628englandrm
ParticipantWow, thanks a ton. That makes things easy on me.
For the “Venues,” it’s on the single event page to the right of the details. I really just want to change it from “Venues” to “Locations” or “Stops.” I’m using it for a bus, and venues doesn’t necessarily describe the stops.
July 12, 2013 at 6:58 pm #54946Leah
MemberHey englandrm,
We don’t do support over the weekend, but Neill will be back in touch as soon as possible. Thanks for your patience.
Best,
LeahJuly 15, 2013 at 2:05 pm #55268Neill
MemberHi Englandrm,
Yes that is a unique little application for this plugin. I can see how the “venue” label would be better changed to a slightly different label
I spoke to a few teammates about this one and came up with a little bit of code here for your functions.php file: https://gist.github.com/neillmcshea/d13ff6c0b77ecf32c8ff#file-gistfile1-php
This little snippet should give you what you need, and in this example we have replaced the venue with “Place” so feel free to change it to what ever you thing would be more appropriate.
Let us know if there is anything else we can help you with, and thanks again for bearing with us.
Neill
July 24, 2013 at 1:14 pm #56943Neill
MemberHi englandrm,
Just checking to see how everything worked out. If I don’t hear back in the next few days I’ll close out the ticket, but feel free to open a new thread and we’ll be able to help you there too.
July 7, 2015 at 6:27 am #980247Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘How To Change The Text’ is closed to new replies.
