How do I display the value of a PICK (No Display Helper option)?

This topic is: not resolved

This topic contains 1 reply, has 1 voice, and was last updated by  gomiboy 1 year ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #167858

    gomiboy
    Member

    Here is my code:
    <?php the_content(); ?>
    <?php
    $locations = new Pod(‘locations’);
    $locations->findRecords(‘name ASC’);
    $total_locales = $locations->getTotalRows();
    ?>

    How do I get the $locale_state to not return "Array"? I found some documentation that I need to add a display helper but there is no "Display Helper" dropdown in the column setup. Please help, super frustrated!

    #167859

    gomiboy
    Member

    Found it. By adding .name to the get_field value. (e.g. get_field(‘state.name’);)

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Wordpress Cloud Hosting