设置备案号
在主题文件的function中添加新的配置选项
$bei = new Typecho_Widget_Helper_Form_Element_Text('bei', NULL, NULL, _t('工信部备案号'), _t('留空则不显示'));
$form->addInput($bei->addRule('xssCheck', _t('工信部备案号不能使用特殊字符')));
再在footer.php添加下面的代码
<br>
<a href="https://beian.miit.gov.cn/" target="_blank" rel="nofollow">
<?php $this->options->bei(); ?>
</a>