# Form codes

**URL:** <https://community.hubspot.com/t/form-codes/69026>\
**Category:** Lead Capture Tools\
**Tags:** forms\
**Created:** [November 10, 2022, 3:25pm UTC](https://community.hubspot.com/t/form-codes/69026 "2022-11-10T15:25:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rebshu](https://avatars.discourse-cdn.com/v4/letter/r/73ab20/32.png) [@Rebshu](https://community.hubspot.com/u/Rebshu)\
**Post date:** [November 10, 2022, 3:25pm UTC](https://community.hubspot.com/t/form-codes/69026/1 "2022-11-10T15:25:32Z")

</div>

Hi all!

Just wondered what the difference between the HubSport Wordpress Form [Short code](https://knowledge.hubspot.com/integrations/create-a-hubspot-form-in-wordpress#:~:text=website%20and%20click-,Copy%20shortcode,-.%20You%20can%20also) and the [Embed code](https://knowledge.hubspot.com/forms/how-can-i-share-a-hubspot-form-if-im-using-an-external-site#:~:text=Paste%20the-,embed%20code,-into%20the%20HTML) I get from HubSpot. Are they exactly the same?

Thanks!

---

<div class="post-metadata">

**Author:** ![alyssamwilie](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/alyssamwilie/32/2072_2.png) [@alyssamwilie](https://community.hubspot.com/u/alyssamwilie)\
**Post date:** [November 11, 2022, 6:05am UTC](https://community.hubspot.com/t/form-codes/69026/2 "2022-11-11T06:05:22Z")

</div>

Shortcodes are WordPress-specific code that gives Wordpress instructions on what to render and how to render it. The HubSpot form shortcode is telling Wordpress to render the embed code for that form. So, yes, once rendered they are technically the same. However, if inserting the embed code yourself you could run into problems because, unlike the shortcode, it doesn’t have the Wordpress-specific instructions on _how_ to render it so as to avoid conflicts with your Wordpress theme.

---

<div class="post-metadata">

**Author:** ![Rebshu](https://avatars.discourse-cdn.com/v4/letter/r/73ab20/32.png) [@Rebshu](https://community.hubspot.com/u/Rebshu)\
**Post date:** [November 11, 2022, 11:23am UTC](https://community.hubspot.com/t/form-codes/69026/3 "2022-11-11T11:23:06Z")

</div>

Thank you! This is very helpful.
