I am constructing a theme that makes use of native and customized ACF blocks.
On the high of my default web page.php template, I’ve the next:
<?php
if ( has_post_thumbnail() ) {
the_post_thumbnail();
}
?>
<header class="entry-header">
<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
</header>
<?php the_content(); ?>
If a featured picture is uploaded, the web page title sits properly beneath.
Nevertheless, if no featured picture is uploaded and a canopy block (for instance) is added, the web page title clearly sits on high of the block.
Is there a situation I can use that at all times inserts the web page title beneath the primary block added if no featured picture is uploaded?