<?php
if( $size != 'custom' ) {
	$board_size_array = explode('-', $size);
	$board_width 	= $board_size_array[0];
	$board_height 	= $board_size_array[1];
	$image_width 	= $board_size_array[2];
}
?>
<a class="tm-widget tm-widget-pinterest-profile" data-pin-do="embedUser" data-pin-board-width="<?php echo esc_attr( $board_width );?>" data-pin-scale-height="<?php echo esc_attr( $board_height );?>" data-pin-scale-width="<?php echo esc_attr( $image_width );?>" href="<?php echo esc_url( $user_url );?>"></a>