Support » Theme: OceanWP » Where to insert code in footer

  • Hi,

    Recently I’ve been noticing things going missing from my theme header such as my Trustpilot code and today I noticed my HubSpot tracking code had vanished.

    I’ve tried reinstalling the HubSpot plugin but the tracking code is blank still.

    I was wondering, where could I manually paste the code in to the footer instead of the HS plugin failing to insert it in the header as there doesn’t seem to be any <head> </head> tags in the theme footer.


    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hello,

    You will see Head tag in the header section instead of footer. Follow the below steps to add the code in header or footer section as per your need –

    1. Install and activate the OceanWP child theme
    2. Copy the oceanwp > header.php or footer.php file into the child theme as per your need
    3. Add the code in the copied file.

Viewing 1 replies (of 1 total)
  • The topic ‘Where to insert code in footer’ is closed to new replies.