WordPress.org

Ready to get started?Download WordPress

Forums

Advanced Custom Fields
Upgraded and select fields now display "Array" (2 posts)

  1. WP Monkey
    Member
    Posted 2 years ago #

    I upgraded to 3.0.0 version of Adv Cust Fields and now all of my multi-select fields with more than one value display "Array" and not any values. Need immediate help!

    They are being called via
    <?php the_field('osg_location'); ?>
    where osg_location is a select field with Select multiple values? set to Yes.

    http://wordpress.org/extend/plugins/advanced-custom-fields/

  2. elliotcondon
    Member
    Plugin Author

    Posted 2 years ago #

    you should use get_field to retrieve the array as a variable, the loop through it and echo out the array values.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic