Telf. / WhatsApp 51 - 998321374

Prueba Json 2

Welcome!
Click on this block and you see on the right side the Gutenberg-Block settings of the «JSON Content Importer Gutenberg Block». Yet there is an example to show how it works. The Example-URL is
https://www.coastaltoursperu.com/wp-content/plugins/json-content-importer/json/gutenbergblockexample1.json
Some settings show you how the JSON-parser and display works. The example-template is (try to change it on the right):
start: {start}<br>{subloop-array:level2:-1}level2: {level2.key}<br>{subloop:level2.data:-1}id: {level2.data.id}, type: {level2.data.type}<br>{/subloop:level2.data}{/subloop-array:level2}
The result of combining JSON and this template gives us the output. Use this example to experiment: Type «level1» in the right basenode-field, please. This will change the output as now the JSON and the template fit together (without not…)
You may also open the lower right «JCI Advanced«-section. Insert at «One of these words must be displayed:» the word «bb». And at «JSON-depth of the above displayed Words:» the number 3. Do you see the difference at once?
We have a Problem with JSON here:
Either we got no JSON from the API. Or the basenode-parameter is not ok.
Switch on the Debugmode of the Plugin!

© 2022 Coastal Tours Perú - Todos los derechos reservados | Diseño: TBCOM 360° (www.tbcom.pe)

Síguenos en Facebook