This is most probably because you&#x27;ve done it wrong ;)<p>WordPress has a concept called &quot;child [1] which shouldn&#x27;t result in behavior like that.<p>[1] <a href="https:&#x2F;&#x2F;codex.wordpress.org&#x2F;Child_Themes" rel="nofollow">https:&#x2F;&#x2F;codex.wordpress.org&#x2F;Child_Themes</a>