# HubSpot - how to embed HubSpot form in wordpress

> To embed a HubSpot form in WordPress, go to Marketing > Forms, click Actions, select share to view the shortcode, and copy the code. Next, edit your WordPress page or post, click the plus icon, select the Custom HTML block, paste the shortcode, and click Update to publish.

Canonical: https://livedemo.ai/tutorials/how-to-embed-hubspot-form-in-wordpress/
Apps: HubSpot, WordPress
Updated: 2026-10-05
Interactive demo: https://story-api.livedemo.ai/workspaces/62255d3d3304f17b8f5e2d03/stories/692a3d15ab56e05a00fe48d9/preview?step=1

## Steps

1. Go to Marketing > Forms
2. Click on Actions to reveal a dropdown.
3. Use the share option to view the form's shortcode
4. Copy the code.
5. Edit your WordPress page/pos and click on the + icon.
6. Select Custom HTML block
7. Paste the shortcode within the block.
8. Click on Update to Publish your page/post.
