This repository has been archived by the owner on Nov 19, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 39
/
footer.php
57 lines (41 loc) · 2.73 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
<?php
/**
* The template for displaying the footer
*
* @package rtPanel
*
* @since rtPanel 2.0
*/
global $rtp_general; ?>
</div> <!-- End of content-wrapper row -->
<?php rtp_hook_end_content_wrapper(); ?>
</div><!-- #content-wrapper -->
<?php rtp_hook_after_content_wrapper(); ?>
<footer id="footer-wrapper" role="contentinfo" class="clearfix rtp-footer-wrapper rtp-section-wrapper"><?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 $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 $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 $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_before_footer(); ?>
<div id="footer" class="rtp-footer rtp-section-container row">
<?php $rtp_set_grid_class = apply_filters( 'rtp_set_full_width_grid_class', 'large-12 columns rtp-full-width-grid' ); ?>
<div class="rtp-footer-section <?php echo $rtp_set_grid_class; ?>">
<p>© <?php echo date( 'Y' ); echo ' - '; bloginfo( 'name' ); ?>
<em><?php printf( __( 'Designed on <a role="link" href="%s" class="rtp-common-link" title="rtPanel WordPress Theme Framework">rtPanel WordPress Theme Framework</a>.', 'rtPanel' ), RTP_THEME_URL ); ?></em></p>
</div>
</div><!-- #footer -->
<?php rtp_hook_after_footer(); ?>
</footer><!-- #footer-wrapper-->
<?php rtp_hook_end_main_wrapper(); ?>
</div><!-- #main-wrapper -->
<?php wp_footer(); ?>
</body>
</html>