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

USA Zip Codes by WP Monsters

外掛說明

Plugin contains American zip code database. You can activate this plugin for any post type in settings. After activation you can set zip codes for all of your posts. To connect zip code with the post you should do only 3 steps: 1) Choose State ( then the plugin will display all available cities in the chosen state) 2) Choose City ( then you will see all available Zip codes in this city)
3) Choose Zip code. Also you can connect several zip codes to one post. Use ID, ‘zipFields’, true ); ?>to get an array of connected zip codes.

螢幕擷圖

  • This screenshot shows how the plugin looks in admin side.
  • This screenshot shows the array you get after use get_post_meta().
  • This screenshot shows the settings page of this plugin.

安裝方式

  1. Upload this plugin to ‘/wp-content/plugins/’ folder.
  2. Activate it Plugins section.
  3. Set plugin options in Settings -> Zip-codes and after that click ‘Save Changes’.
  4. Go to selected post type and choose your zip codes.
  5. If you want the chosen ones in frontend you can use get_post_meta( $post->ID, ‘zipFields’, true ). This function gives you an array of all zip codes you chose.

常見問題集

All question send to our email – sales@wpmonsters.org

使用者評論

閱讀全部 4 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈USA Zip Codes by WP Monsters〉的開發相關工作。

參與者

將〈USA Zip Codes by WP Monsters〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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