wordpress的function代码出错提示:Parse error: syntax error, unexpected T_IF in
wordpress的function代码出错提示:Parseerror:syntaxerror,unexpectedT_IFinD:\xampp\htdocs\wp\wp...
wordpress的function代码出错提示:Parse error: syntax error, unexpected T_IF in D:\xampp\htdocs\wp\wp-content\themes\twentysixteen\functions.php on line 315
源代码为:
add_action( 'wp_enqueue_scripts', 'twentysixteen_scripts' );
/**
* Adds custom classes to the array of body classes.
*
* @since Twenty Sixteen 1.0
*
* @param array $classes Classes for the body element.
* @return array (Maybe) filtered body classes.
*/
315行就是 * @since Twenty Sixteen 1.0 展开
源代码为:
add_action( 'wp_enqueue_scripts', 'twentysixteen_scripts' );
/**
* Adds custom classes to the array of body classes.
*
* @since Twenty Sixteen 1.0
*
* @param array $classes Classes for the body element.
* @return array (Maybe) filtered body classes.
*/
315行就是 * @since Twenty Sixteen 1.0 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询