Predefined Aspen Subthemes
← You can click the ?'s found throughout Aspen admin pages for context specific help.
Welcome to Aspen
Aspen gives you extreme control of your WordPress blog appearance using the
different admin tabs here. This tab lets you get a quick start by picking one of the many
predefined subthemes. Once you've picked a starter theme, use the Main Options and Advanced Options
tabs to tweak the theme to be whatever you like. After you have a theme you're happy with,
you can save it from the Save/Restore tab. The Help tab has much more useful information.
We realize Aspen has a lot of options. To help make it easier to get started,
you can click the "Hide Advanced Options" button found on the right side of the screen wherever a
"Save Options" button is found, and a simplified set of options will be displayed. Just click the "Show All Options" button
to once again show all options.
4 ? substr($m_file,$len-4,4) : '';
if($ext == '.ath' ) {
$theme_list[] = $base;
}
}
}
if (!empty($theme_list)) {
aspen_st_pick_theme($theme_list); // show the theme picker
} else {
echo "WARNING: Your version of Aspen is likely installed incorrectly. Unable to find subtheme defiitions.
\n";
}
echo '
';
do_action('aspen_child_show_extrathemes');
//do_action('aspen_pro_admin','show_subthemes');
}
function aspen_st_pick_theme($list_in) {
// output the form to select a file list from aspen-subthemes directory
$list = $list_in;
natcasesort($list);
$cur_theme = aspen_getopt('theme_filename');
if (!$cur_theme) $cur_theme = ASPEN_DEFAULT_THEME; // the default theme
?>
$val) {
if ($key[0] == '_') { // these are non-theme specific settings
$new_cache[$key] = $aspen_opts_cache[$key]; // clear
}
}
$opts = $restore['aspen_base']; // fetch base opts
aspen_delete_all_options();
foreach ($new_cache as $key => $val) { // set the values we need to keep
aspen_setopt($key,$new_cache[$key],false);
}
foreach ($opts as $key => $val) {
if ($key[0] == '_')
continue; // should be here
aspen_setopt($key, $val, false); // overwrite with saved theme values
}
aspen_setopt('theme_filename',$theme);
aspen_setopt('last_option','Aspen');
aspen_save_opts('set subtheme'); // OK, now we've saved the options, update them in the DB
return true;
}
?>