Migrating Multisite with WP-Cli and/or Search-Replace-DB

Accepting a little egg on my face. Dumb-dumb error. The above migration was 100% successful despite the error messages from WP-Cli and Search Replace DB. The reason that my theme appeared broken and other weird issues.. I forgot to re-enable my plugins folder that had been re-named “plugins_temp_disabled”, while troubleshooting a different problem. Good night … Read more

FeedWordPress duplicated posts problem

You can use the “syndicated_post” hook that’s available in FWP and hook in a function that checks for duplicate posts. add_action(‘syndicated_post’, ‘fwp_check_duplicate’); I started working on this a few months back but did not complete it. I basically got to the point of flagging potential duplicates and putting them in draft mode instead of publishing. … Read more

How do I create a multi site network?

http://codex.wordpress.org/Create_A_Network Have you looked through the basics? You can set up subdomains, site.domain.com or subdirectories domain.com/site Or you can even route domains to the sub sites. Check out that stuff first, as multisite is built in to WP since 3.0 If you had more specific questions you maybe rephrase your question?

Bulk Move Users from one site to another within a network ( Multisite )

Here is code I wrote to automatically move the users from site A to site B within a network en masse. May need running twice <?php add_action( ‘admin_init’, ‘user_move_init’ ); add_action( ‘admin_menu’, ‘user_move_add_page’ ); /** * Init plugin options to white list our options */ function user_move_init(){ register_setting( ‘user_move’, ‘user_move’, ‘user_move_validate’ ); } /** * … Read more

Possibility of Create Site Specific CSS in a Multisite

Yes, you can add website specific class to BODY, for example. Best approach is to create little multisite enabled plugin, that adds some class to BODY in body_class filter. function customBodyClass( $classes ) { global $current_blog; $classes[] = ‘website-‘.$current_blog->blog_id; return $classes; } add_filter( ‘body_class’, ‘customBodyClass’ ); All themes has to use body_class() function in BODY … Read more