[wp-hackers] Cloning content from Master site into new sites on a WP Network
ehitter at gmail.com
Wed Jul 11 20:31:28 UTC 2012
You could also move the post-type plugin into mu-plugins if it's something
all sites on the network will use.
On Jul 11, 2012 4:28 PM, "Bill Dennen" <dennen at gmail.com> wrote:
> On Wed, Jul 11, 2012 at 4:24 PM, Jesse Friedman
> <highfive at jesserfriedman.com> wrote:
> > One last question can you add custom post types to a new post in this
> > fashion IF those custom post types are defined by a plugin?
> > Since it's a new site and the switch_to_blog() function ignores plugins
> > will it return an error?
> You might switch_to_blog and then register the post types and
> taxonomies and then add the posts. This may not be best practice, but
> it has worked for me.
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers