-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfooter.php
More file actions
32 lines (25 loc) · 832 Bytes
/
footer.php
File metadata and controls
32 lines (25 loc) · 832 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?php
/**
*
* @package Fluidity
* @subpackage Main
* @since 20150511
* @author Richard Coffee <richard.coffee@rtcenterprises.net>
* @copyright Copyright (c) 2018, Richard Coffee
* @link https://github.com/RichardCoffee/fluidity-theme/blob/master/footer.php
*/
defined( 'ABSPATH' ) || exit; ?>
<footer>
<div id="fluid-footer" class="<?php e_esc_attr( container_type( 'footer' ) ); ?>" <?php microdata()->WPFooter(); ?>><?php
$slug = get_page_slug();
$dir = apply_filters( 'fluid_footer_template_dir', 'template-parts', $slug );
$root = apply_filters( 'fluid_footer_template_root', 'footer', $slug );
get_template_part( "$dir/$root", $slug ); ?>
</div>
<?php do_action( 'fluid_php_error_messages' ); ?>
<div id="wp-footer"><?php
wp_footer(); ?>
</div>
</footer>
</body>
</html>