Title: [Plugin: JSON Data Shortcode] Doesn&#039;t pull in json data to page/post
Last modified: August 20, 2016

---

# [Plugin: JSON Data Shortcode] Doesn't pull in json data to page/post

 *  Resolved [headspin](https://wordpress.org/support/users/headspin/)
 * (@headspin)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-json-data-shortcode-doesnt-pull-in-json-data-to-pagepost/)
 * I’m trying to pull in json data from another test domain via it’s api (I have
   access to debug this api). The API gets called on the save of the post w/the 
   shortcode in it but not on a page refresh and no json data is shown on page.
 * [http://wordpress.org/extend/plugins/json-data-shortcode/](http://wordpress.org/extend/plugins/json-data-shortcode/)

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

 *  Plugin Author [David Dean](https://wordpress.org/support/users/ddean/)
 * (@ddean)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-json-data-shortcode-doesnt-pull-in-json-data-to-pagepost/#post-2792213)
 * JSON data is cached according to the “lifetime” param, or 30 minutes by default.
   Have you waited long enough for the data to expire?
 *  [davebos](https://wordpress.org/support/users/davebos/)
 * (@davebos)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-json-data-shortcode-doesnt-pull-in-json-data-to-pagepost/#post-2792278)
 * David,
 * Does the shortcode still work with version 3.4?
 * I can’t get the shortcode to output anything on my [site](http://acq1.com/f).
   Will it return an error or just stay blank if it doesn’t find the key? I am not
   sure that I am formating the key correctly. Can you give me a sample of properly
   formatted shortcode with a live json feed?
 * Thanks!!!
 *  Plugin Author [David Dean](https://wordpress.org/support/users/ddean/)
 * (@ddean)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-json-data-shortcode-doesnt-pull-in-json-data-to-pagepost/#post-2792280)
 * Hi davebos,
 * The shortcode is working for me on 3.4.2. The shortcode doesn’t output anything
   if the key isn’t found, but you can see any errors by enabling debugging in WP.
 * Here’s the code I use to test:
 * `[json src="http://developer.yahooapis.com/TimeService/V1/getTime?appid=YahooDemo&
   output=json" lifetime="30"]At the tone, the time will be: {Result.Timestamp}[/
   json]`
 * Let me know whether that works on your install!
 * – David
 *  [bakedbeing](https://wordpress.org/support/users/bakedbeing/)
 * (@bakedbeing)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-json-data-shortcode-doesnt-pull-in-json-data-to-pagepost/#post-2792289)
 * Hiya David, I installed 3.4.2 on my localhost, then installed your plugin manually,
   and it shows up fine in my plugins panel. It also shows the correct description.
 * I’ve tried dropping in your exact code from the post above (the yahoo timeservice)
   and nothing shows up for the timestamp. I’ve plugged the src url into a browser
   and the Yahoo service appears to be fine. Any ideas what might be happening?
 * Thanks mate!
 *  [bakedbeing](https://wordpress.org/support/users/bakedbeing/)
 * (@bakedbeing)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-json-data-shortcode-doesnt-pull-in-json-data-to-pagepost/#post-2792290)
 * Hi again, sorry for the trouble! A bit more info: I’ve turned on wordpress debugging
   and it’s telling me the selected key can’t be found. I’ve tried Result by itself
   and Timestamp, but no dice. I’ve also tried it with a feed on Petrescue and I
   can’t pull the data out of the results there either.
 * Thanks!
 *  Plugin Author [David Dean](https://wordpress.org/support/users/ddean/)
 * (@ddean)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/plugin-json-data-shortcode-doesnt-pull-in-json-data-to-pagepost/#post-2792293)
 * Hi bakedbeing –
 * Thanks for reporting this!
 * I see what you mean. I have a couple test environments and I’m able to reproduce
   this problem on one of them. Let me take a look and see what I can find.
 * – David
 *  Plugin Author [David Dean](https://wordpress.org/support/users/ddean/)
 * (@ddean)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/plugin-json-data-shortcode-doesnt-pull-in-json-data-to-pagepost/#post-2792294)
 * Hi [@bakedbeing](https://wordpress.org/support/users/bakedbeing/) –
 * If you copy and paste the above code, make sure the ampersand isn’t being escaped.
   I’ll be releasing a new version shortly that will take care of this on the fly.
 * Thanks for reporting this issue!
 * – David

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

The topic ‘[Plugin: JSON Data Shortcode] Doesn't pull in json data to page/post’
is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/json-data-shortcode.svg)
 * [JSON Data Shortcode](https://wordpress.org/plugins/json-data-shortcode/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/json-data-shortcode/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/json-data-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/json-data-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/json-data-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/json-data-shortcode/reviews/)

## Tags

 * [json](https://wordpress.org/support/topic-tag/json/)

 * 7 replies
 * 4 participants
 * Last reply from: [David Dean](https://wordpress.org/support/users/ddean/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/plugin-json-data-shortcode-doesnt-pull-in-json-data-to-pagepost/#post-2792294)
 * Status: resolved