Include custom JS inside a WordPress theme footer

I’m using pitchwp theme in WordPress. I’ve created a widget which works by including the below line. I’ve tested it on an HTML website and it works fine. How do I do this with WordPress. Want to include it in a footer.

<script src='http://path to my js'></script>

Read more here: Include custom JS inside a WordPress theme footer

Leave a Reply

Your email address will not be published. Required fields are marked *