How to upload javascript?
-
Site: Example
Link: Instructions
I have discount code box which requires javascript to indicate when code is valid.
Javascript file is here: wp-admin/js/discount.js
Final step in the instruction is to paste this into the “website section”:
<script type="text/javascript" src="https://yourwebsite.com/discount.js"></script>
Since the path is /wp-admin/js/discount.js, I change to:
<script type="text/javascript" src="https://yourwebsite.com/wp-admin/js/discount.js"></script>
I paste in PayPal page, nothing.
I paste in themefunctions.php, whitescreen.
Therefore I don’t know what to do.
Anyone know a solution?
Thanks.
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘How to upload javascript?’ is closed to new replies.