forked from rtCamp/rtpanel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.php
executable file
·46 lines (35 loc) · 2.14 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
<?php
/**
* The template for displaying the footer
*
* @package rtPanel
*
* @since rtPanel 2.0
*/
global $rtp_general; ?>
<?php rtp_hook_end_content_wrapper(); ?>
</div><!-- #content-wrapper -->
<footer id="footer-wrapper" role="contentinfo" class="clearfix rtp-container-12 rtp-section-separator"><?php
if ( $rtp_general['footer_sidebar'] ) { ?>
<aside role="complementary" id="footerbar" class="clearfix rtp-section-separator"><?php
// Default Widgets ( Fallback )
if ( !dynamic_sidebar( 'footer-widgets' ) ) { ?>
<div class="widget rtp-grid-4 footerbar-widget"><h3 class="widgettitle"><?php _e( 'Archives', 'rtPanel' ); ?></h3><ul><?php wp_get_archives( array( 'type' => 'monthly' ) ); ?></ul></div>
<div class="widget rtp-grid-4 footerbar-widget"><h3 class="widgettitle"><?php _e( 'Tags', 'rtPanel' ); ?></h3><div class="tagcloud"><?php wp_tag_cloud(); ?></div></div>
<div class="widget rtp-grid-4 footerbar-widget"><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-grid-12">
<div>© <?php echo date( 'Y' ); echo ' - '; bloginfo( 'name' ); ?></div>
<div><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' ), 'http://rtcamp.com/rtpanel/' ); ?></em></div>
</div><!-- #footer -->
<?php rtp_hook_after_footer(); ?>
</footer><!-- #footer-wrapper-->
<?php rtp_hook_end_main_wrapper(); ?>
</div><!-- #main-wrapper -->
<?php wp_footer(); ?>
<?php rtp_hook_end_body(); ?>
</body>
</html>