-
Notifications
You must be signed in to change notification settings - Fork 0
/
sidebar.php
35 lines (33 loc) · 1.04 KB
/
sidebar.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
<!-- Sidebar -->
<div id="sidebar" class="cardWrapper">
<div class="card">
<div class="cardFace front">
<div class="headerbar"></div>
<div class="content">
<?php
if ( is_active_sidebar( 'sidebar-1' ) ) : ?>
<div id="tertiary" class="sidebar-container" role="complementary">
<div class="sidebar-inner">
<div class="widget-area">
<?php dynamic_sidebar( 'sidebar-1' ); ?>
</div><!-- .widget-area -->
</div><!-- .sidebar-inner -->
</div><!-- #tertiary -->
<?php endif; ?>
<div class="footerLine">
<?php
$settings = json_decode(get_option('wp_fancy_settings'), true);
echo '<div class="socialIcons">';
foreach($settings['social'] as $key=>$profile){
echo '<a target="_blank" href="'.$profile.'"><i class="fa fa-'.$key.'"></i></a>';
}
echo '<div class="clear"></div></div>';
if ( is_active_sidebar( 'footercontent' ) ) {
dynamic_sidebar( 'footercontent' );
}
?>
</div>
</div>
</div>
</div>
</div>