-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfooter.php
34 lines (31 loc) · 898 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
<?php
/**
* The template for displaying the footer.
*
* Contains the closing of the #content div and all content after
*
* @package Flacso
*/
?>
</div><!-- .row -->
</div><!-- #content -->
<footer id="colophon" class="site-footer wrapper" role="contentinfo">
<div class="container">
<div class="row">
<div class="col-md-12">
<?php
// Check if we're inside GEA
$sidebar_name = ( is_gea() ) ? 'sidebar-footer-gea' : 'sidebar-footer';
if ( is_active_sidebar( $sidebar_name ) ) : ?>
<div id="tertiary" class="widget-area widget-area--footer clear" role="complementary">
<?php dynamic_sidebar( $sidebar_name ); ?>
</div><!-- .widget-area--footer -->
<?php endif; ?>
</div>
</div><!-- .row -->
</div><!-- .container -->
</footer><!-- #colophon -->
</div><!-- #page -->
<?php wp_footer(); ?>
</body>
</html>