Advertisement
Guest User

convert from JS embed code to WP script embed code

a guest
Mar 14th, 2012
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. How do you turn a script's embed code into the proper scripting for WordPress (e.g. functions.php, footer.php, both)?
  2.  
  3. For example:
  4.  
  5. <script src="http://jotform.us/min/g=feedback2" type="text/javascript"></script>
  6. <script type="text/javascript">
  7.   new JotformFeedback({
  8.      formId     : "123",
  9.      buttonText : "Wishbox Form",
  10.      base       : "http://jotform.us/",
  11.      background : "#F59202",
  12.      fontColor  : "#FFFFFF",
  13.      buttonSide : "bottom",
  14.      buttonAlign    : "right",
  15.      type       : 2,
  16.      width      : 400,
  17.      height     : 250,
  18.      instant        : true
  19.   });
  20. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement