
Kumarrishikesh12 Allcountries-Allstates-AllCity
v4.0.2Rishikesh Kumar · 2026年11月20日 上架
Dependent Country, State and City dropdowns with type-to-search for any page or Contact Form 7.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 168
- 最近更新
- 2026年11月26日
贡献者
截图
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
- Works without Contact Form 7 — use
[kumarrishikesh12_location_dropdown]on any page, post, Elementor / Gutenberg block or widget. Contact Form 7 support is optional, not required. - Type to search every field: type
indfor India,gujfor Gujarat,ahmfor Ahmedabad. Keyboard / + Enter works too. - Per-field settings in Settings Kumarrishikesh12 Allcountries-Allstates-AllCity: Label, Placeholder, Required (Yes/No, shows *) and Note (helper text under the field) for Country, State and City separately.
- All 194 countries have at least their major cities. Full State lists for 29 countries (India, US, Canada, UK, Australia, Pakistan, Bangladesh, Germany, France and more). Countries with no states skip State and fill City directly.
- 100% free, no PRO version, no paywall, no trial. All features in the plugin itself.
- No database, no API, no account. All country / state / city data is bundled in the plugin and works offline. Lightweight — about 33 KB zipped.
- Multiple dropdown sets on the same page work independently.
Shortcode
[kumarrishikesh12_location_dropdown]
With options:
[kumarrishikesh12_location_dropdown default_country="IN" default_state="GJ" default_city="Ahmedabad"]
[kumarrishikesh12_location_dropdown submit_button="yes" button_text="Submit"]
Only one dropdown — Country only:
[kumarrishikesh12_location_dropdown fields="country"]
Or Country + State only: [kumarrishikesh12_location_dropdown fields="country,state"]
Or hide one field: [kumarrishikesh12_location_dropdown show_city="no"]
[kumarrishikesh12_location_dropdown country_required="yes" state_required="yes" city_required="no" country_note="Select your country" state_note="Select state after country" city_note="Select city after state"]
[kumarrishikesh12_location_dropdown searchable="no"] — plain dropdowns, no type-to-search.
[kumarrishikesh12_allcountries_allstates_allcity] also works as an alias for `[kumarrishikesh12_location_dropdown]`.
Attributes: id, class, required (yes/no, fallback for all three fields), country_required, state_required, city_required, country_note, state_note, city_note, searchable (yes/no), show_labels (yes/no), country_label, state_label, city_label, country_placeholder, state_placeholder, city_placeholder, default_country, default_state, default_city, country_name, state_name, city_name, submit_button (yes/no), button_text, form_action, form_method.
Field names are kumarrishikesh12_country, kumarrishikesh12_state, kumarrishikesh12_city by default. Country and State send codes like IN / GJ, City sends the name like Ahmedabad.
Contact Form 7
Do not put [kumarrishikesh12_location_dropdown] inside a CF7 form. Instead paste these 3 lines into your CF7 form editor. Use [select* ...] for a required field, [select ...] for optional:
`
Country *
[select* kumarrishikesh12-country class:kumarrishikesh12-country-field include_blank “Select Country”]
State *
[select* kumarrishikesh12-state class:kumarrishikesh12-state-field include_blank “Select State”]
City
[select kumarrishikesh12-city class:kumarrishikesh12-city-field include_blank “Select City”]
`
Then use [kumarrishikesh12-country], [kumarrishikesh12-state], [kumarrishikesh12-city] in the Mail tab.


