forked from rtCamp/rtpanel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.php
60 lines (44 loc) · 1.81 KB
/
footer.php
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
<?php
/**
* The template for displaying the footer
*
* @package rtPanel
*
* @since rtPanel 2.0
*/
global $rtp_general;
rtp_hook_end_content_row();
?>
</div> <!-- End of content-wrapper row -->
<?php rtp_hook_end_content_wrapper(); ?>
</div><!-- #content-wrapper -->
<?php rtp_hook_after_content_wrapper(); ?>
<?php rtp_hook_before_footer(); ?>
<footer id="footer-wrapper" role="contentinfo" class="clearfix rtp-footer-wrapper rtp-section-wrapper">
<?php rtp_hook_begin_footer(); ?>
<?php
/* Grid class for widget */
$rtp_footer_widget_grid_class = apply_filters( 'rtp_set_footer_widget_grid_class', 'large-4 columns' );
if ( $rtp_general[ 'footer_sidebar' ] ) {
?>
<aside role="complementary" id="rtp-footer-widgets-wrapper" class="rtp-footerbar rtp-section-container row"><?php
// Default Widgets ( Fallback )
if ( ! dynamic_sidebar( 'footer-widgets' ) ) {
?>
<div class="widget footerbar-widget <?php echo esc_attr( $rtp_footer_widget_grid_class ); ?>"><h3 class="widgettitle"><?php _e( 'Archives', 'rtPanel' ); ?></h3><ul><?php wp_get_archives( array( 'type' => 'monthly' ) ); ?></ul></div>
<div class="widget footerbar-widget <?php echo esc_attr( $rtp_footer_widget_grid_class ); ?>"><h3 class="widgettitle"><?php _e( 'Tags', 'rtPanel' ); ?></h3><div class="tagcloud"><?php wp_tag_cloud(); ?></div></div>
<div class="widget footerbar-widget <?php echo esc_attr( $rtp_footer_widget_grid_class ); ?>"><h3 class="widgettitle"><?php _e( 'Meta', 'rtPanel' ); ?></h3><ul><?php wp_register(); ?><li><?php wp_loginout(); ?></li><?php wp_meta(); ?></ul></div><?php
}
?>
</aside><!-- #footerbar -->
<?php
}
?>
<?php rtp_hook_end_footer(); ?>
</footer><!-- #footer-wrapper-->
<?php rtp_hook_after_footer(); ?>
<?php rtp_hook_end_main_wrapper(); ?>
</div><!-- #main-wrapper -->
<?php wp_footer(); ?>
</body>
</html>