Follow the instructions below to embed a form or CTA on your WordPress posts or pages.
Please note: you may need to change your permissions in WordPress to allow you to insert code snippets on your pages/posts. You can find out more about WordPress user roles here.
HubSpot forms or CTA embed code can be added directly into a page or post. The shortcode feature of the old HubSpot for WordPress plugin has been deprecated and is no longer supported.
- Copy the form embed code or the CTA embed code from HubSpot.
- Open the WordPress page or post editor.
- Click the Text tab.
- Paste the embed code where you would like the form or CTA to render.
- Click Update.
If you notice your form or CTA not working in WordPress or the embed code is being altered when you view the live page, you may need to insert the form or CTA using a plugin to make sure the embed code stays intact.