Replace 'Website:' text only in Event Details

Home Forums Calendar Products Events Calendar PRO Replace 'Website:' text only in Event Details

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #932785
    360zen
    Participant

    I’m looking to change the ‘Website:’ label under Event details without changing the ‘Website:’ label under Venue details AND without changing core files (obviously). So, I can’t use a string replace function.

    I found this code on the forums, but it isn’t working for me. Not sure where it came from originally.

    The Code In Question

    Any help would be much appreciated.

    #932786
    360zen
    Participant

    It appears my link was removed from the last post (and there’s also no way to edit the post…strange).

    https://gist.github.com/AbacusPowers/5a2753f035c89e2c2323

    #932788
    360zen
    Participant

    Oh my gosh. Sorry, I accidentally clicked “correct answer”. For some reason I can’t post a link using the “link” feature.

    Here’s the URL https://gist.github.com/AbacusPowers/5a2753f035c89e2c2323

    Hoping this doesn’t get ignored because of my mistake…

    #932819
    Brian
    Member

    Hello,

    Not going to get ignored.

    So you would like to change the label, but only on the Event and not Venue and Organizer, correct?

    I did not look at your coding, but easiest thing would be to follow our themer’s guide:

    https://theeventscalendar.com/knowledgebase/themers-guide/

    That will show you how to move templates to your theme to edit there so they are not overwritten on updates.

    Then look to move and edit this file:

    the-events-calendar\views\modules\meta\details.php

    If you edit the Website: label there it will only change it on single events.

    Let me know if you have any follow up questions.

    Thanks

    #943615
    Brian
    Member

    Since I haven’t heard back from you here, I’m going to go ahead and close out this thread. Feel free to start a new thread if you have further issues. Thanks! 🙂

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Replace 'Website:' text only in Event Details’ is closed to new replies.