本站(WordPress)备案信息代码

By NiceJudy No comments

打开WP的主题编辑器,找到主题页脚文件:footer.php,使用以下代码:

<?php
/**
 * The template for displaying the footer
 *
 * Contains the closing of the #content div and all content after.
 *
 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
 *
 * @package Lessons
 */
?>
        <footer class="lessons-footer dark-footer">
            <div class="copyright-area">
                <div class="container">
                    <div class="row">
                        <div class="col-sm-12 col-xs-12">
                            <div class="footer-logo-wrap text-center">
                                <?php lessons_copyright(); ?>
                            <p style="float:center;height:20px;line-height:20px;margin: 10px 0px 10px 0px;color:#737373;">
                           <!--这里填写你的其他信息并取消注释 -->
                                  <a target="_blank" href="https://beian.miit.gov.cn/#/Integrated/index" style="display:inline-block;text-decoration:none;height:20px;line-height:20px;">
                                 <img src="https://s1.ax1x.com/2020/07/02/NqYHbQ.png" style="float:left;"/>蜀ICP备16007945号-2
<!--此图床链接已经失效,可以复制备案站点链接转码-->
                                  </a>
                                   </p>

                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </footer>
    </div> <!-- lessons-wrapper -->
<?php wp_footer(); ?>

</body>
</html>

发表回复