Changing wp-content to other name? Multisite set up

You can move the wp-content directory to a different location, which essentially renames it. First, in your wp-config.php file, add this: define( ‘WP_CONTENT_DIR’, $_SERVER[‘DOCUMENT_ROOT’] . ‘/folder/path/to/new/dir’ ); And second, also in wp-config.php, add this: define( ‘WP_CONTENT_URL’, ‘http://yoursite.com/folder/path/to/new/dir’); You can read more about changing the wp-content dir on the Codex.

get_option compatible with wordpress network (multisite)?

When working with multisites, there are two commonly used sets of functions for pulling/updated options. Now… how you structure your options and save them to the database is up to you. It depends on the functionality your plugin is adding, and where you want to store/pull options. Single Site Configuration get_option() and update_option() are used … Read more

Has WP and MU fully merged?

Yes, WP and WPMU have merged. WPMU is now a feature called Multisite. Here are items on WordPress Answers tagged with “multisite”: Questions on WordPress Answers Tagged with “multisite” Here’s an article that shows you how to enable it: How to enable Multi-Site option in WordPress 3.0

Does WordPress MultiSite use separate MySql databases?

WordPress MU uses one database and each blog gets his own tables with the blog id in the prefix, so once you install a network installation your database should have these tables: wp_1_categories wp_1_comments wp_1_link2cat wp_1_links wp_1_options wp_1_post2cat wp_1_postmeta wp_1_posts wp_blogs wp_blog_versions wp_registration_log wp_signups wp_site wp_sitecategories wp_sitemeta wp_usermeta wp_users And every new site you set … Read more

Multiple WP Sites Same Server – Share WP Base?

Sharing single set of core files without multisite is a setup technique that kind of make sense, yet kind of very under explored – exactly because multisite exists. The latest iteration of it (that I know of) has been suggested by Mark Jaquith to be: sites |__ ms.dev | |__ content | |__ index.php | … Read more

WordPress Multisite – global categories

function __add_global_categories( $term_id ) { if ( get_current_blog_id() !== BLOG_ID_CURRENT_SITE || ( !$term = get_term( $term_id, ‘category’ ) ) ) return $term_id; // bail if ( !$term->parent || ( !$parent = get_term( $term->parent, ‘category’ ) ) ) $parent = null; global $wpdb; $blogs = $wpdb->get_col( “SELECT blog_id FROM {$wpdb->blogs} WHERE site_id = ‘{$wpdb->siteid}'” ); foreach … Read more