Title: Selecting a single (non-first element) from basenode array
Last modified: August 31, 2016

---

# Selecting a single (non-first element) from basenode array

 *  Resolved [musicaljoeker](https://wordpress.org/support/users/musicaljoeker/)
 * (@musicaljoeker)
 * [10 years ago](https://wordpress.org/support/topic/selecting-a-single-non-first-element-from-basenode-array/)
 * Hello,
 * Currently I have my base array called posts (see json object [here](http://www.uwosh.edu/today/api/get_tag_posts/?tag_slug=cols)).
   I want to be able to select just the first, or the second, or the nth element.
   I do not see any documentation on how to do this. I would assume it is something
   like this: `basenode="posts[2]"`, but I haven’t been able to figure this out.
 * Please let me know if there is a way to do this.
 * Thank you,
    Joseph
 * [https://wordpress.org/plugins/json-content-importer/](https://wordpress.org/plugins/json-content-importer/)

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

 *  Plugin Author [berkux](https://wordpress.org/support/users/berkux/)
 * (@berkux)
 * [10 years ago](https://wordpress.org/support/topic/selecting-a-single-non-first-element-from-basenode-array/#post-7445385)
 * Hi Joseph,
 * the free plugn can’t do this.
    The pro-version can do this by using twig.
 * Bernhard
 *  Plugin Author [berkux](https://wordpress.org/support/users/berkux/)
 * (@berkux)
 * [10 years ago](https://wordpress.org/support/topic/selecting-a-single-non-first-element-from-basenode-array/#post-7445386)
 * see
    [https://json-content-importer.com/api-www-uwosh-edu/](https://json-content-importer.com/api-www-uwosh-edu/)
 *  Thread Starter [musicaljoeker](https://wordpress.org/support/users/musicaljoeker/)
 * (@musicaljoeker)
 * [10 years ago](https://wordpress.org/support/topic/selecting-a-single-non-first-element-from-basenode-array/#post-7445494)
 * Thank you very much for your quick response! I appreciate it very much 🙂
 *  Thread Starter [musicaljoeker](https://wordpress.org/support/users/musicaljoeker/)
 * (@musicaljoeker)
 * [10 years ago](https://wordpress.org/support/topic/selecting-a-single-non-first-element-from-basenode-array/#post-7445519)
 * Hello Bernhard,
 * I’ve purchased the pro-version of the plugin, and I’m now having some problems
   getting the data to come into my site. Here is my code:
 *     ```
       [jsoncontentimporterpro url="http://www.uwosh.edu/today/api/get_tag_posts/?tag_slug=cols" parser="twig"]
       <h2><a href="http://www.uwosh.edu/today/tag/cols/" target="_blank">COLS News</a></h2>
       <div class="story-name">{{posts[3].title}}</div>
       <div class="story-excerpt">{{posts[3].excerpt}} <a href="{{posts[3].url}}">Read more</a></div>
       [/jsoncontentimporterpro]
       ```
   
 * I’ve double checked my installation of the pro plugin. I’ve entered the registration
   ID. Everything looks good, but I’m still getting a data not available error.
 *  Plugin Author [berkux](https://wordpress.org/support/users/berkux/)
 * (@berkux)
 * [10 years ago](https://wordpress.org/support/topic/selecting-a-single-non-first-element-from-basenode-array/#post-7445522)
 * let’s switch to mail, as this is a PRO-plugin issue.
    see your mails..

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

The topic ‘Selecting a single (non-first element) from basenode array’ 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/)

 * 5 replies
 * 2 participants
 * Last reply from: [berkux](https://wordpress.org/support/users/berkux/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/selecting-a-single-non-first-element-from-basenode-array/#post-7445522)
 * Status: resolved