diff --git a/src/Page.php b/src/Page.php index 1ef3dce..0d564ae 100644 --- a/src/Page.php +++ b/src/Page.php @@ -1,7 +1,9 @@ templates); - echo $this->renderContent($engine); + if (!apply_filters('jankx/gutenberg/render/disabled', false, $this) && function_exists('jankx_is_support_block_template') && jankx_is_support_block_template()) { + echo get_the_block_template_html(); + } else { + echo $this->renderContent($engine); + } do_action('jankx/template/page/content/after', $context, $this->templates);