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

ACF Simple Tooltip

外掛說明

Displays ACF field instructions as tooltips using only CSS.

Overview

The Advanced Custom Fields plugin by Elliot Condon is a fantastic resource for developers, allowing us to structure custom data and create a great user experience for data entry personnel.

The instruction text for ACF fields is useful, but creates visual clutter in the WordPress interface when there is a lot of instructional text. Thomas Meyer has created a great plugin to address this issue with his ACF Tooltip Plugin. However, when using this plugin on implementations that have a large number of ACF fields, I have seen that performance drops and load-time of the WP Dashboard increases.

This plugin, ACF Simple Tooltip, is a lightweight solution that uses only two lines of JavaScript to add classes to ACF field labels which have instruction text. CSS takes care of the rest (creating the “info” ⓘ icon, styling the instruction text as a tooltip, and creating the hover functionality for showing the tooltip). Simply install the plugin, and the JS and CSS will enqueue on any post.php page in the WP Dashboard.

Contact

This is an initial version, so please contact me if you find any issues while using the plugin. Happy developing!

螢幕擷圖

  • Simple tooltip on an ACF Checkbox (True/False) field.
  • Simple tooltip on an ACF Button Group field.
  • Simple tooltip on an ACF Checkbox (True/False) field group.
  • Simple tooltip on an ACF Repeater field group.

常見問題集

Has this plugin been tested with the Advanced Custom Fields plugin?

Yes. ACF Simple Tooltip should work with the latest version of Advanced Custom Fields.

What do I need to do to get this to work on my WordPress installation?

Simply install the plugin and activate it. No additional settings required.

What about support?

Please submit a support ticket at WordPress forum.

使用者評論

閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈ACF Simple Tooltip〉的開發相關工作。

參與者

將〈ACF Simple Tooltip〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.0.0

  • Initial release. Creates tooltip for instruction text on all post.php and post-new.php pages, except for the ACF Field Groups pages (New or Edit).

1.1.0

  • Updated CSS to fix a bug where br tags were showing when the tooltip was hidden.
  • Updated CSS to allow for custom CSS within tooltip description.

1.1.0

  • Tested up to WordPress 5.9.3.