How can I add a custom script to footer of login page?

Question

I need to add this:

<script>
jQuery(window).load(function() {
jQuery('.janrainContent').css('border','0px');jQuery('.janrainContent').css('width','252px');jQuery('#janrainAuthReturnExperience').css('width','252px');
});
</script>

Right before the closing tag of the WordPress login page’s </body> tag.
How do you do it?
Would I use a combination of login_enqueue_scripts and wp_enqueue_scripts and set $in_footer to true? I’m not entirely sure how I would do that either…

0
jackson5 5 months 2020-12-24T01:10:28-05:00 0 Answers 6 views 0

Leave an answer

Browse
Browse