We'll create fresh WordPress site with World Map HD – Interactive Maps of the World installed. You have 20 minutes to test the plugin after that site we'll be deleted.
This plugin lets you show interactive maps of the world using a shortcode or a widget inside posts, pages, or template files.
This plugin contains lightweight code to be very fast to load, SEO-friendly, and it is developed to have full compatibility with WordPress 3.1 (2011) up to WordPress 5+ (2019), from PHP 5.6 up to PHP 7.3.
In order to display interactive maps of the world in your website using this plugin, you have 2 easy options to have maximum flexibility.
OPTION 1: Use a shortcode
In order to display the map in your specific posts or pages use this code:
[WorldMapHD title="custom-title"]
or
[WorldMapHD]
In order to display the map in your WordPress template use this code:
<?php echo do_shortcode( '[WorldMapHD title="custom-title"]' ); ?>
OPTION 2: Use a widget
Go to Appearance > Widgets and add WorldMapHD widget where you want to show it.