get_option() and update_option() in a transaction (for an autoincrement value)
get_option() and update_option() in a transaction (for an autoincrement value)
get_option() and update_option() in a transaction (for an autoincrement value)
Autopopulate a value
Drop Down options aren’t saving in my wordpress plugin options page
The only currently available Theme Features of this kind are for header and background. Sliders are very popular feature so best bet to get such functionality is look through available plugins.
One great challenge that i can think of is creating that your import export system dynamic in a way that if you add another option here and there in your updates that you won’t have to go back to the export function and update it to export the new options as well, basically what I’m … Read more
Take a look at the Settings API first. But maybe “OptionTree” will help you even more.
Adding this beneath the title should do it: <?php settings_errors(); ?> WordPress does this for you automatically on the ‘options’ pages, but you have to do it yourself in other sections of the site.
The variable in my copy of wordpress on the line your error indicates is actually $current_site as opposed to $current_blog (I may have a newer version of WP). I believe you can clear that by changing the value of the option_name “siteurl” or “blogname” in your wp_options table on your database.
Sounds like a couple of possibilities 1) an upgrade that may not have completed successfully or fully – try reloading wordpress completely (download and ftp). This has happening to a few folk or 2) a plugin that may not be compatible with new version. For debugging purposes, try deactivating one by one till problem goes … Read more
I ran into this very same issue and I have a workaround. Hopefully it will be fixed in the upcoming 3.3 release as this trac ticket suggests. The workaround basically replicates the important bits of the wp-admin/options.php file where settings registered via the settings API are processed. The reason additional permalink settings do not currently … Read more