Archived topic
Help with element hook
3 replies · Started by generator mag on February 9, 2021
Hello, would like to know how can I add amazon's one link tag. It's a script that I'm supposed to add to the footer. So, as I read in other recommendations in the forum, I made a hook and set it for wp_footer, priority 10, location entire site. But it seems like it's not working.
What am I doing wrong? Please help.
Hi there,
That should be the correct method. How do you know when it's working/not working?
Did you make sure to clear all caching plugins or server cache if you are using them?
The hook element simply adds the code for you and cannot make it work or not work.
I just double checked and looks like everything is working fine. Thanks
No problem :)