[Resolved] How to Insert Google AdSense Code without Plugin?

Home Forums Support [Resolved] How to Insert Google AdSense Code without Plugin?

Home Forums Support How to Insert Google AdSense Code without Plugin?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1094489
    Suraj Katwal

    I want to insert the AdSense code on my website. I was using MyThemeShop and I was using custom code in functions.php to insert ads after Title in the single page, after 4th paragraph and after content. So, how to do this in GPP? It is possible using hooks?

    Also how to insert ads below the menu/header in GPP?

    #1094707
    David
    Staff
    Customer Support

    Hi there,

    this plugin to insert adverts within the content:

    https://en-gb.wordpress.org/plugins/ad-inserter/

    To insert after nav/header then you can use the Hook Element:

    https://docs.generatepress.com/article/hooks-element-overview/

    #1094732
    Suraj Katwal

    So there isn’t any solution to insert ads between paragraphs using Hooks?

    #1094790
    Leo
    Staff
    Customer Support

    Unfortunately not as there are no hooks between paragraphs.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.