Support

Account

Home Forums General Issues Getting ACF to work with Pagelines DMS Reply To: Getting ACF to work with Pagelines DMS

  • I managed to get it to show with this code in a widget:

    <?php
    $custom_field = get_post_custom_values(‘editor_score’);
    if(!empty($custom_field)){
    echo ‘<div class=”result-extra”>’;
    echo __(‘Editor Score: ‘).”.$custom_field[0];
    echo ‘</div>’;
    }

    ?>

    Only issue is if there are two entries in the fields it displays info like this:

    a:3:{i:0;i:15;i:1;i:172;i:2;i:105;}

    you can see this on: http://www.cgmagazine.ca/wordpress/game_review/saints-row-iv.html