How can I access variables from theme in child theme? [closed]


I am using a WordPress theme (Kalium Theme) as a base and extending it with my own child theme, which includes javascript & php files.
The parent theme uses a image carousel plugin (Flickity) to display e.g. product image galleries doesn’t work exactly the way I want it to.
I need access to the flickity instance outside of the Kalium main libraries.
Can you advise me on how best to access the carousel objects and manipulate them in javascript without directly changing Kalium Core files? I am talking about adding event listeners to the flickity instance and changing settings in the instance.

, , hjXPYk22 3 years 2020-03-27T12:51:24-05:00 0 Answers 112 views 0

Leave an answer