Archived topic
Insert ads
3 replies · Started by Dilip Kumar on July 28, 2018
Hi,
I am looking to insert 2 ads in my blog. The first one immediately after the navigation bar and the second one immediately after the last paragraph in the post.
There are already a lot of plugins installed and hence I did not want to add another plugin. Can you help me do it with the Generatepress Hooks.
You might see an ad running after the navigation bar, which is something I did using ad inserter plugin. But I don't want to be using that plugin.
Regards
Dilip
Hi there,
yes GP hooks you can add your ad code directly to them. There are a number of accessible in the Hooks add-on but a lot more that aren't - but will be in the new GPP 1.7 update.
This visual guide will help:
https://docs.generatepress.com/article/hooks-visual-guide/
For the other hooks you can find the list here each have a link to show how you can access them:
Do you mean to say that I can directly add the "Ad Code" to the hooks and it will display the ads?
Yes, it will need to be wrapped in <script> code </script> tags