-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfooter.php
More file actions
92 lines (76 loc) · 2.08 KB
/
footer.php
File metadata and controls
92 lines (76 loc) · 2.08 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<?php
/**
* The template for displaying the footer.
*
* Contains the closing of the id=main div and all content after
*
* @package Catch Themes
* @subpackage Catch_Box
* @since Catch Box 1.0
*/
?>
</div><!-- #main -->
<?php
/**
* catchbox_after_main hook
*/
do_action( 'catchbox_after_main' );
?>
<footer id="colophon" role="contentinfo">
<?php
/**
* catchbox_before_footer_menu hook
*/
do_action( 'catchbox_before_footer_sidebar' );
/* A sidebar in the footer? Yep. You can can customize
* your footer with three columns of widgets.
*/
get_sidebar( 'footer' );
/**
* catchbox_before_footer_menu hook
*/
do_action( 'catchbox_after_footer_sidebar' );
/**
* catchbox_before_footer_menu hook
*/
do_action( 'catchbox_before_footer_menu' );
if ( has_nav_menu( 'footer', 'catchbox' ) ) {
// Check is footer menu is enable or not
$options = catchbox_get_theme_options();
if ( !empty ($options ['enable_menus'] ) ) :
$menuclass = "mobile-enable";
else :
$menuclass = "mobile-disable";
endif;
?>
<nav id="access-footer" class="<?php echo $menuclass; ?>" role="navigation">
<h3 class="assistive-text"><?php _e( 'Footer menu', 'catchbox' ); ?></h3>
<?php wp_nav_menu( array( 'theme_location' => 'footer', 'container_class' => 'menu-footer-container', 'depth' => 1 ) ); ?>
</nav>
<?php
}
/**
* catchbox_before_footer_menu hook
*/
do_action( 'catchbox_after_footer_menu' ); ?>
<div id="site-generator" class="clearfix">
<?php
/**
* catchbox_site_generator hook
*
* @hooked catchbox_socialprofile - 10
* @hooked catchbox_footer_content - 15
*/
do_action( 'catchbox_site_generator' ); ?>
</div> <!-- #site-generator -->
</footer><!-- #colophon -->
</div><!-- #page -->
<?php
/**
* catchbox_after hook
*/
do_action( 'catchbox_after' );
?>
<?php wp_footer(); ?>
</body>
</html>