Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Menus attribute

Security covered Maintenance fixes only 5,252 sites

This module lets you add custom attributes like ID, class, style, and rel to individual menu items. This is useful for controlling SEO, styling specific links, or targeting them with JavaScript.

This simple module allows you to specify some additional attributes for menu items such as id, name, class, style, and rel.

You should use this module when

You want to "nofollow" certain menu items to sculpt the flow of PageRank through your site
You want to give a menu item an ID so you can easily select it using jQuery
You want to add additional classes or styles to a menu item
The module currently allows you to set the following attributes for each menu item:

Id
Name
Title
Target
Rel
Class
Style
Accesskey

Similar modules:

Drupal 8–10 · not 11

Ask your assistant about Menus attribute

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
May 2023
Latest release
3 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core PHP Release date
8.x-1.3 Stable 8–10 May 15, 2023