diff --git a/templates/pageparentdiv.php b/templates/pageparentdiv.php index c0385e3..a108fd1 100644 --- a/templates/pageparentdiv.php +++ b/templates/pageparentdiv.php @@ -4,7 +4,7 @@ include('attributes/parent.php'); } -if (count(get_page_templates($post)) > 0 && get_option('page_for_posts') != $post->ID) { +if (count(get_page_templates($post)) > 0 && get_option('page_for_posts') != $post->ID && !get_current_screen()->is_block_editor()) { include('attributes/template.php'); }