anchorcms/anchor-cms — Issue #58: Theme Options
Author: visualidiot
Created: 2012-02-15 14:10:41+00:00
State: open
Labels: Medium Priority

Have a basic way of passing data to a theme. I'm thinking like this:

```PHP
set_theme_options(array(
'use_header' => true,
'header_src' => 'http://t0.gstatic.com/images?q=tbn:ANd9GcToU0McaPXbYcQIYcfkUvjrlkRo-isYlO8gIDGHpAFnDqMCDVs-BUiZG4AhFA'
));
```

Which would then be called like this:

```PHP
theme_option('use_header'); // returns "true"
```

> Reference: http://twitter.com/chrisveto/status/169579692859465730