Title: shortcode not reading?
Last modified: August 31, 2016

---

# shortcode not reading?

 *  Resolved [onetime007](https://wordpress.org/support/users/onetime007/)
 * (@onetime007)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/shortcode-not-reading/)
 * Trying this out, like the idea of it. My API seems to be working (refreshing 
   the page increases the google usage request count, no errors).
 * However, the ‘stock’ shortcode from the example doesn’t appear to be working…
   so I am wondering what I am missing. Zoom level makes no difference, and the 
   xml file is not read (no pins showing on map).
 * Any tips?
 * [https://wordpress.org/plugins/pw-gmap-plotter/](https://wordpress.org/plugins/pw-gmap-plotter/)

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

 *  Plugin Author [WPI](https://wordpress.org/support/users/rohanmehta19/)
 * (@rohanmehta19)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/shortcode-not-reading/#post-7292542)
 * Can you send me the link to your XML file or just paste your xml file
 *  Thread Starter [onetime007](https://wordpress.org/support/users/onetime007/)
 * (@onetime007)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/shortcode-not-reading/#post-7292547)
 * Here’s the xml.
 *     ```
       <markers>
   
       <marker name="Some Place" topic="Some Topic" address="1st Street, City, Country" lat="49.8960599" lng="-101.0241226" date="14-Feb-16" contact="" presenter="Mary" type="event"/>
   
       <marker name="Some other Place" topic="Some other Topic" address="2nd Street, City, Country" lat="72.68" lng="79.8632416" date="15-Feb-16" contact="" presenter="John" type="event"/>
   
       </markers>
       ```
   
 *  Thread Starter [onetime007](https://wordpress.org/support/users/onetime007/)
 * (@onetime007)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/shortcode-not-reading/#post-7292548)
 * I figured it out. The issue is the shortcode example given in ‘Step 4’ of the
   instruction page at [http://phpwpinfo.com/wordpress-google-maps-api-plugin/](http://phpwpinfo.com/wordpress-google-maps-api-plugin/)
 * The line returns / spaces seem to be corrupting the shortcode. Removing them 
   enabled the shortcode to activate and read the xml file.
 *  Plugin Author [WPI](https://wordpress.org/support/users/rohanmehta19/)
 * (@rohanmehta19)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/shortcode-not-reading/#post-7292617)
 * Glad that you figured this out
    I have removed those unnecessary line breaks
 *  Plugin Author [WPI](https://wordpress.org/support/users/rohanmehta19/)
 * (@rohanmehta19)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/shortcode-not-reading/#post-7292618)
 * Closing the thread

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

The topic ‘shortcode not reading?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/pw-gmap-plotter_cadddc.svg)
 * [Google Maps Plotting](https://wordpress.org/plugins/pw-gmap-plotter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pw-gmap-plotter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pw-gmap-plotter/)
 * [Active Topics](https://wordpress.org/support/plugin/pw-gmap-plotter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pw-gmap-plotter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pw-gmap-plotter/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [WPI](https://wordpress.org/support/users/rohanmehta19/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/shortcode-not-reading/#post-7292618)
 * Status: resolved