Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Paul Clark

    (@pdclark)

    Within while( $tasks->fetch() ) { :

    
    $volunteers = get_post_meta( $tasks->id(), 'volunteers', false );
    
    echo '<ul>';
    foreach( $volunteers as $volunteer ) {
    	printf(
    		'<li>%s</li>',
    		esc_html( $volunteer['post_title'] )
    	);
    }
    echo '</ul>';
    

    Thanks @pdclark . Your solution is working. Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fetch Volunteers of a Task’ is closed to new replies.