Maintaining custom menu when changing theme

5 views
Skip to first unread message

Perry

unread,
Jun 17, 2011, 4:21:32 AM6/17/11
to Manchester WordPress User Group
I notice that custom menus disappear when you change your theme -
which is a bit of a pain if you are trying out different themes and so
on.

Is there a way of saving custom menus so they persist across theme
changes? I've looked for a plugin but can't seem to find one.

Cheers
Perry

Mike Little

unread,
Jun 17, 2011, 4:50:35 AM6/17/11
to manchester-word...@googlegroups.com
Are you sure your custom menu disappears, or is it that the new theme doesn't display it? 
It may be that the new theme doesn't support custom menus, or that you simply have so associate your custom menu with the theme location for the new theme.

I've just tried swapping from a twentyten child theme with a custom menu to a theme that doesn't support custom menus.
My menu didn't display of course, but in the back end (Appearance -> Menus) the menu was still there , but I couldn't do anything with it.
I then swapped to twentyten, and again it didn't automatically appear, but in the back end I simply assigned my custom menu to the 'primary navigation' menu location and voila! it now appears.
Now when I swap between the twentyten child and twentyten, they both display my custom menu, WP doesn't forget once you have assigned it, but the assignment is per theme, so you have to do it for each new theme.

Hope this helps,

Mike
-- 
Mike Little


Perry

unread,
Jun 17, 2011, 4:53:51 AM6/17/11
to Manchester WordPress User Group
Cheers Mike - I'm pretty sure that when I have tried this before (and
with themes that definitely support custom menus) that I have had to
start from scratch each time. I'll give this a go again and see if I
was missing anything.

Perry

On Jun 17, 9:50 am, Mike Little <m...@zed1.com> wrote:

Perry

unread,
Jun 17, 2011, 4:56:47 AM6/17/11
to Manchester WordPress User Group
Well whaddaya know - it works seamlessly! Is this something that has
been introduced recently or have I just been doing something wrong?

On Jun 17, 9:50 am, Mike Little <m...@zed1.com> wrote:

Mike Little

unread,
Jun 17, 2011, 5:08:20 AM6/17/11
to manchester-word...@googlegroups.com

Yay! Glad it's working.

Not sure if it has changed, I've only started using them recently.

Mike

--
Mike Little - http://zed1.com/
Sent from Android, please excuse any brevity.

> --
> See the group blog at http://mwug.info
>
> You received this message because you are subscribed to the Google
> Groups "Manchester WordPress User Group" group.
> To post to this group, send email to
> manchester-word...@googlegroups.com
> To unsubscribe from this group, send email to
> manchester-wordpress-...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/manchester-wordpress-user-group?hl=en?hl=en
Reply all
Reply to author
Forward
0 new messages