WordPress plugin

JSON Content Importer PRO

JSON Content Importer PRO connects WordPress to external REST APIs. It retrieves JSON, XML, CSV, and TXT responses, then lets you format returned fields as HTML for pages, posts, or Custom Post Types. Choose a shortcode, the JCI Block, or PHP to work with the data.

JSON Content Importer PRO

JSON Content Importer PRO connects WordPress to external REST APIs. It retrieves JSON, XML, CSV, and TXT responses, then lets you format returned fields as HTML for pages, posts, or Custom Post Types. Choose a shortcode, the JCI Block, or PHP to work with the data.

Prepare and display an API response

  1. Enter an API URL, load and inspect its response, then save the connection as an API-Access-Set.
  2. Use the saved set to create a shortcode, or enter an API URL in the JCI Block. The block can query the API, show its response, and generate a template for the output.
  3. Add the shortcode or block to a page, post, or Custom Post Type and refine how the returned fields appear. For direct code integration, use API-Access-Sets in PHP.

The JCI Block includes an example to help you learn the process and a template generator to structure the response for display.

PRO templates and search requests

PRO includes the Twig template engine, which gives you more options for formatting API data. You can store templates independently of pages, use additional shortcode parameters, and execute shortcodes inside a template.

For a search interface, connect a form to a JSON API and pass submitted GET variables into a dynamic JSON feed URL. Those user-supplied values can then influence the API request, for example in a directory or data listing. PRO also lets you create and use Custom Post Types.

Forms, caching, and output settings

Contact Form 7 integration can populate forms with JSON data and forward submitted form data to an API. The JCI cacher can help avoid repeated API requests. Basic Settings include options for SSL, caching, Gutenberg, and authentication.

Shortcode and block output is filtered to remove potentially unsafe HTML, such as JavaScript. If a display requires additional HTML, the advanced setting lets you specify allowed tags or attributes.