Support

Account

Home Forums General Issues Display selected value in Php Reply To: Display selected value in Php

  • Hi lepel

    You should add the post ID in the get_field function: https://www.advancedcustomfields.com/resources/how-to-get-values-from-another-post/

    
    <?php 
    $post_ID = 5; // this is the ID of the page which contains the values selected
    $beschikbaar = get_field('beschikbaar', $post_ID);