Menu Item Types makes it easy to add links to your archive pages, titles, items…
Author: | @maxpertici (profile at wordpress.org) |
WordPress version required: | 5.8 |
WordPress version tested: | 6.1.4 |
Plugin version: | 1.3 |
Added to WordPress repository: | 07-10-2021 |
Last updated: | 24-10-2023 |
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | https://maxpertici.fr#menu-item-types |
Total downloads: | 3 664 |
Active installs: | 30+ |
Click to start download |
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:
FAQ
ChangeLog