WordPress.org

Plugin Directory

!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

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.3 or higher
Compatible up to: 3.5.2
Last Updated: 2 years ago
Active Installs: 200+

Ratings

5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

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

100,1,1