Black Friday Sale! Get up to $40 off GP Premium!Learn more

Reply To: Using custom JavaScript in a page

Home Forums Support Using custom JavaScript in a page Reply To: Using custom JavaScript in a page

#186101
Tom
Lead Developer
Lead Developer

You could use GP Hooks in the wp_footer hook:

<?php if ( is_page( 'my-page-slug' ) ) : ?>
    <script>
        // Your script in here
    </script>
<?php endif; ?>