-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfooter.php
58 lines (54 loc) · 2.77 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
57
<!-- FOOTER -->
<footer id="footer">
<div class="container">
<div class="row">
<div class="col-xs-12">
<div class="clearfix" id="inner-footer">
<a class="scrollup">Scroll</a>
<div id="widget-footer" class="clearfix">
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('footer1') ) : ?>
<?php endif; ?>
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('footer2') ) : ?>
<?php endif; ?>
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('footer3') ) : ?>
<?php endif; ?>
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('footer4') ) : ?>
<?php endif; ?>
</div><!--/.widget-footer-->
<div id="tags" >
<div id="copyright" class="col-sm-6">
<!-- this is the option from the "Theme Options" It will display the copyright information ONLY if it is present in the Theme Options-->
<?php $copyright_options = (array) get_option('copyright_options'); ?>
<?php $name = $copyright_options['name']; ?>
<?php if (0 < strlen( trim( $name ) ) ) { ?>
<p>Copyright © <?php echo date('Y'); ?>
<?php echo $name; ?></p>
<?php } //end if ?>
</div><!-- /#copyright -->
<div id="slogan" class="col-sm-6 text-right">
<p><?= get_bloginfo('name'); ?> - "<?= get_bloginfo('description'); ?>"</p>
</div> <!--/#slogan-->
</div><!--/.tags-->
</div> <!--/#inner-footer-->
</div><!--/.col-->
</div> <!-- .row -->
</div><!-- /.container -->
<p style="display:none;">Site Designed and Built by: <a href="http://hudsonvalleywebdesign.net" target="_blank">Jay Deutsch</a></p>
<?php wp_footer(); ?>
</footer>
<?php $options = get_option( 'GA_options' ); ?>
<?php $ID = $options['wp_textbox']; ?>
<?php if (0 < strlen( trim( $ID ) ) ) { ?>
<!-- Google Analytics code here -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', '<?php echo $options['wp_textbox']; ?>', 'auto');
ga('send', 'pageview');
</script>
<!-- end Analytics -->
<?php } //end if ?>
</body>
</html>