這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Menu Item Types

外掛說明

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:

安裝方式

  1. Install the plugin and activate.
  2. Go to Apparence > Menu
  3. If the new metaboxes are not visible, use screen options

常見問題集

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?

Yes. Download and install it.

How to add my own custom fields?

Menu Item Types adds a new ACF location to target different types of menu items.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Menu Item Types〉的開發相關工作。

參與者

〈Menu Item Types〉外掛目前已有 1 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Menu Item Types〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.3

  • Fix : fix ACF location match. now you can create a location test with the menu item type name & another native item type.

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