# Unable to locate Custom Code function in latest Discourse version

**URL:** https://meta.discourse.org/t/unable-to-locate-custom-code-function-in-latest-discourse-version/378935
**Category:** Support
**Created:** [August 17, 2025, 4:29pm UTC](https://meta.discourse.org/t/unable-to-locate-custom-code-function-in-latest-discourse-version/378935 "2025-08-17T16:29:03Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![antontruda](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/antontruda/32/469284_2.png) [@antontruda](https://meta.discourse.org/u/antontruda)
#### Post date: [August 17, 2025, 4:29pm UTC](https://meta.discourse.org/t/unable-to-locate-custom-code-function-in-latest-discourse-version/378935/1 "2025-08-17T16:29:03Z")

</div>

I can’t find the **[Custom Code](https://meta.discourse.org/t/custom-code/108059)** function in the theme settings in the latest version. Please tell me how I can now add custom code to the **`<head>`** section.

Previously, this used to look like this:

 ![image](https://global.discourse-cdn.com/meta/original/4X/1/2/b/12b224de050a564e9ae91dce0cc946660af3ba27.png)

Please tell me how I can now add custom code to the **`<head>`** section.

---

_[View the full topic](https://meta.discourse.org/t/unable-to-locate-custom-code-function-in-latest-discourse-version/378935)._
