Description
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.
Filters
// 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']; } );
Menu Item Types can be extended
There are already additional plugins.
You can also create your own elements like these plugins do:
Installation
- Install the plugin and activate.
- Go to Apparence > Menu
- If the new metaboxes are not visible, use screen options
FAQ
-
My elements haven’t styles
-
Menu Item Types does not provide graphic formatting. It provides the tools to create your own elements.
-
Is ACF essential?
-
How to add my own custom fields?
-
Menu Item Types adds a new ACF location to target different types of menu items.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Menu Item Types” is open source software. The following people have contributed to this plugin.
Contributors“Menu Item Types” has been translated into 1 locale. Thank you to the translators for their contributions.
Translate “Menu Item Types” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.2
- Add filter : mitypes_has_post_type_archive_metabox
- Add filter : mitypes_has_buildin_item_types
- Add filter : mitypes_mix_metabox_item_types
- Add filter : mitypes_supported_types
- Add filter : mitypes_has_{$type}_item_type_support
- Add render callback option : thx ogorzalka PR
- Improve svg support : thx ogorzalka PR
- Improve ACF’s test : thx alexwoollam PR
1.1
- Improved support for custom elements with the ability to register an icon.
- FIX post_type_archive label
1.0
- Launch