[WordPress] 外掛分享: Kumarrishikesh12 Allcountries-Allstates-AllCity

首頁 › 外掛目錄 › Kumarrishikesh12 Allcountries-Allstates-AllCity
WordPress 外掛 Kumarrishikesh12 Allcountries-Allstates-AllCity 的封面圖片
全新外掛
安裝啟用
—
尚無評分
5 天前
最後更新
—
問題解決
WordPress 5.8+ PHP 7.4+ v4.0.2 上架:2026-11-19

外掛標籤

開發者團隊

⬇ 下載最新版 (v4.0.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Kumarrishikesh12 Allcountries-Allstates-AllCity」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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 ind for India, guj for Gujarat, ahm for 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.

延伸相關外掛

文章
Filter
Mastodon