Add code to header for image

Our organization partners with a 3rd party sales team that sell ads to be displayed at the top of each page. I have the code they provided but cannot find where/how to enter it so I can paste the code. Where should I do this? Do I need an additional plugin?

Hey Naomi,

Please share the URL of the page you want to add the code and provide a screenshot of the exact area you want to place the code.

If you wish to share the information privately, use the Secure Note.

Thanks.

I provided the information in a secure note.

Hi Naomi,

Please install and activate the child theme and login through FTP then edit the functions.php then add this code:


add_action('wp_head', 'add_header_code');
function add_header_code(){
?>

    <!-- Please remove this line and add the code you have here -->

    <?php
};

Hope this helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.