Hello, I need help from you. As in Anima (Anima v1.4.1) add code to the site. I am going to paste the code just before the </head> closing tag. How can I do that?
It is bad practice to modify theme, plugin or WordPress files directly. WordPress’ customizable nature stems for its complex use of hooks and filters.
To add (javascript) code to the site’s header you should use a plugin like https://wordpress.org/plugins/header-and-footer-scripts/
If you’re looking to add PHP code (or plain HTML) in the header, you should do that using a child theme or a mini-plugin and hook the code to an existing hook, such as wp_head.