• hello sirs in ww.wp.xz.cn , i did make a mistake when i add a weather code in the wrong place (in the Editor of the theme option ),
    when i try to go to my website (kourani.net), the folowing message reveal :

    Parse error: syntax error, unexpected ‘<‘ in /home/korosh/public_html/wp-content/themes/twentyeleven/inc/theme-options.php on line 450

    how can i solve this problem ?…

Viewing 8 replies - 1 through 8 (of 8 total)
  • Moderator t-p

    (@t-p)

    -first, try switching to the UNEDITED defaul Twenty Eleven and see if that works.

    Thread Starter korosh1977

    (@korosh1977)

    thank you for taking care Mr or Mrs T-P…
    how can i switch to the UNEDITED default Twenty Eleven ?

    Moderator t-p

    (@t-p)

    currently, are you using twenty eleven?

    or

    are you using a child theme of twenty eleven?

    Thread Starter korosh1977

    (@korosh1977)

    Im using twenty eleven

    Moderator t-p

    (@t-p)

    have you edited any of the templates of twenty eleven?

    Thread Starter korosh1977

    (@korosh1977)

    yes i wanted to add a weather code, i made that wrongly (editing at one of the templates)

    Thread Starter korosh1977

    (@korosh1977)

    you can notice that from the message :

    Parse error: syntax error, unexpected ‘<‘ in /home/korosh/public_html/wp-content/themes/twentyeleven/inc/theme-options.php on line 450

    Moderator t-p

    (@t-p)

    This is the reason the WP codex recommends mcreating a child theme. You can read more about the child theme here.

    You asked in your previous post:

    how can i switch to the UNEDITED default Twenty Eleven ?

    -access your server via FTP or SFTP or whatever file management application your host provides, rename your current Twentyeleven something like twentyeleven_old

    -download a fresh copy of the twentyeleven, and upload this UNEDITED twentyeleven. See if it works.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘syntax error, unexpected’ is closed to new replies.