[wp-hackers] export - import Primary Menus from Prototype Subsite to Another Subsite ...
peter baylies
pbaylies at gmail.com
Mon Sep 19 21:47:39 UTC 2011
Chuck,
Where should the menu links point? You could try using switch_to_blog() (
http://codex.wordpress.org/Function_Reference/switch_to_blog ) right before
you pull in the menu (and restore_current_blog() right afterwards) but be
careful with that, it may not do what you want. Here's a thread that
mentions this technique:
http://wordpress.org/support/topic/using-30b1-menus-for-multisite-navigation
Cheers,
-- Peter Baylies
Semper Fi Web Design
On Mon, Sep 19, 2011 at 3:47 PM, Chuck Scott <chuck at avantigroup.com> wrote:
> Hi - the purpose of this thread is to see if anybody knows an easy way
> to copy / duplicate / export-import a primary menu from one child site
> to another child site on the same WP Multisite network ..??..
>
> thanks in advance for pointers ... to be continued ... cordially, chuck
> scott
>
>
> --
> -------------------------------------------------------------
> Me -> http://chuckscott.com
>
> Chuck Scott - Creative Consultant
>
> -------------------------------------------------------------
> My Blog --> http://chuckingit.com
>
> Chucking It - Reflecting on Life, Business,
> Entrepreneurship, Innovation & Technology
>
> -------------------------------------------------------------
> My Company ---> http://avantigroup.com
>
> The Avanti Group, Inc. - Architects of
> Multimedia & Web Solutions
>
> -------------------------------------------------------------
> What's New --->
>
> Tweeting a bit at @avantigroup
>
> -------------------------------------------------------------
> -------------------------------------------------------------
> -------------------------------------------------------------
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
More information about the wp-hackers
mailing list