Anchor Class & ID

Menu Item Settings > General

The WordPress menu system already provides an ID for each menu item and a way to add custom classes. However, if you have a specific need to add the class or ID to the anchor (<a>) rather than the list item (<li>), you can use these menu item settings.

Common usage

– Custom styling with precise targeting

– Support for third party scripts like lightboxes or Google Analytics.