0
我使用wordpress插件訂閱評論重裝上陣,允許您對腳註進行訂閱。所以這個插件只在single.php上需要,而不是在家裏或別的地方。但是插件會在頭文件的每個地方加載2個CSS文件和1個JS文件。WordPress插件「訂閱評論重載」:僅在需要時加載腳本
還有的CSS文件和JS ..
<link rel='stylesheet' id='stcr-plugin-style-css' href='/wp-content/plugins/subscribe-to-comments-reloaded/includes/css/stcr-plugin-style.css?ver=4.8' type='text/css' media='all' />
<link rel='stylesheet' id='stcr-font-awesome-css' href='/wp-content/plugins/subscribe-to-comments-reloaded/includes/css/font-awesome.min.css?ver=4.8' type='text/css' media='all' />
<script type='text/javascript' src='/wp-content/plugins/subscribe-to-comments-reloaded/includes/js/stcr-plugin.js?ver=4.8'></script>
我怎麼能「註銷」這些腳本並加載它只能在single.php中?