Title: Help getting data in array to display
Last modified: September 21, 2019

---

# Help getting data in array to display

 *  Resolved [alackey](https://wordpress.org/support/users/alackey/)
 * (@alackey)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/help-getting-data-in-array-to-display/)
 * Hi, I’m having trouble inserting the image data to insert into my page. I have
   no trouble insert the top level attributes ie: title and title_sortable using
   this code:
 *     ```
       Title: {subloop:attributes:-1} {title}
       {/subloop}
       ```
   
 * I’ve had no luck when attempting to add the images field data with something 
   like this:
    `{subloop:attributes:-1}{subloop-array:images:5}{image}{/subloop-
   array:images}{/subloop}`
 * Any guidance is much appreciated.
 * Thanks
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhelp-getting-data-in-array-to-display%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [berkux](https://wordpress.org/support/users/berkux/)
 * (@berkux)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/help-getting-data-in-array-to-display/#post-11954862)
 * Hi,
 * best would be to have the JSON as data and the used shortcode incl. template.
   
   If you want to share that in private use [https://jsoncontentimporter.freshdesk.com/widgets/feedback_widget/new?searchArea=no](https://jsoncontentimporter.freshdesk.com/widgets/feedback_widget/new?searchArea=no)
 * At
    {subloop:attributes:-1}{subloop-array:images:5}{image}{/subloop-array:images}{/
   subloop}
 * you might try
    {subloop:attributes:-1}{subloop-array:attributes.images:5}{attributes.
   images.image}{/subloop-array:attributes.images}{/subloop:attributes}
 * Bernhard
 *  Thread Starter [alackey](https://wordpress.org/support/users/alackey/)
 * (@alackey)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/help-getting-data-in-array-to-display/#post-11955920)
 * This worked – thank you so much, Bernhard!
 *  Plugin Author [berkux](https://wordpress.org/support/users/berkux/)
 * (@berkux)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/help-getting-data-in-array-to-display/#post-11956678)
 * You’re welcome! Feel free to vote for this plugin.

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

The topic ‘Help getting data in array to display’ 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: [6 years, 9 months ago](https://wordpress.org/support/topic/help-getting-data-in-array-to-display/#post-11956678)
 * Status: resolved