If you often use Google Maps on your site, or just want an easier way to embed maps in posts and pages, here’s how you can do it with your own shortcode.
We’ve covered the basics of creating shortcodes before, so today we’ll put this knowledge into practice by creating a Google Maps shortcode you can use anywhere on your site.
Creating a Shortcodes Plugin
In this tutorial, we’re going to create a plugin. If you haven’t done it before, check out our easy to follow getting started with plugins guide.