How To Change The Text

Home Forums Calendar Products Events Calendar PRO How To Change The Text

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #54311
    englandrm
    Participant

    I’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?

    #54619
    Neill
    Member

    Hi 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

    #54620
    Neill
    Member

    Just 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’));

    #54628
    englandrm
    Participant

    Wow, 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.

    #54946
    Leah
    Member

    Hey 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,
    Leah

    #55268
    Neill
    Member

    Hi 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

    #56943
    Neill
    Member

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

    #980247
    Support Droid
    Keymaster

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

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘How To Change The Text’ is closed to new replies.