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

    How can I add a YouTube code to the <header> tag on the home page, similar to the Google Analytics Tracking Code

    #618679

    Hey JPGlobal!

    Please add following code to Functions.php file in Appearance > Editor

    function add_custom_code(){
    ?>
    // YOUR CODE GOES HERE 
    <?php
    }
    add_action('wp_head', 'add_custom_code');

    Best regards,
    Yigit

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