Title: Shortcode for CITY
Last modified: October 3, 2022

---

# Shortcode for CITY

 *  [Jaso](https://wordpress.org/support/users/subwebsites/)
 * (@subwebsites)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/shortcode-for-city/)
 * Hi, does this have shortcodes where I can place within text that will display
   the users current location of CITY, and maybe also STATE?
 * Thanks

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

 *  Plugin Author [David Shanske](https://wordpress.org/support/users/dshanske/)
 * (@dshanske)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/shortcode-for-city/#post-16063374)
 * Well, not a shortcode. I’m not against adding a few. Can you elaborate on what
   you are thinking?
 *  Thread Starter [Jaso](https://wordpress.org/support/users/subwebsites/)
 * (@subwebsites)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/shortcode-for-city/#post-16063652)
 * This plugin really slows down the website: [https://wordpress.org/plugins/cf-geoplugin-gps/](https://wordpress.org/plugins/cf-geoplugin-gps/)
   which needs this to run it: [https://wordpress.org/plugins/cf-geoplugin/](https://wordpress.org/plugins/cf-geoplugin/)
 * Must add a certain cookie to WPRocket so it doesnt cache the Developers view 
   location so it will detect a visitors location.
 * It has heaps heaps shortcodes to display many things:
    [https://prnt.sc/e8znn24b85RZ](https://prnt.sc/e8znn24b85RZ)
 * [https://prnt.sc/a-z70BC4r_-2](https://prnt.sc/a-z70BC4r_-2)
 * Place the shortcodes wherever and will show certain info
 * Only thing I dont like about it, when the GPS part of the plugin is activated
   it slows down the site.
 * Hopefully you may have something better??
    -  This reply was modified 3 years, 8 months ago by [Jaso](https://wordpress.org/support/users/subwebsites/).
    -  This reply was modified 3 years, 8 months ago by [Jaso](https://wordpress.org/support/users/subwebsites/).
    -  This reply was modified 3 years, 8 months ago by [Jaso](https://wordpress.org/support/users/subwebsites/).
 *  Thread Starter [Jaso](https://wordpress.org/support/users/subwebsites/)
 * (@subwebsites)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/shortcode-for-city/#post-16063671)
 * When it’s activated, it actually detects my physical location and displays the
   city name:
    [https://prnt.sc/RUgkLZf9uvUd](https://prnt.sc/RUgkLZf9uvUd)
 *  Plugin Author [David Shanske](https://wordpress.org/support/users/dshanske/)
 * (@dshanske)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/shortcode-for-city/#post-16194635)
 * My plugin is focused on adding location to posts and WordPress users. You seem
   to want browser autodetection for visitors. Is that correct?

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

The topic ‘Shortcode for CITY’ is closed to new replies.

 * ![](https://ps.w.org/simple-location/assets/icon.svg?rev=1680240)
 * [Simple Location](https://wordpress.org/plugins/simple-location/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-location/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-location/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-location/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-location/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-location/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [David Shanske](https://wordpress.org/support/users/dshanske/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/shortcode-for-city/#post-16194635)
 * Status: not resolved