
* Blockbase: Change references to gutenberg_block_template_part, to block_template_part * use an if statement to determine which function to call
15 lines
297 B
PHP
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>
|