
內容簡介
CountryCue 為 Contact Form 7 增加了一個國家下拉選單,讓訪客可以手動選擇國家或根據 Cloudways GeoIP 或 Cloudflare 連接的建議進行修正。此外掛的核心價值在於提供簡便的國家選擇功能,並將最終選擇的結果發送至通知郵件中。
【主要功能】
• 手動選擇國家,適用於所有支援 WordPress 的主機
• 可選的自動建議,無需付費的地理定位 API
• 支援顯示國碼,如塞浦路斯 (+357)
• 不會因自動選擇而產生早期必填錯誤
• 兼容現有的電話欄位和原始國家值
• 簡單的安裝指南和設置說明
外掛標籤
開發者團隊
② 後台搜尋「CountryCue for Contact Form 7」→ 直接安裝(推薦)
原文外掛簡介
CountryCue adds a country dropdown to Contact Form 7. Visitors can select a country manually or correct a suggestion from supported Cloudways GeoIP or a verified direct Cloudflare connection. Labels include calling codes, such as Cyprus (+357), and your notification email receives the final choice.
Cloudways is not required. Manual country selection works on any host that supports WordPress and Contact Form 7, without enabling hosting geolocation. Automatic suggestions are optional and require one of the supported configurations below.
Manual selection works on any host that supports WordPress and Contact Form 7.
Optional automatic suggestions use existing hosting headers. No paid geolocation API, API key or GPS permission.
A visitor’s selection always takes priority over a delayed suggestion.
Cached pages use a same-origin, uncached request for each visitor’s suggestion.
Existing telephone fields and raw country values remain unchanged.
Native select controls, inherited form styling, popup forms and clean resets.
No early required-field errors caused by automatic country selection. Normal submission validation remains active.
Setup guide
Open the Installation tab for numbered setup instructions. The eight screenshots below show the Form tab, Mail tab, each CountryCue source option and the finished result. Click any screenshot to enlarge it. Cloudways and Cloudflare dashboard steps and official provider guides are included in Installation.
Created by Ali Khavari to solve a practical form problem: suggest a useful country without taking the final choice away from the visitor, and deliver that corrected choice to the person receiving the enquiry.
All features are free. CountryCue is an independent extension; it is not affiliated with Contact Form 7, Cloudways or Cloudflare.
Privacy and external services
Manual selection is the default. No remote request is made by CountryCue on activation. Country detection reads headers already supplied by your hosting/CDN; there is no visitor-IP lookup API.
An optional checkbox permits weekly server-side HTTPS downloads from https://www.cloudflare.com/ips-v4/ and https://www.cloudflare.com/ips-v6/ while direct Cloudflare mode is selected. These plain address lists verify the origin connection. The first scheduled download is approximately five minutes after enabling this option, subject to WordPress cron traffic. Both lists must pass validation before either replaces the cached lists. Failed updates retain the last verified data. Disabling consent or changing provider stops these downloads. Without consent, the bundled verified ranges are used.
These list requests disclose the website server’s IP address and standard HTTP request metadata (WordPress’ default HTTP user-agent may include the site URL) to Cloudflare. They never contain a visitor IP, selected country, form contents or credentials. Cloudflare may log the requests under its own policy.
Cloudflare: https://www.cloudflare.com/privacypolicy/ and https://www.cloudflare.com/website-terms/
Cloudways: https://www.cloudways.com/en/terms.php and https://www.cloudways.com/en/privacy-policy.php
CountryCue sets no cookies, uses no GPS, and creates no submission database. Diagnostic metadata retains only the latest notification check time, detection reason and country code; no visitor IP, name, email or message is stored by this plugin. The submitted country is part of the normal form/email and may be retained by other form-storage plugins. Hosting, CDN and mail-provider logs are outside CountryCue’s control. A suggested privacy-policy paragraph is available through WordPress’ privacy tools.
The country is self-reported and is not proof of location, nationality or residence.
Credits
Copyright 2026 Ali Khavari. CountryCue is distributed under GPL-3.0-or-later; see LICENSE.txt.
Country names are derived from umpirsky/country-list (English), MIT; see COUNTRY-DATA-LICENSE.txt and https://github.com/umpirsky/country-list.
Calling-code data is derived from Google libphonenumber PhoneNumberMetadata.xml, retrieved 2026-09-18. Copyright The Libphonenumber Authors, Apache-2.0; see PHONE-DATA-LICENSE.txt and https://github.com/google/libphonenumber/blob/master/resources/PhoneNumberMetadata.xml. The PHP mapping is an extracted country-to-calling-code subset, not the full phone validation library. The combined distribution uses GPLv3-or-later for Apache-2.0 compatibility; third-party notices and licences are preserved.
Bundled Cloudflare public IP ranges were verified 2026-09-18: https://www.cloudflare.com/ips/.
