Tagged: , ,

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #369892

    Hi Guys
    Apple wants me to put the js for their auto affiliate link maker in the footer.
    Where/how do I do that?
    /Anders

    #369981

    Hi andersronnau!

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

    function add_custom_apple(){
    ?>
    <script>
    YOUR CODE GOES HERE
    </script>
    <?php
    }
    add_action('wp_footer', 'add_custom_apple');

    Cheers!
    Yigit

    #369992

    Sweet. Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘How to add javascript to footer?’ is closed to new replies.