We’re going to create a shortcode that’ll output a div element, with the data-map="." property holding the parameters of the map. Starting our callback : wptgmapInitMaps()') ĭocument.querySelectorAll('.map').forEach(function(container) " property as JSON. Here’s a rough outline of how the HTML will look: Ĭonsole.log('Maps API loaded.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |