forked from Facens/wpbootstrap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.php
56 lines (48 loc) · 1.68 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
<?php
/**
* The template for displaying the footer.
*
* Contains the closing of the id=main div and all content
* after. Calls sidebar-footer.php for bottom widgets.
*
* @package WordPress
* @subpackage wpbootstrap
* @since wpbootstrap 0.1
*/
?>
<footer>
<?php
/* A sidebar in the footer? Yep. You can can customize
* your footer with four columns of widgets.
*/
?>
<?php
global $sa_options;
$sa_settings = get_option( 'sa_options', $sa_options );
?>
<?php
if( $sa_settings['iubenda_id'] != '' ) :
?>
<a href="http://www.iubenda.com/privacy-policy/<?php echo $sa_settings['iubenda_id']; ?>" class="iubenda-green-xs" id="iubenda-embed" title="Privacy Policy">Privacy Policy (by iubenda)</a>
<script type="text/javascript" src="http://cdn.iubenda.com/iubenda.js"></script>
<?php endif; ?>
<?php
if( $sa_settings['credits_footer'] == true ) :
?>
<div class="span12" style="text-align: center">
<a href="https://github.com/tylkomat/wpbootstrap" target="_blank">Bootstrap for Wordpress</a> with <a href="http://schema.org" target="_blank">Schema.org</a> is a theme based on the <a href="http://twitter.github.com/bootstrap/" target="_blank">Twitter Bootstrap toolkit</a>
-
<a href="http://wordpress.org/" title="Semantic Personal Publishing Platform" rel="generator" target="_blank">Proudly powered by WordPress </a>
</div>
<?php endif; ?>
<?php
/* Always have wp_footer() just before the closing </body>
* tag of your theme, or you will break many plugins, which
* generally use this hook to reference JavaScript files.
*/
wp_footer();
?>
</footer>
</div> <!-- /container -->
</body>
</html>