Opened 3 years ago

Closed 3 years ago

#13626 closed enhancement (worksforme)

Add onclick field to nav menu items

Reported by: sillybean Owned by:
Priority: normal Milestone:
Component: General Version: 3.0
Severity: normal Keywords:
Cc: Steph@…, helveticaman@…

Description

In some very detailed analytics packages, nav menu items need individual onclick events. Could this be another field, hidden until turned on in the screen options?

Change History (2)

This sounds like plugin material. It's fairly easy to add custom properties to menu items using filters.

  • Milestone Unassigned deleted
  • Resolution set to worksforme
  • Status changed from new to closed

-1. This could be achieved via your own callback/walker or by attaching to existing hooks. Additionally, it's better done via unobtrusive JavaScript anyway. Closing as worksforme.

Note: See TracTickets for help on using tickets.