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

LuckyWP ACF Menu Field

描述

Add navigation menu field type to Advanced Custom Fields.

Features

  • Customizable return value: ID, object (WP_Term) or HTML (use function wp_nav_menu()).
  • Hook filter lwpamf_wp_nav_menu_args to change arguments of wp_nav_menu() function.

Compatibility

LuckyWP ACF Menu Field is compatible with:

  • Advanced Custom Fields 5
  • Advanced Custom Fields PRO 5

螢幕截圖

  • Edit Field Configuration
  • Menu Field

安裝

Installing from the WordPress control panel

  1. Go to the page “Plugins > Add New”.
  2. Input the name “LuckyWP ACF Menu Field” in the search field
  3. Find the “LuckyWP ACF Menu Field” plugin in the search result and click on the “Install Now” button, the installation process of plugin will begin.
  4. Click “Activate” when the installation is complete.

Installing with the archive

  1. Go to the page “Plugins > Add New” on the WordPress control panel
  2. Click on the “Upload Plugin” button, the form to upload the archive will be opened.
  3. Select the archive with the plugin and click “Install Now”.
  4. Click on the “Activate Plugin” button when the installation is complete.

Manual installation

  1. Upload the folder luckywp-acf-menu-field to a directory with the plugin, usually it is /wp-content/plugins/.
  2. Go to the page “Plugins > Add New” on the WordPress control panel
  3. Find “LuckyWP ACF Menu Field” in the plugins list and click “Activate”.

After activation

Into ACF field type will appear option “Menu” (group “Relational”).

評價

2022年11月2日
Does what it says on the label. Glad I found this!
2021年6月21日
I wonder why ACF doesn't have this feature by default? If you need to for example create a navigation with categories and pages at once, you have no chance without this plugin. So thanks a lot for it.
閱讀全部16個評價

貢獻者及開發者

“LuckyWP ACF Menu Field” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

LuckyWP ACF Menu Field 外掛目前已有 2 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 LuckyWP ACF Menu Field 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

1.0 — 2020-05-26

  • Initial release.