此行语法错误:
<?php if ( is_singular() ) wp_enqueue_script ( \'comment-reply\'); wp_head() ; ?>
呼叫
wp_head()
不应与注释回复脚本的条件位于同一行。
将其更改为:
<?php
// Conditional to determine if comment-reply form script should be included
if ( is_singular() ) wp_enqueue_script ( \'comment-reply\');
// Fire the `wp_head` hook, which should happen always, on every pageload
wp_head();
?>