[wp-hackers] nav menus: theme locations vs. individual menus
Davit Barbakadze
jayarjo at gmail.com
Mon Aug 2 15:18:46 UTC 2010
Another thing I realized was not quite clear when I opened menu
management interface for the first time, was that
theme_location-to-nav_menu association meta box. It looked a bit out
of place. It could move to menu panel. Like user creates a menu,
populates it with items and then assigns it directly to a particular
theme location. There could be a dropdown list of theme locations
directly on menu panel, in addition to that a bit irrational combined
theme_location-to-menus meta box on the sidebar. No?
It's just that it's not exactly intuitive the way it works now. I
don't think users will undestand what it does without asking
questions.
On Mon, Aug 2, 2010 at 12:15 AM, Mike Schinkel
<mikeschinkel at newclarity.net> wrote:
> On Aug 1, 2010, at 10:19 AM, Davit Barbakadze wrote:
>> Although there's still something misleading there, not quite sure
>> what, maybe it's naming for the functions. For example
>> register_nav_menus() function and it's codex page here:
>> http://codex.wordpress.org/Function_Reference/register_nav_menus, they
>> both kinda tell you that you are registering (creating) a menu, but in
>> fact you are not. In fact it has nothing to do with menus. You are
>> just registering a theme location, a slot for a menu, that probably
>> has yet to be created. Maybe it should be like
>> register_nav_menu_locations() or something.
>
> +1 for that.
>
> -Mike
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
--
Davit Barbakadze
More information about the wp-hackers
mailing list