Yes, that is what I was referring to. It is giving a very strange page layout. Is there any way you can describe how I can create a new template for the locations? Or describe what I should be doing so that it uses our theme template? It seems to be grabbing something else and thus throwing the content everywhere…
The default page.php layout is just a basic template using Bootstrap styling:
<?php
the_post();
$is_block = RootsSageUtilsis_block();
if ($is_block) {
remove_filter('the_content', 'wpautop');
}
if (!$is_block):
?>
<div class='block-wrapper'>
<section>
<?php endif; ?>
<?php the_content(); ?>
<?php wp_link_pages(['before' => '<nav class="page-nav"><p>' . __('Pages:', 'sage'), 'after' => '</p></nav>']); ?>
<?php if (!$is_block): ?>
</section>
</div>
<?php endif; ?>