[wp-trac] [WordPress Trac] #36800: Add object ID to menu item class name (was: Add ID into menu CLASSNAME)
WordPress Trac
noreply at wordpress.org
Tue May 10 08:30:21 UTC 2016
#36800: Add object ID to menu item class name
-------------------------+------------------------------
Reporter: selnomeria | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Menus | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------+------------------------------
Changes (by swissspidy):
* component: General => Menus
Old description:
> when i create custom menu, and i.e. there is included a category/page in
> the menu (as you already add word "category" or "page" in the classname),
> please, add the ID of that category/page too... that will be a much help.
>
> or give us a posibility at least, if i define constant (in my
> functions.php) "SHOW_ID_IN_CUSTOM_MENUS" to true, then in this case. (or
> include slugname too.. will be good)
New description:
When i create custom menu, and i.e. there is included a category/page in
the menu (as you already add word "category" or "page" in the class name),
please, add the ID of that category/page too... that will be a much help.
or give us a possibility at least, if i define constant (in my
`functions.php`) `SHOW_ID_IN_CUSTOM_MENUS` to true, then in this case. (or
include slug name too.. will be good)
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36800#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list