Change to plugin file / copy file to theme folder

Home Forums Calendar Products Events Calendar PRO Change to plugin file / copy file to theme folder

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1532691
    otherness
    Participant

    I have made a small change to the file:

    the-events-calendar/src/functions/template-tags/venue.php

    Can I copy this to my theme folder so it doesn’t get overwritten by plugin upgrades?

    What location should the copy live in?

    Thanks

    #1532924
    Sky
    Keymaster

    Hi there!

    Unfortunately, only the template files can be overridden by simply placing them in your child theme “tribe-events” folder.

    However, all of the methods in the file you referenced have filters on the output. You can modify the output of any of these from your functions.php file by using the ‘add_filter()‘ function.

    Let me know if that helps, or if you have any other questions about this.

    Thanks,
    Sky

    #1549460
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Change to plugin file / copy file to theme folder’ is closed to new replies.