Title: Description Template
Last modified: January 24, 2022

---

# Description Template

 *  Resolved [blazer030](https://wordpress.org/support/users/blazer030/)
 * (@blazer030)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/description-template/)
 * Hey Bernhard,
 * at first great work!
 * I have one question:
 * for this JSON
 *     ```
       {
         "warning": [
           {
             "identifier": "V0FSTklOR19fbWRtLnZpel9fTE1TLUJSL3JfTE1TLUJSLzI2MjcxNF9MTVMtQlIvNjEuMA==",
             "routeRecommendation": [],
             "description": [
               "Beginn: 24.01.2022 07:36",
               "",
               "A2 Berliner Ring Richtung Magdeburg",
               "zwischen Dreieck Werder und Lehnin",
               "defekter LKW auf dem Beschleunigungsstreifen, bitte vorsichtig fahren"
             ],
             "title": "A2 | AD Werder (81) - AS Lehnin (80)",
                 },
       ```
   
 * i get with this template
 * {title}<br>
    {description}
 * only the answer for the title part not for the description
 * A2 | AD Werder (81) – AS Lehnin (80)
 * I would appreciate your help. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [berkux](https://wordpress.org/support/users/berkux/)
 * (@berkux)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/description-template/#post-15285933)
 * Hi,
 * thank you.
    Try this:
 *     ```
       [jsoncontentimporter url=http://wptest.kux.de/extra/json/blazer030.json]
       {subloop-array:warning:-1}
       identifier: {warning.identifier}<br>
       title: {warning.title}<br>
       {subloop-array:warning.description:10}
       {0}-{1}-{2}<br>
       {/subloop-array:warning.description}
       {/subloop-array:warning}
       [/jsoncontentimporter]
       ```
   
 * Bernhard
 *  Thread Starter [blazer030](https://wordpress.org/support/users/blazer030/)
 * (@blazer030)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/description-template/#post-15291234)
 * Hey Bernhard,
 * Thanks a lot! This works very well!
 * One little question, is there a possibility so send a “Sorry Feed is empty” when
   the JSON File is empty as well?
 *  Plugin Author [berkux](https://wordpress.org/support/users/berkux/)
 * (@berkux)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/description-template/#post-15291554)
 * Hi blazer030,
 * not yet with the free plugin. You’re right: This would be a nice additional feature
   showing something when the API-request failed or the API gives nothing.
 * A good API should give something in any case. But not all APIs are that good…
 * Bernhard

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Description Template’ is closed to new replies.

 * ![](https://ps.w.org/json-content-importer/assets/icon-256x256.png?rev=3464653)
 * [Get Use APIs - JSON Content Importer](https://wordpress.org/plugins/json-content-importer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/json-content-importer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/json-content-importer/)
 * [Active Topics](https://wordpress.org/support/plugin/json-content-importer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/json-content-importer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/json-content-importer/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [berkux](https://wordpress.org/support/users/berkux/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/description-template/#post-15291554)
 * Status: resolved