/** * Auto-hide theme entry-header H1 on pages that have their own H1 in content. * No manual page ID list needed - works for all future pages automatically. */ add_filter('astra_the_title_enabled', function() { if (!is_page()) { return ; } global ; if (! || !->post_content) { return ; } // Check if page content has an H1 (HTML tag or Gutenberg heading block level 1) = ( strpos(->post_content, '