Read list of targets/[wpgc_is_city_and_state] from file?
-
Handy little plug in.
Found 1 answer in the readme.txt in the plugin folder – thanks for clarifying the state_code= for 2 letter state abbreviations. You might want to put that in the mainline documentation.
Little bigger problem. I want to compare a list of City/State from a MSA metro area. And since it crosses state lines, I have a pretty long list. This gets pretty ugly using an individual [wpgc_is_city_and_state} on a page. I did *briefly* read some of the documentation on the MaxMind GitHub page, and it seems that they don’t recognize MSA’s as part of any database. If they did, I’d just take a stab at copying some of your code to customize and look for my specific MSA as another short code.
I’m not doing anything fancy. I don’t want a localized Google (or other) map, and I’m only comparing for 1 MSA, not multiple locations. I just need to say “Yes you are in XYZ, and we can help” on a static page for a call to action link/graphic/lightbox etc.
I can put the file is just about any format, and it would remain relatively static.
I guess this sounds more like a feature request, but maybe you can point me to a shortcut to get me to where I want to go!
Thanks!
- The topic ‘Read list of targets/[wpgc_is_city_and_state] from file?’ is closed to new replies.