How to Import all USA States
-
Set the delimiter to | and copy and paste the below:
Alabama|AL
Alaska|AK
Arizona|AZ
Arkansas|AR
California|CA
Colorado|CO
Connecticut|CT
Delaware|DE
Florida|FL
Georgia|GA
Hawaii|HI
Idaho|ID
Illinois|IL
Indiana|IN
Iowa|IA
Kansas|KS
Kentucky|KY
Louisiana|LA
Maine|ME
Maryland|MD
Massachusetts|MA
Michigan|MI
Minnesota|MN
Mississippi|MS
Missouri|MO
Montana|MT
Nebraska|NE
Nevada|NV
New Hampshire|NH
New Jersey|NJ
New Mexico|NM
New York|NY
North Carolina|NC
North Dakota|ND
Ohio|OH
Oklahoma|OK
Oregon|OR
Pennsylvania|PA
Rhode Island|RI
South Carolina|SC
South Dakota|SD
Tennessee|TN
Texas|TX
Utah|UT
Vermont|VT
Virginia|VA
Washington|WA
West Virginia|WV
Wisconsin|WI
Wyoming|WYThis plugin only imports categories to the default posts type. If you need it for a custom post type then just dig into the database in the term_taxonomy table and change the default ‘category’ to your new registered taxonomy that you created in the functions.php. If you have a lot of rows to change then use the below sql statement to do them all at once.
UPDATE wp_term_taxonomy
SET taxonomy = ‘NEW_CAT_NAME’
WHERE taxonomy = ‘category’;
- The topic ‘How to Import all USA States’ is closed to new replies.