Tagged: functions.php, javascript
Hello Enfold Team. First thanks for your amazing support. It’s really good to know that whatever problem one may have it will be helped with the best effort. Always. Never seen such good support anywhere else before.
My problem:
I wanna embed a HubSpot form on a page. It would be possible as a raw HTML form. But I wanna use the one with Javascript.
Is there a way to add javascript without needing to modify functions.php of the theme? Thanks for your help in advance.
<script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/shell.js"></script>
<script>
hbspt.forms.create({
region: "na1",
portalId: "9367921",
formId: "88cab29d-f94c-4a27-8403-53ddf9b6628e"
});
</script>
This wouldn’t be a problem normally with other themes. How do I do this in Enfold?
Just solved it. Code block works in that case. :-)
Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan ShannonI