Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Phone Button

// Add Shortcode
function phone_button( $atts ) {

	// Attributes
	$atts = shortcode_atts(
		array(
			'number' => '111-111-1111',
		),
		$atts
	);

	// return HTML
	return '<a class="phone-button" href="tel:' . $atts['number'] . '">' . $atts['number'] . '</a>';

}
add_shortcode( 'phone', 'phone_button' );