Visited Provinces

Plugin Banner

Visited Provinces

by pcsforme

Download
Description

Uses amMap’s JavaScript maps to display a map of visited places via shortcode.

Use [visited_provinces] to display your map.

You can also add text and close the shortcode while using the following fields: {num}, {total}, {percent}

i.e. [visited_provinces width=”500″ height=”500″]I have visited {num} of {total} provinces! That is {percent} of the country![/visited_provinces]

  1. Upload np_visited_provinces folder to your current plugin directory (i.e. /wp-content/plugins/ if you haven’t changed them)
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  1. Preview of the map.

    Preview of the map.

  2. Preview of the settings screen.

    Preview of the settings screen.

  3. Preview of the screen to choose which ones you have visited.

    Preview of the screen to choose which ones you have visited.

Can I change the size of the map?

Yes, just pass in the width and height values when you call the shortcode. i.e. [visited_provinces width=”1000″ height=”600″]

What colors can I use?

You can use any valid HEX color code or even try entering a common color name. If I’ve added it to the plugin it will automatically change it to the correct HEX code and save it. Don’t worry if you get one wrong, it will just go back to the default color.

I’ve added a preview of the map to the settings screen so you can immediately see your color changes!

1.0.1

  • Added settings page

1.0.0

  • First Draft
Back to top