• 4dlacode

    (@4dlacode)


    Hello everyone,

    after building a few traditional themes I started my first block theme. I have setup a basic environment, the index.html and included header & footer parts as shown in the 2. commit of the linked github repo.

    As I have built this repository to showcase the error, I have noticed my mistake. But I hope that it is still useful to someone which runs into the same issue and maybe to the WordPress Team itself to maybe improve the error handling?

    The error is that the blocks to include the template parts are missing the slash for self-closing.

    The effect is that the footer template is rendered first and then the header template is rendered. Content in between is not rendered at all – if there is any…

    My question is: Is there a better way to diagnose these kinds of problems? The new Website-Editor does not show any error. The debug flag is set in the wp config.

    Thanks so much & best regards,

    4DLaCode

    The page I need help with: [log in to see the link]

  • The topic ‘New Block Theme – Header & Footer Reversed – Better Error Info?’ is closed to new replies.