File Structure for editing tribe-events-ajax-maps.js in the child theme

Home Forums Calendar Products Events Calendar PRO File Structure for editing tribe-events-ajax-maps.js in the child theme

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1286467
    Mike
    Participant

    Hi There!

    I am making changes to the styles of my map in tribe-events-ajax-maps.js. The changes are happening successfully inside the plugin folders plugins/events calendar pro/src/resources/js/tribe-events-ajax-maps.js, but I would like to safeguard this code from update overwrites by adding it into my child theme, but unfortunately the docs here do not specify how to add these .js files to my child theme

    Is this possible to do and if so, how would I do it?

    Thanks!

    #1286686
    Shelby
    Participant

    Hi Jonah,

    I’m happy to help! 🙂

    So, just follow the same pattern as with saving the other files. Duplicate the structure of the folder path that’s relevant from our plugin in your child theme, just as is instructed with the php files under, “Here’s how it’s done: 1. Make a copy of the templates you want to customize…”

    Please let me know if this makes sense!

    Best,

    Shelby 🙂

    #1286802
    Mike
    Participant

    Thank you very much for your help!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘File Structure for editing tribe-events-ajax-maps.js in the child theme’ is closed to new replies.