Title: Zip Code using shortcode
Last modified: June 7, 2020

---

# Zip Code using shortcode

 *  Resolved [ezsound](https://wordpress.org/support/users/ezsound/)
 * (@ezsound)
 * [6 years ago](https://wordpress.org/support/topic/zip-code-using-shortcode/)
 * Hi,
    I am trying to use shortcode to insert the Zip code (postal code) into a
   field on a form I can see it appear under “extra.original” and when i put in 
   the code I get <!– Geolocation IP Detection: Invalid property name (sub-property
   missing). –> I have tried to find a way to input the sub-property but with no
   success. The previous thread on this topic leads to a dead URL so that was not
   helpful either. Would really appreciate your help!

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [Benjamin Pick](https://wordpress.org/support/users/benjamin4/)
 * (@benjamin4)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/zip-code-using-shortcode/#post-12952645)
 * Oh, my bad, I didn’t think of this use case. Probably you are using ipstack or
   which datasource? Can you write more details so that I can see the same error
   than you, please? I will fix it for the next version then.
 * (Internally, this is using the same code than the shortcode, so if the shortcode
   doesn’t work, then it also doesn’t work for the input form.)
 *  [Benjamin Pick](https://wordpress.org/support/users/benjamin4/)
 * (@benjamin4)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/zip-code-using-shortcode/#post-12955083)
 * Oh, there it is: `[geoip_detect2 property="extra.original.zip"]` (when using 
   ipstack as a datasource)
 * I have created a bug report for that: [https://github.com/yellowtree/geoip-detect/issues/84](https://github.com/yellowtree/geoip-detect/issues/84)
    -  This reply was modified 5 years, 12 months ago by [Benjamin Pick](https://wordpress.org/support/users/benjamin4/).
 *  Thread Starter [ezsound](https://wordpress.org/support/users/ezsound/)
 * (@ezsound)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/zip-code-using-shortcode/#post-12986133)
 * Thanks for this!
    Is this live already? or do you need to update the plugin ?
 *  Plugin Author [Benjamin Pick](https://wordpress.org/support/users/benjaminpick/)
 * (@benjaminpick)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/zip-code-using-shortcode/#post-12987492)
 * It’s working in the beta version now – please try and let me know if it works:
 * [https://github.com/yellowtree/geoip-detect/wiki/Beta-Testing](https://github.com/yellowtree/geoip-detect/wiki/Beta-Testing)
 *  Plugin Author [Benjamin Pick](https://wordpress.org/support/users/benjaminpick/)
 * (@benjaminpick)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/zip-code-using-shortcode/#post-12987542)
 * Oh no, I realized that this means I have to raise the PHP requirements to 7.1–
   bummer. I have to find a different solution then. (Praise be to unit tests!)
    -  This reply was modified 5 years, 11 months ago by [Benjamin Pick](https://wordpress.org/support/users/benjaminpick/).
 *  [Benjamin Pick](https://wordpress.org/support/users/benjamin4/)
 * (@benjamin4)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/zip-code-using-shortcode/#post-13052587)
 * This is now in 3.1.0

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Zip Code using shortcode’ is closed to new replies.

 * ![](https://ps.w.org/geoip-detect/assets/icon-256x256.jpg?rev=978998)
 * [Geolocation IP Detection](https://wordpress.org/plugins/geoip-detect/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/geoip-detect/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/geoip-detect/)
 * [Active Topics](https://wordpress.org/support/plugin/geoip-detect/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/geoip-detect/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/geoip-detect/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [Benjamin Pick](https://wordpress.org/support/users/benjamin4/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/zip-code-using-shortcode/#post-13052587)
 * Status: resolved