• Resolved kb1971

    (@kb1971)


    Hi Eliot,

    Is it possible to display multiple ACF checkbox values without the white spaces after the commas?

    I am using this:
    data-instafilta-category="[field image_tags]"
    I need to change this result:
    data-instafilta-category="static, barriers, fire"
    To this:
    data-instafilta-category="static,barriers,fire"

    Thanks
    K

    https://wordpress.org/plugins/custom-content-shortcode/

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

    (@miyarakira)

    In the newest plugin update (version 3.1.9), I added a parameter for this:

    [field image_tags glue=',']

    This should use only a comma to combine values when the field is an array. Please let me know if that works for your use case.

    I just pushed the new update, so it may take a little while to be available through your site’s updater.

    Thread Starter kb1971

    (@kb1971)

    This has worked perfectly. Thank you as always for the fantastic support.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Removing white space after commas when displaying multiple ACF checkbox values’ is closed to new replies.