Этот плагин не тестировался с последними 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.