<footer>
    <div class="footer" id="footer">
        <div class="wrap">
		<?php get_sidebar('footer');?>
        </div>
    </div>

</footer>
<script type="text/javascript">var ajax_url = '<?php echo admin_url(); ?>admin-ajax.php';</script>
<div id="backToTop" style="display: none; right:100px"><a class="toTop"></a></div>
<script src="<?php echo get_template_directory_uri();?>/js/jquery.js"></script>
<script src="<?php echo get_template_directory_uri();?>/js/site.js"></script>
<script src="<?php echo get_template_directory_uri();?>/js/jquery.masonry.min.js"></script>
<?php if( is_single() || is_page() || is_singular('detail') || is_singular('notice') ){ 
//判断页面
?>
<script src="<?php echo get_template_directory_uri();?>/kindeditor/kindeditor-min.js" ></script>
<script src="<?php echo get_template_directory_uri();?>/kindeditor/lang/zh_CN.js" ></script>
<?php } ?>
<?php
if(is_home()||is_front_page()||is_single()||is_category()||is_tag()){ ?>
<script type="text/javascript" id="bdshare_js" data="type=tools&mini=1" ></script> 
<script type="text/javascript" id="bdshell_js"></script> 
<script type="text/javascript">
	document.getElementById('bdshell_js').src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + Math.ceil(new Date()/3600000);
</script>
<?php } ?>
<?php wp_footer();?>
</body>
</html>