Linux 软件免费装
Banner图

Kumarrishikesh12 Allcountries-Allstates-AllCity

开发者 kumarrishikesh12
更新时间 2026年11月26日 06:17
PHP版本: 7.4 及以上
WordPress版本: 7.2
版权: GPLv2 or later
版权网址: 版权信息

标签

contact form 7 country city state dropdown

下载

4.0.1 4.0.2

详情介绍:

Full user guide with tables: Settings → Kumarrishikesh12 Allcountries-Allstates-AllCity → How to Use tab in WordPress Admin, or see GUIDE.md in the project files. Add dependent location dropdowns anywhere on your site: Country → State → City Select India and all Indian states appear in the State dropdown. Select Gujarat and all Gujarat cities appear in the City dropdown. Select United States → all 50 states → select California → Los Angeles, San Francisco, San Diego... What makes this plugin different

安装:

  1. Upload the kumarrishikesh12-allcountries-allstates-allcity folder to /wp-content/plugins/, or upload the zip in Plugins → Add New → Upload Plugin.
  2. Activate the plugin.
  3. Use the shortcode below, or the Contact Form 7 fields below. Optional: go to Settings → Kumarrishikesh12 Allcountries-Allstates-AllCity to set the default country, Required and Notes.

常见问题:

Does it need an API key or Contact Form 7?

No to both. All data is bundled in assets/js/kumarrishikesh12-data.js, and the shortcode works on any page without CF7.

Does it need a database table?

No. No tables, no external requests.

Is there a PRO version?

No. Every feature in this plugin is free and included.

Can I add / change a city?

Yes — edit assets/js/kumarrishikesh12-data.js, find e.g. "IN-GJ": [...] and add the city name inside the list. Keep the quotes and commas.

Why is State disabled at first?

State stays disabled until a country is chosen, and City stays disabled until a state is chosen. That is the dependent behaviour. Countries with no states skip State and fill City directly.

更新日志:

4.0.2 4.0.1 4.0.0 3.1.1 3.1.0 3.0.0 2.1.2 2.1.1 2.1.0 2.0.0 1.2.1 1.2.0 1.1.0 1.0.0