The Plugin “TablePress” and the PRO version of the JSON Content Importer can work together in this way:
- Create a new TablePress-Table with e. g. two columns and two rows. Fill the cells with some dummy text. This gives you a shortcode
[[table id=NUMBER_OF_TABLEPRESS_TABLE /]]. - Create a new JCI-Plugin Template:
Name: tablepress
URL: https://api.json-content-importer.com/extra/json/meetup/1.json
twig-template:
name: {{_context.0.name}} [[table id=1 /]]
Shortcode:
[[jsoncontentimporterpro orderofshortcodeeval=2 nameoftemplate="tablepress"]]
3. Insert {{_context.0.name}} in a table-cell of the Tablepress-Table. Then reload the page and you should see the JSON-data in the Table.
If the number of columns or rows is dynamic: Up to my knowledge TablePress has a fixed number of cols and rows. So this is not that flexible.
Maybe Table Sort is an option then.
JCI and Tablepress in Action:
name: Love Breakfast1a: Love Breakfast | 1b |
---|---|
2a | 2b |