Child theme inside TT5 – Enqeue child theme.json
-
Hi TT5
I am moving my child theme inside TT5 in it’s own folder, so that it can easily be transfered when upgrading to TT6 etc. as follows:
Folders
- TT5
-- Child Theme
--- functions
---- functions-woo.php and all other sub functions
--- assets
---- css
----- child-woo.css and all other sub cssfunctions.php in child theme enqeues sub functions with dependencies. This code I place in Code Snippets plugin. Why ddo I do this? so that I can do codes remote in VSC. This is not possible in Code Snippets. So once the enqeue is in order it should work I trust …? while maintaining the design of TT5.
Now for theme.json. I have some child json, and I would like to keep this within the child theme folder, but I wonder how I can trigger/enqeue this child-theme.json file from this location as I do not want it overwritten in anyway. Also not overwrite theme.json from TT5 and finally, I want everything inside one single child folder, for easy consistent transfer in the future.
I hope this is somewhat clear, so how do I enqeue child theme.json?
- You must be logged in to reply to this topic.