Support

Account

Home Forums Front-end Issues Display all posts with special treatment for relationships Reply To: Display all posts with special treatment for relationships

  • Hi @rktlwm

    The ‘post__not_in’ param expects an array or ID’s, not a string, nor an object.

    Can you please confirm that the code:

    
    $impact_values = get_sub_field('impact_value_select');
    
    echo '<pre>';
    	print_r( $impact_values );
    echo '</pre>';
    die;
    

    Displays only an array of ID’s? Can you please post the result here?

    Thanks
    E