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

    Hi,

    I need to add the following code to my site,
    <script type=”text/javascript” src=”https://apps.appmachine.com/gaysitgesguide/promote/js”></script&gt;

    So that I can promote it to my mobile audience.
    What is the best way to do this?

    Keith

    #457160

    Hey!

    If you need this on a specific Page use a Code Block element otherwise if you want it site-wide, add the following to your theme / child theme functions.php:

    add_action('wp_footer', function() {
    ?>
    <script type=”text/javascript” src=”https://apps.appmachine.com/gaysitgesguide/promote/js”></script>
    <?php
    });

    Best regards,
    Josue

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