Title: Block theme rendering issue
Last modified: May 26, 2022

---

# Block theme rendering issue

 *  [jivansoft](https://wordpress.org/support/users/jivansoft/)
 * (@jivansoft)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/block-theme-rendering-issue/)
 * Hi,
 * I am from Pagelayer team.
 * And we have checked and found that in the “wp-includes/template-canvas.php” file,
   you have called the function “get_the_block_template_html()” above the header
   that breaks the flow of the calling hooks like (‘get_header, wp_enqueue_scripts,
   wp_header’).
 * For example, If we add any “the_content” hook inside the “wp_enqueue_scripts”
   hook, then the “the_content” hook not working properly.
 * Please check and try fix the issue ASAP if possible.

Viewing 1 replies (of 1 total)

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/block-theme-rendering-issue/#post-15688607)
 * I you think you found a bug, please report that via [https://core.trac.wordpress.org/newticket](https://core.trac.wordpress.org/newticket)–
   Please use the “Bundled Theme” component and start the Summary field with Twenty
   Twenty-Two

Viewing 1 replies (of 1 total)

The topic ‘Block theme rendering issue’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/twentytwentytwo/2.1/screenshot.
   png)
 * Twenty Twenty-Two
 * [Support Threads](https://wordpress.org/support/theme/twentytwentytwo/)
 * [Active Topics](https://wordpress.org/support/theme/twentytwentytwo/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/twentytwentytwo/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/twentytwentytwo/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [t-p](https://wordpress.org/support/users/t-p/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/block-theme-rendering-issue/#post-15688607)
 * Status: not resolved