oik-plugins
WordPress plugins and themes

Jetpack [[contact-field]] shortcode Country select list

Here is a list of countries pre-formatted into the [[contact-field]] shortcode used in jetpack's Contact form. Copy and paste the shortcode into your Contact form. It should save a lot of typing.


[contact-field label="Country" type="select" required="true" options="
UK
,United States
,Canada
,Afghanistan
,Albania
,Algeria
,Andorra
,Angola
,Antigua & Deps
,Argentina
,Armenia
,Australia
,Austria
,Azerbaijan
,Bahamas
,Bahrain
,Bangladesh
,Barbados
,Belarus
,Belgium
,Belize
,Benin
,Bhutan
,Bolivia
,Bosnia Herzegovina
,Botswana
,Brazil
,Brunei
,Bulgaria
,Burkina
,Burundi
,Cambodia
,Cameroon
,Canada
,Cape Verde
,Central African Rep
,Chad
,Chile
,China
,Colombia
,Comoros
,Congo
,Congo (Democratic Rep)
,Costa Rica
,Croatia
,Cuba
,Cyprus
,Czech Republic
,Denmark
,Djibouti
,Dominica
,Dominican Republic
,East Timor
,Ecuador
,Egypt
,El Salvador
,Equatorial Guinea
,Eritrea
,Estonia
,Ethiopia
,Fiji
,Finland
,France
,Gabon
,Gambia
,Georgia
,Germany
,Ghana
,Greece
,Grenada
,Guatemala
,Guinea
,Guinea-Bissau
,Guyana
,Haiti
,Honduras
,Hungary
,Iceland
,India
,Indonesia
,Iran
,Iraq
,Ireland (Republic)
,Israel
,Italy
,Ivory Coast
,Jamaica
,Japan
,Jordan
,Kazakhstan
,Kenya
,Kiribati
,Korea North
,Korea South
,Kosovo
,Kuwait
,Kyrgyzstan
,Laos
,Latvia
,Lebanon
,Lesotho
,Liberia
,Libya
,Liechtenstein
,Lithuania
,Luxembourg
,Macedonia
,Madagascar
,Malawi
,Malaysia
,Maldives
,Mali
,Malta
,Marshall Islands
,Mauritania
,Mauritius
,Mexico
,Micronesia
,Moldova
,Monaco
,Mongolia
,Montenegro
,Morocco
,Mozambique
,Myanmar (Burma)
,Namibia
,Nauru
,Nepal
,Netherlands
,New Zealand
,Nicaragua
,Niger
,Nigeria
,Northern Ireland
,Norway
,Oman
,Pakistan
,Palau
,Panama
,Papua New Guinea
,Paraguay
,Peru
,Philippines
,Poland
,Portugal
,Qatar
,Romania
,Russian Federation
,Rwanda
,St Kitts & Nevis
,St Lucia
,Saint Vincent & the Grenadines
,Samoa
,San Marino
,Sao Tome & Principe
,Saudi Arabia
,Senegal
,Serbia
,Seychelles
,Sierra Leone
,Singapore
,Slovakia
,Slovenia
,Solomon Islands
,Somalia
,South Africa
,South Sudan
,Spain
,Sri Lanka
,Sudan
,Suriname
,Swaziland
,Sweden
,Switzerland
,Syria
,Taiwan
,Tajikistan
,Tanzania
,Thailand
,Togo
,Tonga
,Trinidad & Tobago
,Tunisia
,Turkey
,Turkmenistan
,Tuvalu
,Uganda
,Ukraine
,United Arab Emirates
,United Kingdom
,United States
,Uruguay
,Uzbekistan
,Vanuatu
,Vatican City
,Venezuela
,Vietnam
,Yemen
,Zambia
,Zimbabwe" /]]
 

This is what you should get: [contact-form] [contact-field label="Country" type="select" required="true" options=" UK ,United States ,Canada ,Afghanistan ,Albania ,Algeria ,Andorra ,Angola ,Antigua & Deps ,Argentina ,Armenia ,Australia ,Austria ,Azerbaijan ,Bahamas ,Bahrain ,Bangladesh ,Barbados ,Belarus ,Belgium ,Belize ,Benin ,Bhutan ,Bolivia ,Bosnia Herzegovina ,Botswana ,Brazil ,Brunei ,Bulgaria ,Burkina ,Burundi ,Cambodia ,Cameroon ,Canada ,Cape Verde ,Central African Rep ,Chad ,Chile ,China ,Colombia ,Comoros ,Congo ,Congo (Democratic Rep) ,Costa Rica ,Croatia ,Cuba ,Cyprus ,Czech Republic ,Denmark ,Djibouti ,Dominica ,Dominican Republic ,East Timor ,Ecuador ,Egypt ,El Salvador ,Equatorial Guinea ,Eritrea ,Estonia ,Ethiopia ,Fiji ,Finland ,France ,Gabon ,Gambia ,Georgia ,Germany ,Ghana ,Greece ,Grenada ,Guatemala ,Guinea ,Guinea-Bissau ,Guyana ,Haiti ,Honduras ,Hungary ,Iceland ,India ,Indonesia ,Iran ,Iraq ,Ireland (Republic) ,Israel ,Italy ,Ivory Coast ,Jamaica ,Japan ,Jordan ,Kazakhstan ,Kenya ,Kiribati ,Korea North ,Korea South ,Kosovo ,Kuwait ,Kyrgyzstan ,Laos ,Latvia ,Lebanon ,Lesotho ,Liberia ,Libya ,Liechtenstein ,Lithuania ,Luxembourg ,Macedonia ,Madagascar ,Malawi ,Malaysia ,Maldives ,Mali ,Malta ,Marshall Islands ,Mauritania ,Mauritius ,Mexico ,Micronesia ,Moldova ,Monaco ,Mongolia ,Montenegro ,Morocco ,Mozambique ,Myanmar (Burma) ,Namibia ,Nauru ,Nepal ,Netherlands ,New Zealand ,Nicaragua ,Niger ,Nigeria ,Northern Ireland ,Norway ,Oman ,Pakistan ,Palau ,Panama ,Papua New Guinea ,Paraguay ,Peru ,Philippines ,Poland ,Portugal ,Qatar ,Romania ,Russian Federation ,Rwanda ,St Kitts & Nevis ,St Lucia ,Saint Vincent & the Grenadines ,Samoa ,San Marino ,Sao Tome & Principe ,Saudi Arabia ,Senegal ,Serbia ,Seychelles ,Sierra Leone ,Singapore ,Slovakia ,Slovenia ,Solomon Islands ,Somalia ,South Africa ,South Sudan ,Spain ,Sri Lanka ,Sudan ,Suriname ,Swaziland ,Sweden ,Switzerland ,Syria ,Taiwan ,Tajikistan ,Tanzania ,Thailand ,Togo ,Tonga ,Trinidad & Tobago ,Tunisia ,Turkey ,Turkmenistan ,Tuvalu ,Uganda ,Ukraine ,United Arab Emirates ,United Kingdom ,United States ,Uruguay ,Uzbekistan ,Vanuatu ,Vatican City ,Venezuela ,Vietnam ,Yemen ,Zambia ,Zimbabwe" /] [/contact-form]

Note: This only works if the Jetpack Contact form module is activated.

For a complete example with a shorter list of countries see How to create a contact page using oik and Jetpack

Leave a Reply

Information
Recent plugin updates
oik-external-link-warning v0.05 v0.05 of the oik-external-link-warning plugin now supports display of tooltips over links which do not contain the title attribute. ...
DIY-oik v1.4 DIY-oik v1.4 now has better support for Add-To-Any and similar plugins that add share buttons or other content during shortcode expansion. ...
oik v2.4 oik version 2.4 was released to WordPress.org on Christmas Eve, 2014.  ...
oik v2.4-beta.1223 Fix for shortcodes that support pagination. ...
oik-weightcountry-shipping v1.0.8 v1.0.8 tested with WordPress 4.1, WordPress Multi Site and WooCommerce 2.2.10 ...