I am trying to display my wpcf custom field on a template loop using php.
<?php $venue .= get_post_meta( $event['post_id'], 'wpcf-venue', true ); ?>
<?php $venue_address .= get_post_meta( $event['post_id'], 'wpcf-venue-address', true ); ?>
<p><?php echo esc_html( $venue ); ?></p>
<p><?php echo esc_html( $venue_address ); ?></p>
I searched tickets and documentation and can't find anything that would help.  I have no output from this code.
			
	 
	
 
		
			
	
	
	
			
			<?php $venue = get_post_meta( $event['post_id'], 'wpcf-venue', true ); ?>
<?php $venue_address = get_post_meta( $event['post_id'], 'wpcf-venue-address', true ); ?>
<p><?php echo esc_html( $venue ); ?></p>
<p><?php echo esc_html( $venue_address ); ?></p>
was correct code.  I had a "." before the equal sign.