-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfooter.php
More file actions
47 lines (38 loc) · 1.49 KB
/
footer.php
File metadata and controls
47 lines (38 loc) · 1.49 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?php
/**
* Template for displaying the footer
*
* Contains the closing of the id=main div and all content
* after. Calls sidebar-footer.php for bottom widgets.
*
* Learn more: https://developer.wordpress.org/themes/template-files-section/partial-and-miscellaneous-template-files/#footer-php
*
* @package WP_Basic_Bootstrap
* @since WP_Basic_Bootstrap 1.0
*/
$template = get_template_type();
$page_type = get_page_type();
if (BASICBOOTSTRAP_TPLDBG) {
error_log('loaded file : '.__FILE__);
error_log('page type : '.$page_type);
error_log('applied template : '.$template);
}
?>
<?php if (strpos($template, 'full_width')!==false) : ?>
</div><!-- /.blog-main -->
<?php endif; ?>
</div><!-- /.row -->
</div><!-- /.container -->
<footer id="footer" class="blog-footer hidden-print">
<?php get_template_part_hierarchical('partials/layout/footer'); ?>
</footer>
</div><!-- /#wrapper -->
<?php wp_footer(); ?>
<a href="#content" class="sr-only sr-only-focusable"><?php _e('Back to main content', 'basicbootstrap'); ?></a>
<a href="#navigation" class="sr-only sr-only-focusable"><?php _e('Back to main navigation', 'basicbootstrap'); ?></a>
<?php if (strpos($template, 'full_width')===false) : ?>
<a href="#sidebar" class="sr-only sr-only-focusable"><?php _e('Back to page sidebar', 'basicbootstrap'); ?></a>
<?php endif; ?>
<a href="#header" class="sr-only sr-only-focusable"><?php _e('Back to page header', 'basicbootstrap'); ?></a>
</body>
</html>