Saturday 25 May 2013

common setting for all sites

common setting for all sites

I want to have common setting for all sites.
That is, a common setting however i can take that value from any blog/site something like get_option('cms_url').
Now every site have settings for that site in the wp_options table. If the site id is 2 then the setting will be stored in wp_2_options table. If i user get_option that will refer to the current blog's wp_option table.
Or can i define that in wp_config.php? So that i can take that value from any blog/site. Is it possible? If so, please explain how to take that in the plugin files?

No comments:

Post a Comment