Support » Theme: Neve » Adsense in HEADER ?

  • Resolved dimalifragis

    (@dimalifragis)


    Hello.

    I’m trying to find a way to put the adsense script in the header area of Neve.

    Shortcode in header via the customizer (while supported) when inserted (using Ad Inserter) shows the js script and doesn’t work.

    HTML in the header via customizer, puting the raw script of adsense, also shows the js script and doesn’t work.

    I’m out of ideas. Any help much appreciated.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @dimalifragis,

    You could take a look at ‘Orbit Fox’ plugin, since it allows you to add custom JS code to header and footer.
    You find out more about the steps to do that here: https://docs.themeisle.com/article/1277-header-footer-scripts-orbit-fox-module

    Best regards.

    Thread Starter dimalifragis

    (@dimalifragis)

    @danamv Please take the time to read my postings before reply.

    NOT header but Neve HEADING AREA. Below the menu.

    I don’t want to inject anything in header html of the page.

    Thanks anyway.

    Thread Starter dimalifragis

    (@dimalifragis)

    Ok, i found a good way to do it, without modifying anything. I’m posting it here, in case someone could benefit from it in the future.

    You can insert ads(ense) below the menu of Neve (heading), using Ad Insterter plugin (the best for ads).

    Then go to Ad Inserted Gereral settings – Hooks and ad a Hook with Action “neve_do_header” (without the quotes).

    Then select the ad to insert from that hook, listed in the drop down menu.

    Works GREAT. Apparently you can do that also with the footer. Open footer.php and check the hooks.

    I hope i have helped.

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