WordPress.org

Ready to get started?Download WordPress

Plugin Directory

JSON Data Shortcode

Load data via JSON and display it in your posts and pages - even to spiders or visitors with JavaScript disabled

This shortcode lets you pull data into your pages via JSON. Supports unlimited levels of nesting! Built-in caching of results keeps your data providers happy, but can be tailored to your needs with a configurable lifetime.

You can use it one of two ways (but not necessarily on the same page - see this article!)

[json src="http://example.com/my_data_src?format=json" key="Data.mykey"]

--> outputs contents of mykey in the Data object

[json src="http://example.com/my_data_src?format=json"]I want my value to appear right here {Data.mysubdata.otherKey} in the middle of my content.[/json]

--> replaces the text in {} with contents of otherKey in the mysubdata object in the Data object

Note: this plugin allows you to bring content from remote sites into your posts. Please exercise caution, especially if you allow posting by untrusted users.

Requires: 3.0 or higher
Compatible up to: 3.5.2
Last Updated: 2012-5-31
Downloads: 962

Ratings

3 stars
3 out of 5 stars

Support

0 of 1 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1