Title: Embed Google Maps &#8211; Get address from shortcode
Last modified: August 9, 2018

---

# Embed Google Maps – Get address from shortcode

 *  [elbrik](https://wordpress.org/support/users/elbrik/)
 * (@elbrik)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/embed-google-maps-get-address-from-shortcode/)
 * Hi! First of all, thanks for developing Airpress. It’s just what I was looking
   for, even though it is not very user-friendly yet, but I’ve managed to make it
   work with my pretty basic knowledge.
 * I am using Virtual Posts and trying to embed some Google Maps by using a shortcode
   that cals a field in my table, but it seems like the map loads first and doesn’t
   translate the shortcode into the address, so it’s not actually working.
 * I’m pretty sure there is a way to ‘pre-load’ the shortcode with PHP, but I have
   no skills at all regarding that.
 * The Airtable Connection is correct, and all the other shortcodes work properly
   when inserted as plain text, but this is the first time I’ve tried to put them
   inside an HTML tag, and can’t find the right way to do it.
 * Can anyone give me a hint?
 * Thanks!
    -  This topic was modified 7 years, 9 months ago by [elbrik](https://wordpress.org/support/users/elbrik/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [Chester McLaughlin](https://wordpress.org/support/users/chetmac/)
 * (@chetmac)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/embed-google-maps-get-address-from-shortcode/#post-10582598)
 * Can you post a screenshot or code snippet showing what you’re currently doing
   and/or what you’re trying to accomplish?
 * I doubt this is an issue with “pre-loading” anything, rather it’s probably an
   issue with nested shortcodes or some other WordPress + Shortcode behavior.
 * Also, if you have a working example of the map *without* Airpress (using a static
   address/location) I might be able to provide more insight into how to integrate
   with Airpress.

Viewing 1 replies (of 1 total)

The topic ‘Embed Google Maps – Get address from shortcode’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/airpress_c9d28c.svg)
 * [Airpress](https://wordpress.org/plugins/airpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/airpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/airpress/)
 * [Active Topics](https://wordpress.org/support/plugin/airpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/airpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/airpress/reviews/)

## Tags

 * [address](https://wordpress.org/support/topic-tag/address/)
 * [embed](https://wordpress.org/support/topic-tag/embed/)
 * [html](https://wordpress.org/support/topic-tag/html/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 1 reply
 * 2 participants
 * Last reply from: [Chester McLaughlin](https://wordpress.org/support/users/chetmac/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/embed-google-maps-get-address-from-shortcode/#post-10582598)
 * Status: not resolved