月小升的博客,本来启动了一个代码高亮插件,结果新编写模板的时候,发现插件的CSS整个都丢了
找到原来得模板发现header.php文件里有这么一段
<?php /* edit by java-er.com * We add some JavaScript to pages with the comment form * to support sites with threaded comments (when in use). */ if ( is_singular() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); /* Always have wp_head() just before the closing </head> * tag of your theme, or you will break many plugins, which * generally use this hook to add elements to <head> such * as styles, scripts, and meta tags. */ wp_head(); ?>
不管啥,都给拷贝过来,立即就好了。