Title: Functions.php and theme options
Last modified: August 20, 2016

---

# Functions.php and theme options

 *  [cnrcssl](https://wordpress.org/support/users/cnrcssl/)
 * (@cnrcssl)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/functionsphp-and-theme-options/)
 * Hi,
 * I am trying to add theme options to a site i am building. I have followed the
   tutorial here [http://themeshaper.com/2010/06/03/sample-theme-options/](http://themeshaper.com/2010/06/03/sample-theme-options/)
 * My current functions.php file is just the one included in the download, when 
   kept in a subdirectory, named theme-options along with the theme-options.php 
   and stylesheet the theme options do not appear in the appearance section.
 * If i move the functions.php file into the main directory the whole thing breaks
   and i cannot see anything when i try and access the site.
 * Can anyone explain what i may be doing wrong with the functions.php file,
 * do i need to include other things in functions.php to load my theme along with
   the code to load theme options?
 * Will it only have an affect if it is within my main directory?
 * thanks for any help.

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/functionsphp-and-theme-options/#post-3394083)
 * Are you using the Thematic framework?
 *  Thread Starter [cnrcssl](https://wordpress.org/support/users/cnrcssl/)
 * (@cnrcssl)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/functionsphp-and-theme-options/#post-3394166)
 * Just had to google that. Not using any framework, have just been building from
   scratch.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/functionsphp-and-theme-options/#post-3394206)
 * Then I’d recommend reviewing this [article on creating theme options](http://www.chipbennett.net/2011/02/17/incorporating-the-settings-api-in-wordpress-themes/).
 *  Thread Starter [cnrcssl](https://wordpress.org/support/users/cnrcssl/)
 * (@cnrcssl)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/functionsphp-and-theme-options/#post-3394215)
 * thank you very much for your help!

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

The topic ‘Functions.php and theme options’ is closed to new replies.

## Tags

 * [themeoptions](https://wordpress.org/support/topic-tag/themeoptions/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [cnrcssl](https://wordpress.org/support/users/cnrcssl/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/functionsphp-and-theme-options/#post-3394215)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
