themes-wordpress/blockbase/footer.php
Ben Dwyer 2bd5b5ecc8
Blockbase: Change references to gutenberg_block_template_part, to block_template_part (#5031)
* Blockbase: Change references to gutenberg_block_template_part, to block_template_part

* use an if statement to determine which function to call
2021-11-17 11:29:22 +00:00

15 lines
297 B
PHP

<footer class="wp-block-template-part site-footer-container">
<?php
if ( function_exists( 'block_template_part' ) ) {
echo block_template_part( 'footer' );
} else {
echo gutenberg_block_template_part( 'footer' );
}
?>
</div>
</footer>
<?php wp_footer(); ?>
</body>
</html>