Hi and good day.
So i have a script that adds some advertisements but right now i placed it in the "overall_footer.php" file, and that way it runs on the entire site. But doing so results in activating the script when people trying to login or use the navigation. This is really annoying and i dont want too much advertisements on my site.
So i just want the script to run when someone clicks on a link in a user made post. But i looked everywhere in the code and i just cannot find where i need to put it. Can someone tell me what file to edit and where the code for the posts layout and such is? Btw iam not a programer, i just know the basics, thats also why this is hard for me.
Well i hope someone is nice enough to help me with this