加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
footer.php 1.84 KB
一键复制 编辑 原始数据 按行查看 历史
Jarvis 提交于 2017-09-15 14:40 . Initial commit
<div class="footer_search visible-xs visible-sm">
<form id="searchform" action="<?php bloginfo('siteurl'); ?>">
<div class="input-group">
<input type="search" class="form-control" placeholder="搜索…" value="<?php the_search_query(); ?>" name="s">
<span class="input-group-btn"><button class="btn btn-default" type="submit"><i class="fa fa-search" aria-hidden="true"></i></button></span>
</div>
</form>
</div>
<footer id="footer">
<div class="copyright">
<p><i class="fa fa-copyright" aria-hidden="true"></i> <?php echo get_option('tang_years'); ?> <b><?php echo get_option('tang_company'); ?></b></p>
<p>Powered by <b>WordPress</b>. Theme by <a href="https://tangjie.me/jiestyle-two" data-toggle="tooltip" data-placement="top" title="WordPress 主题模板" target="_blank"><b>JieStyle Two</b></a> | <?php echo get_option( 'zh_cn_l10n_icp_num' );?></p>
</div>
<div style="display:none;"><?php echo stripslashes(get_option('tang_tongji')); ?></div>
</footer>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/skel.min.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/util.min.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/nav.js"></script>
<?php wp_footer(); ?>
<script>
$(function() {
$('[data-toggle="tooltip"]').tooltip()
});
</script>
<script>
(function(){
var bp = document.createElement('script');
var curProtocol = window.location.protocol.split(':')[0];
if (curProtocol === 'https') {
bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
}
else {
bp.src = 'http://push.zhanzhang.baidu.com/push.js';
}
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(bp, s);
})();
</script>
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化