-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.php
37 lines (33 loc) · 899 Bytes
/
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
<?php
/**
* The template for displaying the footer.
*
* Contains the closing of the #content div and all content after
*
* @package regala
*/
?>
</div><!-- #content -->
<footer id="colophon" class="site-footer" role="contentinfo">
<?php //get_sidebar( 'footer' ); ?>
<div class="site-info-container">
<div class="site-info">
<?php
if ( is_home() || is_front_page() || is_archive() || is_search() || is_404() ) {
get_sidebar( 'footer-frontpage' );
}
if ( is_single() || is_page() ) {
get_sidebar( 'footer-innerpage' );
}
if ( class_exists( 'TitanFramework' ) ) {
$titan = TitanFramework::getInstance( 'regala' );
echo $titan->getOption( 'footer_copyright_text' );
}
?>
</div>
</div><!-- .site-info -->
</footer><!-- #colophon -->
</div><!-- #page -->
<?php wp_footer(); ?>
</body>
</html>