Archived topic
Adsense using hooks
1 reply · Started by Whelen Troy on March 1, 2019
Hi David and Tom,
I can't find any existing forum that can solve my problem. I hope you could help me.
Here's the problem:
I wanted to automatically insert adsense ads in my just before, let's say, my second or third or fourth heading. Is it possible WITHOUT using a plugin?
I am currently using the premium theme. Ans I wonder if I can use "hooks" to achieve this.
Thanks much with your help!
Hi there,
This kind of automatic placement after x amount of words, paragraphs, headings etc.. isn't possible with the Elements module.
While you could likely use a function to achieve it, I think you'd be better off with a plugin like this: https://wordpress.org/plugins/ad-inserter/
Let me know if you need more info :)