• rpn23

    (@rpn23)


    Hello,

    I was trying to change the default font color to my wordpress theme, and copy and pasted a line of code at the end of this section then deleted it:

    array( “name” => “Custom CSS Code”,
    “desc” => “In case you want to modify the CSS of the theme, you can write your code here.”,
    “id” => $shortname.”_custom_css”,
    “type” => “textarea”,
    “std” => “” ),`

    Now I’m receiving this error:
    Parse error: syntax error, unexpected ‘{‘, expecting ‘)’ in /home/content/28/7648828/html/wp-content/themes/celtabusiness/lib/theme-options.php on line 37

    Line 37 is currently blank. Please help!!

Viewing 1 replies (of 1 total)
  • peter achutha

    (@peter-achutha)

    I don’t know the rest of your code but if that is the end of the statement there should be a ; instead of , after the close brackets (unless you have an array within an array then it should be a comma ,)?

    also your last line of code is “std” => “” ),what is the tidle doing as the last character in the last line? I don’t think php uses `

Viewing 1 replies (of 1 total)

The topic ‘Parse error in theme options.php’ is closed to new replies.