WowPress-Tailwind/theme/footer.php

36 lines
819 B
PHP

<?php
/**
* The template for displaying the footer
*
* Contains the closing of the `#content` element and all content thereafter.
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package WowPress
*/
?>
</div><!-- #content -->
<?php if (is_active_sidebar('right-widgets') && get_sidebar_status('right')) : ?>
<div class="widget-wrapper right-widgets" id="sidebar_right">
<?php dynamic_sidebar('right-widgets'); ?>
</div>
<?php endif; ?>
</div> <!-- grid -->
<div class="sticky top-[100vh]">
<?php if (is_active_sidebar('bottom-widgets') && get_sidebar_status('bottom')) : ?>
<div class="widget-wrapper bottom-widgets" id="sidebar_bottom">
<?php dynamic_sidebar('bottom-widgets'); ?>
</div>
<?php endif; ?>
<?php wp_footer(); ?>
</div>
</body>
</html>