Title: Country Code Selector
Author: intolap
Published: <strong>2019 年 10 月 28 日</strong>
Last modified: 2024 年 6 月 19 日

---

搜索插件

![](https://ps.w.org/country-code-selector/assets/banner-772x250.jpg?rev=2251364)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/country-code-selector/assets/icon-128x128.jpg?rev=2181268)

# Country Code Selector

 作者：[intolap](https://profiles.wordpress.org/intolap/)

[下载](https://downloads.wordpress.org/plugin/country-code-selector.zip)

 * [详情](https://cn.wordpress.org/plugins/country-code-selector/#description)
 * [评价](https://cn.wordpress.org/plugins/country-code-selector/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/country-code-selector/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/country-code-selector/#developers)

 [支持](https://wordpress.org/support/plugin/country-code-selector/)

## 描述

Country Code Selector uses a JavaScript base to allow customers checking out in 
WooCommerce, Shopp, Contact form 7, Gravity form plugins select the country code
using a dropdown field.

Country Code Selector is a free to use plugin and so we request you to create a 
ticket for any support before you rate this plugin. We are here to fix any bugs 
discovered beyond our testing. If you are happy with the support please give us 
a boost with a 5-star rating which will keep us motivating for further development.

[+] PRO version [Click Here](https://www.intolap.com/product/country-code-selector-pro/)

### Our Other Premium Add-ons

> Insta IM – is a premium WordPress plugin that helps receive Contact Form 7 submissions/
> entries directly on the admin set WhatsApp number. This requires Contact Form 
> 7 plugin necessarily. This plugin comes with a very easy-to-use admin settings
> module that allows you to set the WhatsApp number and receive messages on submission.
> The message also consumes the contact form fields. This plugin uses WhatsApp’s
> free click to chat API and does not require any paid subscription.

[Click Here for more details](https://www.intolap.com/product/instaim/)

> Order On Mobile For WooCommerce is a WordPress plugin which adds a “Order on WhatsApp”
> button on the WooCommerce product page, product details page and cart page so 
> your customers can submit their orders via WhatsApp Free Click to Chat API. You
> can also set custom message which you will receive prepended to the information
> product id, sku, product name, price, quantity, product variations and product
> link. You can select selected or all of these information as you wish in the message
> you receive on a product enquiry or customer order being placed.

[Click Here for more details](https://www.intolap.com/product/order-on-mobile-for-woocommerce-pro/)

> Stripe Pay Now – is a WordPress plugin that facilitates Singapore based payment
> method allowing customers to make a payment using their preferred app from participating
> banks and participating non-bank financial institutions.

[Click Here for more details](https://intolap.com/product/stripe-pay-now/)

## 安装

 1. Upload the plugin files to the WordPress
 2. Activate the plugin in WordPress
 3. Go to “Settings” > “Country Code Selector” page in admin panel
 4. Setup the plugin as per your requirement.

## 常见问题

### Does this plugin work with Woo Commerce?

Yes

### Does this plugin work with Shopp plugin?

Yes, but shopp plugin is not maintained since 2 years, so we do not gurantee. Please
contact for [Support] (http://www.intolap.com/contact-us/)

### Does this plugin work with Gravity Forms?

Yes

### Does this plugin work with Contact Form 7?

Yes

### Can I have it on a different form plugin?

Yes, [PRO version](https://www.intolap.com/product/country-code-selector-pro/) allows
you to use the tool on any form.

### Can I have this plugin in any other language?

Yes, you can use translation plugin like Loco Translate or even add the translation
files to the plugin’s /language directory.

## 评价

![](https://secure.gravatar.com/avatar/06bee958cedd3c69a2800adb6dd1bf7098f039167f4685533db81ea9742f5ba8?
s=60&d=retro&r=g)

### 󠀁[Terrible Plugin](https://wordpress.org/support/topic/terrible-plugin-70/)󠁿

 [Brksoft](https://profiles.wordpress.org/brksoft/) 2024 年 10 月 17 日

I missed dozens of payments because of this plugin, do not install it, even if the
phone is entered correctly, it gives an error

![](https://secure.gravatar.com/avatar/191d76d81bbd1a1c4661761912b78f4525682e0fc45c9836b381084032324fca?
s=60&d=retro&r=g)

### 󠀁[Not working with PayPal](https://wordpress.org/support/topic/not-working-with-paypal-4/)󠁿

 [sleepywilly](https://profiles.wordpress.org/sleepywilly/) 2024 年 8 月 13 日

I have Pro version and it not working with PayPal. Get this phone validation error
that another person also report about 4-5 months ago. I think issue with this is
a javascript issue. We use Country Code Selector Pro, v1.6 and WooCommerce PayPal
Payments, v2.8.3.  It would be a 4-5 star if that would have worked.

![](https://secure.gravatar.com/avatar/575e7beb5bad56bdc4e813033322f19b4478aa4f6f30c6bc8fa6acac8d99cbf1?
s=60&d=retro&r=g)

### 󠀁[Great start to a plugin](https://wordpress.org/support/topic/great-start-to-a-plugin/)󠁿

 [narratorben](https://profiles.wordpress.org/narratorben/) 2024 年 1 月 25 日

Thanks for this super useful plugin, it has saved me a lot of time and you can’t
argue with the price, really appreciate it when developers publish these things 
for free.My one issue is the alerts that pop up when an incorrect number is entered,
these are fairly inelegant so I was wondering if there is a way to disable them 
without resorting to editing the plugin code. Thanks again for the useful plugin.

![](https://secure.gravatar.com/avatar/1c1830a63094e48d5df5e90d9eba7b011991492884431b77583f1ac930bc1df4?
s=60&d=retro&r=g)

### 󠀁[Very good](https://wordpress.org/support/topic/very-good-6936/)󠁿

 [natalia2408](https://profiles.wordpress.org/natalia2408/) 2023 年 6 月 6 日

Good afternoon, thank you very much, everything works! At first I was stupid – woocommerce
needed to put a check mark at the very top)

![](https://secure.gravatar.com/avatar/6e624dd9d5cfd73a73b52f449c853decbd6791ce87ff9834ceb6516c9ba6c3cd?
s=60&d=retro&r=g)

### 󠀁[Works](https://wordpress.org/support/topic/works-2097/)󠁿

 [fwuk](https://profiles.wordpress.org/fwuk/) 2023 年 4 月 23 日

It works for me.

![](https://secure.gravatar.com/avatar/3f69fe8e4b1a9787001e45ab27dd00f3ab9b21a784d5dde1127ba07d98921667?
s=60&d=retro&r=g)

### 󠀁[Doesn’t work with Elementor](https://wordpress.org/support/topic/doesnt-work-with-elementor-15/)󠁿

 [qabd](https://profiles.wordpress.org/qabd/) 2022 年 6 月 3 日

I was really hopeful about this plugin but unfortunately, it doesn’t work with Elementor
+ WooCommerce.

 [ 阅读所有12条评价 ](https://wordpress.org/support/plugin/country-code-selector/reviews/)

## 贡献者及开发者

「Country Code Selector」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ intolap ](https://profiles.wordpress.org/intolap/)

[帮助将「Country Code Selector」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/country-code-selector)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/country-code-selector/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/country-code-selector/)，或通过[RSS](https://plugins.trac.wordpress.org/log/country-code-selector/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/country-code-selector/)。

## 更新日志

#### 1.7

 * INTL Version upgraded to the latest i.e. 18

#### 1.6

 * Latest WordPress and WooCommerce version compatibility.
 * Country list fetch done using cURL instead of file_get_content(). So, cURL module
   must be installed on the server to use this plugin.

#### 1.5

 * Added ‘Select All’ options for country selection on admin UI.
 * Added ‘Clear All’ options for country selection on admin UI.

#### 1.4

 * Fixed JS validation on the respective forms’ phone field. Form was submitting
   even if the phone number is blank.
 * Added translation capability to the plugin. Can use translation plugin like Loco
   Translate to translate this plugin to any language.

#### 1.3

 * Enhanced admin settings page with more control.
 * Mandatory Country Code Selector JS validation on Gravity Forms
 * Mandatory Country Code Selector validation on Contact Form 7

#### 1.2

 * Enhanced admin settings with more control on how Country Code Selector behave.
 * Update Country Code Selector on woocommerce billing phone field onChange of woocommerce
   billing country select dropdown and vice-versa.
 * Added Country Code Selector support for Gravity Forms
 * Added Country Code Selector support for Contact Form 7
 * Optional JS validator of the phone number using WC UTIL library.

#### 1.1.0

 * Initial version release

## 额外信息

 *  版本 **1.7**
 *  最后更新：**2 年前**
 *  活跃安装数量 **1,000+**
 *  WordPress 版本 ** 6.5 或更高版本 **
 *  已测试的最高版本为 **6.5.8**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/country-code-selector/)
 * 标签
 * [contact form 7](https://cn.wordpress.org/plugins/tags/contact-form-7/)[gravity form](https://cn.wordpress.org/plugins/tags/gravity-form/)
   [phone number validator](https://cn.wordpress.org/plugins/tags/phone-number-validator/)
   [WooCommerce checkout](https://cn.wordpress.org/plugins/tags/woocommerce-checkout/)
 *  [高级视图](https://cn.wordpress.org/plugins/country-code-selector/advanced/)

## 评级

 3.3 星（最高 5 星）。

 *  [  6 条 5 星评价     ](https://wordpress.org/support/plugin/country-code-selector/reviews/?filter=5)
 *  [  1 条 4 星评价     ](https://wordpress.org/support/plugin/country-code-selector/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/country-code-selector/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/country-code-selector/reviews/?filter=2)
 *  [  5 条 1 星评价     ](https://wordpress.org/support/plugin/country-code-selector/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/country-code-selector/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/country-code-selector/reviews/)

## 贡献者

 *   [ intolap ](https://profiles.wordpress.org/intolap/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/country-code-selector/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://pages.razorpay.com/intolap)