{"id":404003,"date":"2026-11-20T14:41:50","date_gmt":"2026-11-20T14:41:50","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/csc-dropdown-for-contact-page\/"},"modified":"2026-11-20T14:41:39","modified_gmt":"2026-11-20T14:41:39","slug":"kumarrishikesh12-allcountries-allstates-allcity","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/kumarrishikesh12-allcountries-allstates-allcity\/","author":16065839,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"4.0.1","stable_tag":"4.0.1","tested":"7.1.5","requires":"5.8","requires_php":"7.4","requires_plugins":null,"header_name":"Kumarrishikesh12 Allcountries-Allstates-AllCity","header_author":"Kumarrishikesh12","header_description":"Dependent Country, State and City dropdowns with type-to-search. Works on any page with a shortcode \u2014 no Contact Form 7 required \u2014 and also inside Contact Form 7. Select India to see all states, select Gujarat to see all Gujarat cities. Free, no database, no API, no paywall.","last_updated":"2026-11-20 14:41:39","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/kumarrishikesh12-allcountries-allstates-allcity\/","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":47,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"4.0.1":{"tag":"4.0.1","author":"kumarrishikesh12","date":"2026-11-20 14:41:39","revision":3813869}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3813869,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3813869,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3813869,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3813869,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["4.0.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3813869,"resolution":"1","location":"assets","locale":"","width":1280,"height":800},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3813869,"resolution":"2","location":"assets","locale":"","width":1280,"height":800},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3813869,"resolution":"3","location":"assets","locale":"","width":1280,"height":800}},"screenshots":{"1":"Front-end dropdowns in action \u2014 India \u2192 Gujarat \u2192 Ahmedabad, with type-to-search (type \"ahm\" for Ahmedabad).","2":"Settings page \u2014 per-field Label, Placeholder, Required and Note for Country, State and City separately.","3":"Works worldwide \u2014 United States \u2192 California \u2192 Los Angeles. 194 countries, 344 states, 2,100+ cities, no API."}},"plugin_section":[],"plugin_tags":[248,1152,3751,1863,3250],"plugin_category":[],"plugin_contributors":[294190],"plugin_business_model":[],"class_list":["post-404003","plugin","type-plugin","status-publish","hentry","plugin_tags-city","plugin_tags-contact-form-7","plugin_tags-country","plugin_tags-dropdown","plugin_tags-state","plugin_contributors-kumarrishikesh12","plugin_committers-kumarrishikesh12"],"banners":{"banner":"https:\/\/ps.w.org\/kumarrishikesh12-allcountries-allstates-allcity\/assets\/banner-772x250.png?rev=3813869","banner_2x":"https:\/\/ps.w.org\/kumarrishikesh12-allcountries-allstates-allcity\/assets\/banner-1544x500.png?rev=3813869","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/kumarrishikesh12-allcountries-allstates-allcity\/assets\/icon-128x128.png?rev=3813869","icon_2x":"https:\/\/ps.w.org\/kumarrishikesh12-allcountries-allstates-allcity\/assets\/icon-256x256.png?rev=3813869","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/kumarrishikesh12-allcountries-allstates-allcity\/assets\/screenshot-1.png?rev=3813869","caption":"Front-end dropdowns in action \u2014 India \u2192 Gujarat \u2192 Ahmedabad, with type-to-search (type \"ahm\" for Ahmedabad)."},{"src":"https:\/\/ps.w.org\/kumarrishikesh12-allcountries-allstates-allcity\/assets\/screenshot-2.png?rev=3813869","caption":"Settings page \u2014 per-field Label, Placeholder, Required and Note for Country, State and City separately."},{"src":"https:\/\/ps.w.org\/kumarrishikesh12-allcountries-allstates-allcity\/assets\/screenshot-3.png?rev=3813869","caption":"Works worldwide \u2014 United States \u2192 California \u2192 Los Angeles. 194 countries, 344 states, 2,100+ cities, no API."}],"raw_content":"<!--section=description-->\n<p>Full user guide with tables: <strong>Settings \u2192 Kumarrishikesh12 Allcountries-Allstates-AllCity \u2192 How to Use<\/strong> tab in WordPress Admin.<\/p>\n\n<p>Add dependent location dropdowns anywhere on your site:<\/p>\n\n<p>Country \u2192 State \u2192 City<\/p>\n\n<p>Select <strong>India<\/strong> and all Indian states appear in the State dropdown.\nSelect <strong>Gujarat<\/strong> and all Gujarat cities appear in the City dropdown.\nSelect <strong>United States<\/strong> \u2192 all 50 states \u2192 select <strong>California<\/strong> \u2192 Los Angeles, San Francisco, San Diego...<\/p>\n\n<p><strong>What makes this plugin different<\/strong><\/p>\n\n<ul>\n<li>Works <strong>without Contact Form 7<\/strong> \u2014 use <code>[kumarrishikesh12_location_dropdown]<\/code> on any page, post, Elementor \/ Gutenberg block or widget. Contact Form 7 support is optional, not required.<\/li>\n<li><strong>Type to search<\/strong> every field: type <code>ind<\/code> for India, <code>guj<\/code> for Gujarat, <code>ahm<\/code> for Ahmedabad. Keyboard \u2191 \/ \u2193 + Enter works too.<\/li>\n<li><strong>Per-field settings<\/strong> in Settings \u2192 Kumarrishikesh12 Allcountries-Allstates-AllCity: Label, Placeholder, Required (Yes\/No, shows *) and Note (helper text under the field) for Country, State and City separately.<\/li>\n<li><strong>All 194 countries<\/strong> 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.<\/li>\n<li><strong>100% free, no PRO version, no paywall, no trial.<\/strong> All features in the plugin itself.<\/li>\n<li><strong>No database, no API, no account.<\/strong> All country \/ state \/ city data is bundled in the plugin and works offline. Lightweight \u2014 about 33 KB zipped.<\/li>\n<li>Multiple dropdown sets on the same page work independently.<\/li>\n<\/ul>\n\n<h3>Shortcode<\/h3>\n\n<pre><code>[kumarrishikesh12_location_dropdown]\n<\/code><\/pre>\n\n<p>With options:<\/p>\n\n<pre><code>[kumarrishikesh12_location_dropdown default_country=\"IN\" default_state=\"GJ\" default_city=\"Ahmedabad\"]\n\n[kumarrishikesh12_location_dropdown submit_button=\"yes\" button_text=\"Submit\"]\n<\/code><\/pre>\n\n<p>Only one dropdown \u2014 Country only:<\/p>\n\n<pre><code>[kumarrishikesh12_location_dropdown fields=\"country\"]\n<\/code><\/pre>\n\n<p>Or Country + State only: <code>[kumarrishikesh12_location_dropdown fields=\"country,state\"]<\/code><\/p>\n\n<p>Or hide one field: <code>[kumarrishikesh12_location_dropdown show_city=\"no\"]<\/code><\/p>\n\n<pre><code>[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\"]\n\n[kumarrishikesh12_location_dropdown searchable=\"no\"] \u2014 plain dropdowns, no type-to-search.\n\n[kumarrishikesh12_allcountries_allstates_allcity] also works as an alias for `[kumarrishikesh12_location_dropdown]`.\n<\/code><\/pre>\n\n<p>Attributes: <code>id<\/code>, <code>class<\/code>, <code>required<\/code> (yes\/no, fallback for all three fields), <code>country_required<\/code>, <code>state_required<\/code>, <code>city_required<\/code>, <code>country_note<\/code>, <code>state_note<\/code>, <code>city_note<\/code>, <code>searchable<\/code> (yes\/no), <code>show_labels<\/code> (yes\/no), <code>country_label<\/code>, <code>state_label<\/code>, <code>city_label<\/code>, <code>country_placeholder<\/code>, <code>state_placeholder<\/code>, <code>city_placeholder<\/code>, <code>default_country<\/code>, <code>default_state<\/code>, <code>default_city<\/code>, <code>country_name<\/code>, <code>state_name<\/code>, <code>city_name<\/code>, <code>submit_button<\/code> (yes\/no), <code>button_text<\/code>, <code>form_action<\/code>, <code>form_method<\/code>.<\/p>\n\n<p>Field names are <code>kumarrishikesh12_country<\/code>, <code>kumarrishikesh12_state<\/code>, <code>kumarrishikesh12_city<\/code> by default. Country and State send codes like <code>IN<\/code> \/ <code>GJ<\/code>, City sends the name like <code>Ahmedabad<\/code>.<\/p>\n\n<h3>Contact Form 7<\/h3>\n\n<p>Do <strong>not<\/strong> put <code>[kumarrishikesh12_location_dropdown]<\/code> inside a CF7 form. Instead paste these 3 lines into your CF7 form editor. Use <code>[select* ...]<\/code> for a required field, <code>[select ...]<\/code> for optional:<\/p>\n\n<pre><code>`\n<\/code><\/pre>\n\n<p> Country *\n  [select* kumarrishikesh12-country class:kumarrishikesh12-country-field include_blank \"Select Country\"] \n State *\n  [select* kumarrishikesh12-state class:kumarrishikesh12-state-field include_blank \"Select State\"] \n City\n  [select kumarrishikesh12-city class:kumarrishikesh12-city-field include_blank \"Select City\"] \n    `<\/p>\n\n<p>Then use <code>[kumarrishikesh12-country]<\/code>, <code>[kumarrishikesh12-state]<\/code>, <code>[kumarrishikesh12-city]<\/code> in the Mail tab.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>kumarrishikesh12-allcountries-allstates-allcity<\/code> folder to <code>\/wp-content\/plugins\/<\/code>, or upload the zip in <strong>Plugins \u2192 Add New \u2192 Upload Plugin<\/strong>.<\/li>\n<li>Activate the plugin.<\/li>\n<li>Use the shortcode below, or the Contact Form 7 fields below. Optional: go to <strong>Settings \u2192 Kumarrishikesh12 Allcountries-Allstates-AllCity<\/strong> to set the default country, Required and Notes.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20it%20need%20an%20api%20key%20or%20contact%20form%207%3F\"><h3>Does it need an API key or Contact Form 7?<\/h3><\/dt>\n<dd><p>No to both. All data is bundled in <code>assets\/js\/kumarrishikesh12-data.js<\/code>, and the shortcode works on any page without CF7.<\/p><\/dd>\n<dt id=\"does%20it%20need%20a%20database%20table%3F\"><h3>Does it need a database table?<\/h3><\/dt>\n<dd><p>No. No tables, no external requests.<\/p><\/dd>\n<dt id=\"is%20there%20a%20pro%20version%3F\"><h3>Is there a PRO version?<\/h3><\/dt>\n<dd><p>No. Every feature in this plugin is free and included.<\/p><\/dd>\n<dt id=\"can%20i%20add%20%2F%20change%20a%20city%3F\"><h3>Can I add \/ change a city?<\/h3><\/dt>\n<dd><p>Yes \u2014 edit <code>assets\/js\/kumarrishikesh12-data.js<\/code>, find e.g. <code>\"IN-GJ\": [...]<\/code> and add the city name inside the list. Keep the quotes and commas.<\/p><\/dd>\n<dt id=\"why%20is%20state%20disabled%20at%20first%3F\"><h3>Why is State disabled at first?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>4.0.1<\/h4>\n\n<ul>\n<li>Renamed to Kumarrishikesh12 Allcountries-Allstates-AllCity (new slug kumarrishikesh12-allcountries-allstates-allcity), as chosen by the author. No functional changes from 4.0.0. Shortcode, prefix and settings are unchanged.<\/li>\n<\/ul>\n\n<h4>4.0.0<\/h4>\n\n<ul>\n<li>Renamed to Kumarrishikesh12 Allcountries-Allstates-AllCity (new slug kumarrishikesh12-allcountries-allstates-allcity) at the request of the WordPress.org Plugin Review Team. All code prefixes renamed to kumarrishikesh12_ (at least 4 characters), shortcode is now [kumarrishikesh12_location_dropdown], settings option is now kumarrishikesh12_settings. No functional changes from 3.1.1. Note: settings from the old version will reset to defaults, and pages using the old shortcode need updating to the new shortcode.<\/li>\n<\/ul>\n\n<h4>3.1.1<\/h4>\n\n<ul>\n<li>Plugin Check fixes: removed GUIDE.md from the plugin zip (the guide is now only in the \"How to Use\" tab in WordPress Admin \u2014 the file triggered an \"unexpected markdown file\" warning), and marked the tab-navigation read as read-only so Plugin Check no longer flags it for nonce verification. No functional changes from 3.1.0.<\/li>\n<\/ul>\n\n<h4>3.1.0<\/h4>\n\n<ul>\n<li>New \"How to Use\" tab on Settings \u2192 Kumarrishikesh12 Allcountries-Allstates-AllCity \u2014 the full user guide (shortcodes, options, Contact Form 7, FAQ, troubleshooting) is now readable inside WordPress Admin, no file to open. Also linked from the Plugins page.<\/li>\n<\/ul>\n\n<h4>3.0.0<\/h4>\n\n<ul>\n<li>Added a full user guide (GUIDE.md, included in the plugin zip): quick start, shortcode table, all options, Contact Form 7, Settings, FAQ and troubleshooting. No functional changes from 2.1.2.<\/li>\n<\/ul>\n\n<h4>2.1.2<\/h4>\n\n<ul>\n<li>Version bump only \u2014 same code as 2.1.1, new file name so the new build can't be mixed up with the old 2.0.0 zip.<\/li>\n<\/ul>\n\n<h4>2.1.1<\/h4>\n\n<ul>\n<li>Version bump only \u2014 same code as 2.1.0, so WordPress \/ cache can tell the new build apart.<\/li>\n<\/ul>\n\n<h4>2.1.0<\/h4>\n\n<ul>\n<li>Single-field shortcodes: <code>[kumarrishikesh12_location_dropdown fields=\"country\"]<\/code> shows Country only, <code>fields=\"country,state\"<\/code> shows Country + State, or use <code>show_country=\"no\"<\/code> \/ <code>show_state=\"no\"<\/code> \/ <code>show_city=\"no\"<\/code>. In Contact Form 7, just add only the field(s) you need.<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>Version bump to 2.0.0. No functional changes from 1.2.1.<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Plugin Check fixes: escaped the required-field * and required attributes, removed discouraged load_plugin_textdomain(), added languages folder, shortened the short description to under 150 characters, reduced tags to 5.<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Per-field Label, Placeholder, Required and Note settings for Country, State and City.<\/li>\n<li>Standalone form validation for required fields.<\/li>\n<li>Searchable dropdowns (type to filter).<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Searchable dropdowns \u2014 type to filter Country \/ State \/ City.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>First release.<\/li>\n<\/ul>","raw_excerpt":"Dependent Country, State and City dropdowns with type-to-search for any page or Contact Form 7.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/404003","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=404003"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/kumarrishikesh12"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=404003"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=404003"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=404003"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=404003"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=404003"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=404003"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}