[ad_1]
I have no experience with creating a child theme, and as far as I can see it is necessary if I want future updates not to delete the added codes in the theme
[ad_2]Copyright © 2020 - 2022, Project DMC - WordPress Tutorials for Beginners- All Rights Reserved. Privacy Policy
Use a plugin. Or make one yourself.
There is no point in doing things “without plugins”. There is no advantage to doing that.
It’s pretty trivial to add a child theme. You just need to add a minimum of 2 files (style.css with a comment block in it and a functions.php)
And your good to go.
Once you’ve got that you can just add a ‘wp_footer’ action and slap your code in.