Plugin Directory

Test out the new Plugin Directory and let us know what you think.

100 Cities

Add great content to your posts automatically: just choose a city and get a map, photos, data, and related offers. Very useful for travel bloggers!

  1. Upload "100-cities" folder to the '/wp-content/plugins/' directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Place "wp_cityinfo('location-name', 'language');" inside php tags in any of your templates and the widget will show up if the tag name is the name of a city. Default language is English (at the moment it is the only language we support.)
  4. Also you can place "[onehundredcities location='location-name' mapzoom='8' weather='on/off' lang='eng/esp/ita' panoramiocount='3' div='block/float' wiki='on/off' gmaps='on/off' panoramio='on/off' offers='on/off' logo='on/off']" in any post or page. If the attribute is on in the admin area, you don't need to add it, it will use the value by default.
  5. The location name must be written as it appears in the Wikipedia URL.
  6. Also you can use the widget and place it on your widgets area. You may need to modify the default css to adjust the plugin for that area.
  7. In the Dashboard you have an admin panel to control values by default, css and more.
  8. If you want to use tags and category listings, you need to add wp_meta() to the sidebar, where you want the plugin to be.
  9. '/wp-content/plugins/100-cities/cache' folder needs write permissions, so the plugin will save data there and this reduces the quantity of resources that uses it.
  10. '/wp-content/plugins/100-cities/assets/offers.data' file has data written in json and you can change it to write your own offers

Requires: 2.5 or higher
Compatible up to: 4.2.11
Last Updated: 1 year ago
Active Installs: 200+


5 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.