Step 9: Twig-template engine

Prior to Version 3.0.0 and in the free Version the JSON Content Importer-Plugin is based on the proprietary “JCI-parser” with some great features. This is good and still available.

But: In some cases this parser / template-engine had limits. Therefore now you can use the popular Twig-engine with this plugin.

The usage is as following:

Example-Shortcode:

[jsoncontentimporterpro url=http://... parser=twig]
{% for eventitem in event %}
{% if eventitem.evs3|length > 0 %}
{{eventitem.eventname}}
{% endif %}
{% endfor %}
[/jsoncontentimporterpro]

twig-Extensions: