Tag Info

Hot answers tagged

11

WordPress already has a XML-RPC client class implemented. It's in the same file as the server part: class-IXR.php located in wp-includes. The following code will generate a new post. You could wrap this in a function and attach it to the save_post/update_post action hook. To sync both parts, you could check for the post-slug or submit the same post-id to ...


6

The reality is that what we want is this: http://www.liquibase.org/ Liquibase is an open source (Apache 2.0 Licensed), database-independent library for tracking, managing and applying database changes. It is built on a simple premise: All database changes are stored in a human readable yet trackable form and checked into source control. However ...


2

I suggest if you want to use BuddyPress always, just ignore/remove WordPress profile informations and you can: Redirecting User to Their Buddypress Profile when They access their wordpress profile(wp-admin/profile.php): http://buddydev.com/buddypress/playing-with-buddypress-and-wordpress-some-codes-for-the-site-admins/


2

as for your first answer , Like always, you can do that in many ways.. you can use a local folder synch write a function to allow wp to use a themefrom other install (3 filters to check : template_directory_uri // theme_root //theme_root_uri ) install a multiblog network mode and use the same theme for all. IMHO the best would be to to use local ...


1

There's an action hook in the set_role function. It's a matter of detecting if this is happening in the main site, and, if it does, get all blogs of the user and change all roles. More details in code comments. add_action( 'set_user_role', 'sync_user_roles_wpse_91745', 10, 2 ); function sync_user_roles_wpse_91745( $user_id, $role ) { // is_multisite() ...


1

You can easily use Windows Live writer and manage several blogs from your home and get a preview on how the post would look like in your blog pre-publish Try it you gona love it!


1

This code works, but please note that it is provided as is. It had only been tested in a localhost development. There's a function extracted from the plugin Multisite User Management, which is based on the get_blog_list function, that has been deprecated. No alternative available. For performance reasons this function is not recommended. The user ...


1

Database synchronization between dev/staging and production Easily Move a WordPress Install from Development to Production? Maintaining synced staging/production WP sites



Only top voted, non community-wiki answers of a minimum length are eligible