-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathfooter.php
28 lines (28 loc) · 1.27 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
<div class="footer">
<p>Copyright © <?php echo date("Y"); ?> <a href="<?php echo home_url( '/' ); ?>"><?php echo esc_attr( get_bloginfo( 'name') ); ?></a> All Rights Reserved </p>
<p>Powered by <a href="http://wordpress.org/" target="_blank">WordPress <?php bloginfo('version');?></a> | Author by <a target="_blank" href="http://webjyh.com">M.J</a></p>
<?php
$PhotoBroad_values = get_option('PhotoBroad_framework_values');
if ( !is_array( $PhotoBroad_values ) ) $PhotoBroad_values = array();
if( array_key_exists( 'general_tracking_code' , $PhotoBroad_values) && !empty( $PhotoBroad_values['general_tracking_code'] ) ){
echo '<p>'.stripslashes( $PhotoBroad_values['general_tracking_code'] ).'</p>'."\n";
}
?>
</div>
<div class="goTop" id="goTop"><a href="javascript:;"></a></div>
<?php
$bg = get_background_image();
if ( !empty( $bg ) ){
?>
<div class="body-bg"></div>
<?php
}
?>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jquery.min.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/common.js"></script>
<?php if (is_singular()) { ?>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/comments-ajax.js"></script>
<?php } ?>
<?php wp_footer(); ?>
</body>
</html>