How to Display a List of Tags on a Page in WordPress

function mc_tag_list()
{
	$terms = get_terms( array(
    'taxonomy' => 'post_tag',
    'hide_empty' => false,
) );
	

	if($terms)
	{		
		$return = '';
		foreach($terms as $key => $term) 
		{
			$link = get_term_link($term);			
			
			$return .= '<div class="grid-100 tablet-grid-100 mobile-grid-100">';			
			$return .=	'<a href="' . esc_url($url) .'" title="' . esc_attr($title) . '"></a>';
			$return .=  '<a href="' . $link . '">' . $term->name . '</a>';
			$return .=  '</div>';
		} 		
	}  

	return $return; 

}
add_shortcode('mc-tags', 'mc_tag_list');