[Support request] Custom code in per domain on a multisite install

Home Forums Support [Support request] Custom code in per domain on a multisite install

Home Forums Support Custom code in per domain on a multisite install

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #978654
    GWM

    Hi all, I have GP running on a multisite setup, and it’s working great – really happy with it! However, Google Adsense is now requiring me to add a custom js tag in my <head> that is specific for each domain on my multisite network, so I cant just paste it in header.php. Do you know how I can achieve this?

    Thanks!
    Jesse

    #978684
    Leo
    Staff
    Customer Support

    Hi there,

    You can try using wp_head in Hooks Elements which would be specific for that sub-domain:
    https://docs.generatepress.com/article/hooks-element-overview/

    Let me know if this helps 🙂

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