Hello everyone.
I’m trying to insert a javascript code right before the tag. I have tried to use a plugin that allows me to set the priority. However, in spite of using 1000 priority, there are still scripts that are below it. For now, I need to where and how (which theme file) I can inject this piece of javascript so that it is the closest to the tag. This is just to determine if this code will work at all.
Although, if someone does have a suggestion on how I can permanently put this code without it being superseded by another script, I would appreciate it!
The script that seems to hold the lowest spot, from what I can see has the priority set to 1000, which after I adjusted in the plugin files, did nothing to change it. I’m wondering if changing the priority is not enough and one must dequeue it and then enqueue it. Obviously, I would rather not mess with plugin files.
Thanks in advance!