[wp-hackers] Sharing widgets across multiple blogs
dvmorris at gmail.com
Mon Jul 12 05:37:58 UTC 2010
I see. That might actually work for me. I will look into that tomorrow.
Thanks so much for the help,
On Mon, Jul 12, 2010 at 12:13 AM, Andrew Nacin <wp at andrewnacin.com> wrote:
> On Mon, Jul 12, 2010 at 12:28 AM, David Morris <dvmorris at gmail.com> wrote:
> > Yes, that makes sense, but in this particular case all of the blogs share
> > the same theme. It's a project I inherited, so I'm trying to be delicate
> > with the changes I make. Thanks for the tip, that helps me out a lot.
> > Dave
> Another potential option is to short-circuit calls to the options table
> where the widgets information is stored, using the pre_option_$option hook,
> and instead store it in sitemeta. Then make sure you attach a hook to
> update_option_$option on the main blog to keep the site meta in sync.
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers