Support

Account

Home Forums General Issues show array of relationship field values in USER query Reply To: show array of relationship field values in USER query

  • hello jonathan,
    i found out i have to echo the title, it’s that easy *gg

    <?php
    	$values = $user->user_faecher;
    	if (!empty($values)) {
    		
    		foreach($values as $value) {
    		    if($value != end($values)){
    		        echo get_the_title( $value );
    		    } else {
    		        echo get_the_title( $value );
    		    }
    		}
    
    	}
    ?>

    thanks anyway for your effort!