Syncing content in Multisite. Possible?
WP ebooks has a plugin called WP Multisite Replicator that doesn’t keep things in sync but it does let you replicate sites one-off.
WP ebooks has a plugin called WP Multisite Replicator that doesn’t keep things in sync but it does let you replicate sites one-off.
Use add_site_option() and update_site_option(). You can find these functions in wp-includes/functions.php.
You have at least three options: use a Child Theme on mysite.com, in which you replace index.php with whatever you want Use a different Theme entirely on mysite.com – could be a landing-page Theme or whatever. Use your current Theme on mysite.com, but set it to display a static page as front page, put your … Read more
After banging my head on this for a few days, I found a solution that works. Just add the following to wp-config.php: if ( isset( $_SERVER[‘HTTP_X_FORWARDED_HOST’] ) ) { $_SERVER[‘HTTP_HOST’] = $_SERVER[‘HTTP_X_FORWARDED_HOST’]; } This will force WordPress to use the requested domain, instead of the proxy domain.
You could go with multisite, but as long as they’re only asking for a different look and feel, you could work it out with Templates and conditional statements for enqueueing styles, scripts, etc. For the ease of things, I’d go with a single site install.
You can use the adminbar on front. Plus you can customize it to your needs. Example on how to add a node // Read here 1) function nacin_promote_network_admin_in_toolbar( $wp_admin_bar ) { $wp_admin_bar->add_node( array( ‘id’ => ‘network-admin’, ‘parent’ => false, ) ); } add_action( ‘admin_bar_menu’, ‘nacin_promote_network_admin_in_toolbar’, 25 ); 1) Read on WPDevel how to add/remove_nodes in … Read more
You can try this http://wordpress.org/extend/plugins/geographical-redirect/ Alternatively, roll your own, using any GeoIP service (MaxMind for example, or get your own GeoIP database) and use wp_redirect based on the $_SERVER[‘REMOTE_ADDR’].
http://core.trac.wordpress.org/browser/tags/3.3.1/wp-admin/includes/ms.php#L46 Notice, how drop defaults to false; this means that the blog tables are not removed. Deleting is triggered from over here: http://core.trac.wordpress.org/browser/tags/3.3.1/wp-admin/ms-delete-site.php#L19 and nowhere else by default. Unless you have a plugin that forces drops on the tables there’s still a chance to recover something. First of all backup the database before attempting anything. … Read more
Ok i found the answer. $post = get_blog_post( $blog_id, $data ); $link = get_blog_permalink( $blog_id, $data ); echo __(‘Post on’) . ‘ “<a href=”‘.$link.'”>’ . $post->post_title . ‘</a>”‘; I hope it will be useful for others 🙂
The bottom line is that you’ll need to have all the post content in one place in order to be able to form it into a single feed. (Querying efficiently across 18 different post tables is more or less impossible.) My go-to method is to use the Sitewide Tags plugin https://wordpress.org/extend/plugins/wordpress-mu-sitewide-tags/, which allows you to … Read more