Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

How to add 'theme option' when creating a theme?

edited September 2011 in Vanilla 2.0 - 2.8
How to create a theme option while modifiying a theme? like vanillapress2010 and the defaultsmarty that have 'theme option'

Best Answer


  • lucluc ✭✭
    Answer ✓
    Well, just check their code.
  • edited September 2011
    when i look into their theme they have
    'Options' => array()

    but when i try to use it, it show this error

    Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in C:\xampplite\htdocs\wordpress\forum\themes\cactus\about.php on line 21

    @lincoln n @digibomb or @tim i need ur help xD
  • Parse errors is something you can solve yourself by thinking logically. It's usually a typo. You're probably missing an ')' on that line.

    There was an error rendering this rich post.

  • oohh.. i will try, i am real noob at php :(
Sign In or Register to comment.