# standard\_footer\_includes global

**URL:** <https://community.hubspot.com/t/standard-footer-includes-global/78551>\
**Category:** CMS Development\
**Tags:** professional\
**Created:** [April 2, 2023, 1:08pm UTC](https://community.hubspot.com/t/standard-footer-includes-global/78551 "2023-04-02T13:08:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AAccount](https://avatars.discourse-cdn.com/v4/letter/a/dfb087/32.png) [@AAccount](https://community.hubspot.com/u/AAccount)\
**Post date:** [April 2, 2023, 1:08pm UTC](https://community.hubspot.com/t/standard-footer-includes-global/78551/1 "2023-04-02T13:08:55Z")

</div>

I have unwanted code in standard\_footer\_includes on my site in any template, how can I remove it?

 ![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/f/f/ff5068b6e0be6f6d70ce81e556043cc0b56c8fae.png)

---

<div class="post-metadata">

**Author:** ![ankitparmar09](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ankitparmar09/32/64399_2.png) [@ankitparmar09](https://community.hubspot.com/u/ankitparmar09)\
**Post date:** [April 3, 2023, 1:02pm UTC](https://community.hubspot.com/t/standard-footer-includes-global/78551/2 "2023-04-03T13:02:06Z")

</div>

Hello @AAccount

Thanks for reaching out. If you can remove the unwanted footer code.

Try

`You can go in the Theme folder --> templates --> partials --> footer.html`

OR

`You can go in the Theme folder --> templates --> pages --> .html add code last to the {% endblock body %}<!-- Footer -->{% block footer %}<!-- only blank area -->{% endblock footer %}<!-- End Footer -->`

**OR another**

- Right click footer module and select the **“Edit global group”**

 ![footer-code-issue.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/1/1ba887ec0ba3de50ecb7c67893939565dd53ede3.png)

---

<div class="post-metadata">

**Author:** ![Indra](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/indra/32/98381_2.png) [@Indra](https://community.hubspot.com/u/Indra)\
**Post date:** [April 6, 2023, 7:09am UTC](https://community.hubspot.com/t/standard-footer-includes-global/78551/3 "2023-04-06T07:09:06Z")

</div>

Hi @AAccount,

What code is unwanted? Some code is needed for HubSpot to work properly.

It is possible to remove spesific items from it with a little hack by adding a [replace filter](https://developers.hubspot.com/docs/cms/hubl/filters#replace) like this:  
`{{ standard_footer_includes|replace('<script src="example.js"></script>','') }}`

So by replacing it by notting, it will be removed.
