• Hi, I found this issue with child themes (in both Bj?rk and Poe, though there may be more themes suffering from this): https://github.com/WordPress/gutenberg/issues/44243#issuecomment-1258545763

    Long story short, whenever a template references a template part and explicitly mentions a theme slug, it seems to lead to this issue with child themes where the template part will not be rendered/can’t be edited.

    Reproducing is as simple as setting up a nearly blank child theme and going through the different templates. A quick search for, in this case "theme":"bjork" may help too, with finding the offending bits.

    Now, I’m not sure if maybe this is introduced by the Site Editor itself (or another tool) during theme creation; could be that someone may have to dig a bit deeper, still.

Viewing 1 replies (of 1 total)
  • Theme Author Anders Norén

    (@anlino)

    Hi @janboddez,

    That does seem like a bug in the Site Editor. I would expect child themes to be able to modify template parts even if those template parts are loaded with the "theme":"{theme-slug}" option in the parent theme.

    It’s an easy fix on the parent theme level though. I have removed the "theme":"bjork" code in version 0.1.8, so your child theme should behave itself once you’ve installed that update. Let me know.

    — Anders

Viewing 1 replies (of 1 total)
  • The topic ‘Child theme and template parts issue’ is closed to new replies.