Move wp_footer() from footer template into base.php for easier footer customization and DRY
This commit is contained in:
2
base.php
2
base.php
@@ -27,5 +27,7 @@
|
||||
|
||||
<?php get_template_part('templates/footer'); ?>
|
||||
|
||||
<?php wp_footer(); ?>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -3,5 +3,3 @@
|
||||
<?php dynamic_sidebar('sidebar-footer'); ?>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<?php wp_footer(); ?>
|
||||
|
||||
Reference in New Issue
Block a user