WordPress plugin intelligence profile

Menu Item Types

Menu Item Types makes it easy to add and create custom menu item types to your navigation menus.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.0
Current version1.8
WordPress coverageTested up to WordPress 7.0
Minimum stackWP 5.8 · PHP 8.0
Directory statusactive
Last directory update6 Jul 20263mo ago
Active installations100Adoption metric — not a quality score
WordPress.org rating5.0 / 5 from 2 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Menu Item Types version 1.8 as active, updated 3mo ago and tested up to WordPress 7.0.

Overview

About this plugin

Menu Item Types makes it easy to add links to your archive pages, titles, items without URL, paragraphs or images to your navigation menus.

You can also easily override the templates and/or create your own custom elements.

Create your own item type

php, a plugin, child theme, or your custom theme like this:

function register_my_custom_type(){

php', );

mitypes_register_type( $args ); } add_action( 'mitypes_init', 'register_my_custom_type' );

You can do more than that on $args.

php',

svg',

// Return ACF Group field array 'field-group' => [ 'key' => 'uniq_key', 'title' => 'Group Title', 'fields => [ ... ], 'location' => [ [ [ 'param' => 'mitypes', 'operator' => '==', 'value' => 'my-custom-type', ], ], ],

],

// Use callback for customize your item // you can add filter on 'mitypes_nav_menu_link_attributes' if you need 'callback' => function(){... } );

And finally, you can work in the render with some variables.

You have two variables available:

// $item is the WP_Post of the menu item, with which you can, for example, retrieve custom field data.

$id = get_field( 'acf-slug', $item->ID );

// $args is an object containing the complete configuration of the wp_nav_menu() call, // including the current menu (WP_Term), classes, IDs, wrappers, depth, walker, menu location, etc. org/reference/functions/wp_nav_menu/

There are already additional plugins.

You can also create your own elements like these plugins do:

  • Menu Item Types — Button
  • Menu Item Types — Action

Customize the plugin

// Disable Post Type Archive Metabox add_filter( 'mitypes_has_post_type_archive_metabox', '__return_false' );

// Disable Buildin Item types add_filter( 'mitypes_has_buildin_item_types', '__return_false' );

// Mix Buildin and Plugin Item types in the metabox add_filter( 'mitypes_mix_metabox_item_types', '__return_true' );

// Filter Supported Item types add_filter( 'mitypes_supported_types', function(){ return ['image']; } );

// Disable Nav Item Icons add_filter( 'mitypes_nav_menu_items_has_icons', '__return_false' );

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • nav item
  • custom
  • menu
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 7.0

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 7.0.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.0
Minimum requirementsWordPress 5.8 · PHP 8.0
Update activity6 Jul 20263mo ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

WordPress compatibility7.0.47.0.6
Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.