# Using WordPress custom HTML on HubSpot

**URL:** <https://community.hubspot.com/t/using-wordpress-custom-html-on-hubspot/10437>\
**Category:** CMS Development\
**Created:** [October 1, 2018, 4:23pm UTC](https://community.hubspot.com/t/using-wordpress-custom-html-on-hubspot/10437 "2018-10-01T16:23:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hannahmccabe](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/hannahmccabe/32/26012_2.png) [@hannahmccabe](https://community.hubspot.com/u/hannahmccabe)\
**Post date:** [October 1, 2018, 4:23pm UTC](https://community.hubspot.com/t/using-wordpress-custom-html-on-hubspot/10437/1 "2018-10-01T16:23:39Z")

</div>

Hi everyone!

We currently use HubSpot for all of our landing pages/email automation/lead capture/etc., but our website is hosted on WordPress. We realized that our email unsubscribe page (built in HubSpot when we first became customers) still has our old company branding. I was hoping I could take the header and footer HTML off of our WordPress site, and update the page’s template in HubSpot using the Custom HTML module, but doing so inevitably breaks the code and doesn’t render the header/footer as it should.

Is there a better way to do this between platforms, or does the code need to be re-written for HubSpot?

---

<div class="post-metadata">

**Author:** ![Jenny](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jenny/32/24_2.png) [@Jenny](https://community.hubspot.com/u/Jenny)\
**Post date:** [October 2, 2018, 10:35pm UTC](https://community.hubspot.com/t/using-wordpress-custom-html-on-hubspot/10437/2 "2018-10-02T22:35:23Z")

</div>

Hi @hannahmccabe,

There are some elements that can’t be directly copy and pasted from WordPress to HubSpot. For more information on this, check out @Jsum’s article [here](https://community.hubspot.com/t5/Content-Design-Questions/Migrating-Website-from-Hubspot-to-Wordpress/td-p/29592).

Thank you,  
Jenny

---

<div class="post-metadata">

**Author:** ![ricardovascsim](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ricardovascsim/32/75413_2.png) [@ricardovascsim](https://community.hubspot.com/u/ricardovascsim)\
**Post date:** [May 23, 2019, 4:26am UTC](https://community.hubspot.com/t/using-wordpress-custom-html-on-hubspot/10437/3 "2019-05-23T04:26:30Z")

</div>

I’m looking do to the same thing. I don’t think they answer they provided is adequate.

---

<div class="post-metadata">

**Author:** ![ricardovascsim](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ricardovascsim/32/75413_2.png) [@ricardovascsim](https://community.hubspot.com/u/ricardovascsim)\
**Post date:** [June 27, 2019, 1:50pm UTC](https://community.hubspot.com/t/using-wordpress-custom-html-on-hubspot/10437/4 "2019-06-27T13:50:44Z")

</div>

Hi! Were you able to solve this?

I too just need my Wordpress header and footer inside my Hubspot blog templates.
