我收到这个错误:
Parse error: syntax error, unexpected '{' in /home/u696221601/public_html/wp-content/themes/oblivion/themeOptions/functions.php on line 3
Run Code Online (Sandbox Code Playgroud)
在这条线上:
<?php
phpif ( !function_exists( 'optionsframework_init' ) )
{
/*-----------------------------------------------------------------------------------*/ /* Options Framework Theme/*-----------------------------------------------------------------------------------*/ /* Set the file path based on whether the Options Framework Theme is a parent theme or child theme */
if ( get_stylesheet_directory() == get_template_directory() )
{
Run Code Online (Sandbox Code Playgroud)
尝试改变这个
phpif ( !function_exists( 'optionsframework_init' ) )
{
Run Code Online (Sandbox Code Playgroud)
至
if ( !function_exists( 'optionsframework_init' ) )
{
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
126 次 |
| 最近记录: |