WP Manifestindependent plugin directory
manifest / utilities / ingenicustommenufields

Ingeni Custom Nav Menu Fields

Custom attributes for Wordpress menu items

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/brucemckinnon/ingenicustommenufields/archive/refs/heads/master.zip
Updates itself. It ships its own updater (Plugin Update Checker), so new versions appear under Dashboard → Updates.

Description

Provides custom attributes for Wordpress nav menu items, primarily for adding accessibility aria labels.

Installation

  1. Upload to the '/wp-content/plugins/' directory.

  2. Activate the plugin through the 'Plugins' menu in WordPress.

  3. Modify the menu items in the Wordpress Appearance > Menus section.

Frequently Asked Questions

Which aria attributes are supported?

V2022.01 supports aria-label and aria-hidden

How do I set the aria attributes?

Modify the menu item properties in the Wordpress Appearance > Menus section.

How are the aria attributes added to my theme's navigation menus?

The plugin uses the wp_edit_nav_menu_walker() hook to bypass the standard menu walker, allowing the custom attributes to be added to the HTML of individual menu items.

Changelog

2022.01 - Initial release.