Support » Plugin: Custom Content Shortcode » multiple values in custom fields

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Eliot Akira

    (@miyarakira)

    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

    (@nuriaserrat)

    Hi. Thanks in advance… A simple comma-separated list it would be really perfect!!

    Plugin Author Eliot Akira

    (@miyarakira)

    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

    (@nuriaserrat)

    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.