$oval) /* fetch saved my theme and change values */ { $val = ttw_getmyopt($key); /* get the saved value */ if ($val !== false) { ttw_setopt( $key, $val); /* and set value really used */ } } } else { /* picked a pre-defined sub-theme */ // apply_filters('ttwx_themes_gettheme',$def,$use_subtheme))) // might be plugin theme // find the file name based on the name $theme_file = 'wvr-wheat'; // a default version foreach ($ttw_themeList as $theme) { if ($theme['name'] == $use_subtheme) { $theme_file = $theme['file']; break; } } // build the filename $filename = get_template_directory_uri() . '/subthemes/' . $theme_file . '.wvr'; ttw_upload_theme($filename, true /* main only */); } ttw_setopt('ttw_subtheme', $use_subtheme); ttw_saveopts(); } function ttw_savemytheme() { /* saves current settings into My Saved Theme */ global $ttw_optionsList; /* save current value into mysaved theme database */ foreach ($ttw_optionsList as $key => $oval) { $val = ttw_getopt($key); /* get the current value */ ttw_setmyopt( $key, $val ); /* and save into 'my_' db */ } ttw_setopt('ttw_subtheme', 'My Saved Theme'); ttw_saveopts(); } function ttw_themes_admin() { /* The opening default admin panel - used to pick a predefined theme. Put it first because it is less intimidating than the Main Options tab. */ global $ttw_themeList; ?>
Weaver gives you extreme control of your WordPress blog appearance using the different admin panels here. This page lets you get a quick start by picking one of our many predefined sub-themes. Once you've picked a starter theme, use the Main Options and Advanced Options panels to tweak the theme to be whatever you like. After you have a theme you're happy with, you can save it - both in the site data base, and as a download. The Snippets tab has some hints for additional fine tuning, and the Help tab has much more useful information.
| ';}
echo("$name "); /* info about the theme */ echo " "; echo "$desc"; echo " | \n";
++$col; /* track # of cols output */
if ($col > 3) {
echo ''; } if ($col != 0) echo ''; echo " |
More sub-themes are available for easy download at Twenty Ten Weaver Sub-Themes.
Since this is a WordPress Multi-site installation, you are restricted from uploading a Weaver theme from a saved file. However, the save file capability gives you the ability to save your work so you can transfer it to a WordPress site where you have full admin capabilities (non-Multi-site installation, for example), or to share with others. Please note that you can save your settings in "My Saved Theme" which will allow you to explore other predefined themes without losing your work.
Please provide a name for your file, then click the "Save File" button. Warning: Duplicate names will automatically overwrite existing file without notification.