Plugin to import/export wp_options

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

Using call_user_func() within add_settings_section() within a Class

Hi @Loni Huff: Your Code, Reformatted: It appear you are trying to call your callback with call_user_func() instead of just passing it. Reformatting your code, this is what you have: add_settings_section( ‘expansion_’ . $row->expansion_id, ”, call_user_func(array(&$this, ‘display_expansion’), $row->expansion), ‘warpress_progression’ ); // PROBLEM SEEMS TO BE HERE Equivalent to Your Code: Which is basically the same … Read more

What’s the easiest way of adding more options in the Theme Options of the twenty eleven theme?

As you can see in source theme makes some use of Settings API, but doesn’t include calls like do_settings_fileds() that would allow you to use add settings. I would probably try to unhook twentyeleven_theme_options_add_page() call and fork that and theme_options_render_page() to extend it with additional options. Also I think that unlike core Twenty Eleven wasn’t … Read more

How can I clear memcached WordPress site options by hand?

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.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)