[hidecontent type=”logged”]
function back_to_top_cat() {
echo '<script src="cat.js文件路径"></script>
<script type="text/javascript" src="szgotop.js文件路径"></script>
<link rel="stylesheet" type="text/css" href="szgotop.css文件路径" /><div class="back-to-top cd-top faa-float animated cd-is-visible" style="top: -600px;"></div>';
} add_action('wp_head', 'back_to_top_cat');
所需文件
[/hidecontent]