# Code injection not work in posts

**URL:** <https://forum.ghost.org/t/code-injection-not-work-in-posts/42931>\
**Category:** Developer help\
**Created:** [November 23, 2023, 3:22pm UTC](https://forum.ghost.org/t/code-injection-not-work-in-posts/42931 "2023-11-23T15:22:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Petr\_Gargulak](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/petr_gargulak/32/25894_2.png) [@Petr\_Gargulak](https://forum.ghost.org/u/Petr_Gargulak)\
**Post date:** [November 23, 2023, 3:22pm UTC](https://forum.ghost.org/t/code-injection-not-work-in-posts/42931/1 "2023-11-23T15:22:49Z")

</div>

Hi all,

I see data from code injection on homepage, but same custom posts, i do not see on page custom-nabidka.hbs

I want use code injection globaly not for every post individualy…

Can you help me ?

---

<div class="post-metadata">

**Author:** ![jannis](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/jannis/32/39718_2.png) [@jannis](https://forum.ghost.org/u/jannis)\
**Post date:** [November 23, 2023, 4:04pm UTC](https://forum.ghost.org/t/code-injection-not-work-in-posts/42931/2 "2023-11-23T16:04:09Z")

</div>

Can you share a bit more? What code injection isn’t working? Do you maybe have a live site that we can take a look at?

---

<div class="post-metadata">

**Author:** ![Petr\_Gargulak](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/petr_gargulak/32/25894_2.png) [@Petr\_Gargulak](https://forum.ghost.org/u/Petr_Gargulak)\
**Post date:** [November 23, 2023, 4:20pm UTC](https://forum.ghost.org/t/code-injection-not-work-in-posts/42931/3 "2023-11-23T16:20:59Z")

</div>

Its my mistake, id element, was not in page, and this error blocked other scripts
