Title: multiple values in custom fields
Last modified: August 21, 2016

---

# multiple values in custom fields

 *  Resolved [NuriaSerrat](https://wordpress.org/support/users/nuriaserrat/)
 * (@nuriaserrat)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/multiple-values-in-custom-fields/)
 * Great plug-in! Congratulations!
    I just want to know if I can use it, to get 
   the values of multiple selections from ACF (checkboxes or select field types)
   I test it and the [content] returns me ‘array’ instead of the values. Thanks 
   a lot
 * [https://wordpress.org/plugins/custom-content-shortcode/](https://wordpress.org/plugins/custom-content-shortcode/)

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

 *  Plugin Author [Eliot Akira](https://wordpress.org/support/users/miyarakira/)
 * (@miyarakira)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/multiple-values-in-custom-fields/#post-4859769)
 * Hello,
 * As you found out, multiple selections aren’t supported yet – I can try to include
   the feature in the next update. Would a simple comma-separated list be enough
   for your purpose? For example, the array would return: “apple, orange, peach”.
 *  Thread Starter [NuriaSerrat](https://wordpress.org/support/users/nuriaserrat/)
 * (@nuriaserrat)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/multiple-values-in-custom-fields/#post-4859825)
 * Hi. Thanks in advance… A simple comma-separated list it would be really perfect!!
 *  Plugin Author [Eliot Akira](https://wordpress.org/support/users/miyarakira/)
 * (@miyarakira)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/multiple-values-in-custom-fields/#post-4859876)
 * OK, I’ve updated the plugin so the [content] shortcode returns multiple values
   as a list.
 * Also, I noticed that it was returning the values of the checkboxes/select fields.
   So, I added a parameter to display the labels.
 *     ```
       [content field="checkboxes" out="label"]
       [content field="selection" out="label"]
       ```
   
 * This only works with ACF, as it uses one of its functions to get the label names.
   Please let me know if that works for you.
 *  Thread Starter [NuriaSerrat](https://wordpress.org/support/users/nuriaserrat/)
 * (@nuriaserrat)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/multiple-values-in-custom-fields/#post-4859900)
 * Great!
    It works perfect, returning the values of the checkboxes/select fields.
   Thanks a lot. I’m going to test label options properly in a few days (now I’ve
   the same, in value that in label… so I can’t appreciate the diferrences) Really
   good job. Thanks.

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

The topic ‘multiple values in custom fields’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/custom-content-shortcode_766976.svg)
 * [Custom Content Shortcode](https://wordpress.org/plugins/custom-content-shortcode/)
 * [Support Threads](https://wordpress.org/support/plugin/custom-content-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-content-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-content-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-content-shortcode/reviews/)

## Tags

 * [custom_fields](https://wordpress.org/support/topic-tag/custom_fields/)
 * [multiple values](https://wordpress.org/support/topic-tag/multiple-values/)

 * 4 replies
 * 2 participants
 * Last reply from: [NuriaSerrat](https://wordpress.org/support/users/nuriaserrat/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/multiple-values-in-custom-fields/#post-4859900)
 * Status: resolved