Hi, I would like to modify this files : lightgallery-all.min.js. I duplicated it in my child theme but it don't seems to work. Did the js folder support the Child Theme architecture ? Thank you
No, only PHP functions and "wordpress templates" are supported by the child theme.
If you like to change JS file, you can do it of course in child theme, but first you have to de register original file, and then register yours. Something similar to that is done for style in child theme in functions.php.
I have never done it so I don't have ready code, but you should be able to pull it off if you know WordPress code a bit :-)
Comments
No, only PHP functions and "wordpress templates" are supported by the child theme.
If you like to change JS file, you can do it of course in child theme, but first you have to de register original file, and then register yours.
Something similar to that is done for style in child theme in functions.php.
I have never done it so I don't have ready code, but you should be able to pull it off if you know WordPress code a bit :-)
With kind regards.