-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfooter.php
More file actions
executable file
·27 lines (23 loc) · 1.07 KB
/
Copy pathfooter.php
File metadata and controls
executable file
·27 lines (23 loc) · 1.07 KB
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
<?php global $settings; ?>
<footer id="footer">
<?php sandbox_footer_sidebars() ?>
<span id="generator-link"><a href="http://wordpress.org/" title="<?php _e( 'WordPress', 'sandbox' ) ?>" rel="generator">WordPress</a></span>
<span class="meta-sep">|</span>
<span id="theme-link"><a href="https://github.com/ikcam/Sandbox-HTML5" title="<?php _e( 'Sandbox theme for WordPress', 'sandbox' ) ?>" rel="designer">Sandbox</a></span>
<?php wp_footer() ?>
</footer><!-- #footer -->
</section><!-- #wrapper .hfeed -->
<?php if( $settings['site_ga'] != '' ) : ?>
<script>
var _gaq = _gaq || [];
_gaq.push(['_setAccount', '<?php echo $settings["site_ga"] ?>']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<?php endif; ?>
</body>
</html>