在主题目录下的footer.php

<?php
$footer_text = get_option('origami_footer_text');
$footer_pos = get_option('origami_footer_pos', 'right');
?>
<footer class="ori-footer">
    <section id="scroll-top" class="btn btn-action"><i class="icon icon-arrow-up"></i></section>
    <div class="ori-container columns <?php echo $footer_pos; ?>">
        <section class="ori-copyright col-12">
            <?php echo $footer_text; ?>
            <br/>
            <big> 本页共执行数据库查询<?php echo get_num_queries(); ?>次,查询耗时<?php timer_stop(3); ?>秒。</big> <br/>
			<small>晋ICP备19007384号-1</small><br/>
			<small>Theme - Origami By Otstar Lin</small><br/>
<!--             <span id="origami-theme-info">
                Theme - <a href="https://blog.ixk.me/theme-origami.html">Origami</a> By <a href="https://www.ixk.me">Otstar Lin</a>  -->
            </span>
        </section>
    </div>
</footer>
<?php get_template_part('template-part/tools'); ?>
<?php wp_footer(); ?>
</body>
</html>

说点什么
支持Markdown语法
好耶,沙发还空着ヾ(≧▽≦*)o
Loading...