Build Map with Categories Post Count

If you’re using categories with country names and associate posts to it, you can use a technique automatically build your map.

Simply write ‘categories_count’ (or ‘tags_count’) in the advanced tab of the Interactive Regions section:

This way the map will fetch the categories names, check if they are country names and populate the map. The tooltip will contain the number of posts from that category and if you enable the ‘open new URL’ action value, when you click that country, it will link to the archive page of that category.

The preview will not reflect this, but once you apply the shortcode to a page, the map should display. It will use the default color selected in the settings page of the plugin.

Category Count Placeholder
Category Count