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

Advanced Custom Fields – Address Field add-on

外掛說明

This is an add-on for the Advanced Custom Fields
WordPress plugin and will not provide any functionality to WordPress unless Advanced Custom Fields is installed
and activated.

The address field provides the ability to enter an address by component (street, city, state,
postal code, country, …), enable or disable components, and change the layout of the
entered address (on the post screen) and printed address ( get_value() api call).

Source Repository on GitHub

https://github.com/GCX/acf-address-field

Bugs or Suggestions

https://github.com/GCX/acf-address-field/issues

螢幕擷圖

  • Address field type.
  • Drag and Drop address components.
  • Enter an address from the add/edit post pages.
  • get_value() API output.

安裝方式

The Address Field plugin can be used as WordPress plugin or included in other plugins or themes.
There is no need to call the Advanced Custom Fields register_field() method for this field.

  • WordPress plugin
    1. Download the plugin and extract it to /wp-content/plugins/ directory.
    2. Activate the plugin through the Plugins menu in WordPress.
  • Added to a Theme or Plugin
    1. Download the plugin and extract it to your theme or plugin directory.
    2. Include the address-field.php file in you theme’s functions.php or plugin file.
      include_once( rtrim( dirname( FILE ), ‘/’ ) . ‘/acf-address-field/address-field.php’ );

常見問題集

I’ve activated the plugin, but nothing happens!

Make sure you have Advanced Custom Fields installed and
activated. This is not a standalone plugin for WordPress, it only adds additional functionality to Advanced Custom Fields.

使用者評論

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

參與者及開發者

以下人員參與了開源軟體〈Advanced Custom Fields – Address Field add-on〉的開發相關工作。

參與者

變更記錄

1.0.1

  • Fixed issue with path and URI generation on Windows hosts.
  • Fixed issue caused by ACF loading new fields with AJAX. Drag and Drop should work again.

1.0

  • Initial Release