You can add a HubSpot form to your WordPress posts or pages using the HubSpot All-in-One Marketing - Forms, Popups, Live Chat WordPress plugin, or you can embed a form or CTA by adding the embed code directly to your WordPress page or post.
Please note: you may need to change your permissions in WordPress to allow you to insert code snippets on your pages/posts. Learn more about WordPress user roles.
HubSpot forms or CTA embed codes can be added directly to 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.
- If you're using the Gutenberg editor, paste the code into a shortcode element on your page, such as a Gutenberg Shortcode Block or an Elementor Shortcode Widget.
- If you're using the Classic editor, paste the code directly into the page editor where you would like the form or CTA to render.
- Click Update.