Lead Capture Tools

RMorgan5
Participant

Form missing from WordPress site

Hey all, 

New here ::) 

Could someone kindly lend me a hand to look at my form code that embeds our Newsletter into our site, it randomly stopped working. 

This is the shortcode:
[hubspot type=form portal=4296053 id=736d67e8-8ed4-4866-9bba-ac8b88795119]

-Rachel

0 Upvotes
3 Replies 3
Ben_M
Key Advisor

Form missing from WordPress site

That's just a shortcode. Can we see the page that it stopped working on? That will give us the information as to why.  I'm thinking it could be as simple as the plugin maybe needs to be updated or it accidentally got disabled/deleted.

 

If you need to get the form up asap, you could always just use the embed code as that does not rely on the plugin and you can just put on your page(s) as needed. Personally I usually recommend that over the plugin and shortcode as there are advanced embed options not available through this type of implementation.

RMorgan5
Participant

Form missing from WordPress site

Thanks for commenting, I' just checked the plug ins and the Hubspot "HubSpot All-In-One Marketing - Forms, Popups, Live Chat" is up to date 

It's located in our footer so it's on all pages but here is the home page: https://www.baileyandfrench.com/

Could I use the embed code within a custom theme for the website?
This is where we host the Form code but it is only shortcode
hubspot form.PNG
-Rach

0 Upvotes
Ben_M
Key Advisor

Form missing from WordPress site

That definitely explains your error. Your embed code that is there has an error in it causing a parsing error that shows up in the console:

 

region: "na1",</p>
<p>

 

I would open a ticket with Hubspot in case it is an error in the plugin causing this to see if they can look into your site since the code is injected in the shortcode. However, you may be able to put the raw embed code into your site to have the form load. But that all depends on your access and wordpress setup whether it is done through the backend, or whether this has to be done by a developer.