Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Yoast Breadcrumbs

// Add Shortcode
function yoast_breadcrumbs_shortcode() {

	if ( function_exists('yoast_breadcrumb') ) {
	  $html = yoast_breadcrumb( '<div id="breadcrumbs" class="breadcrumbs">','</div>' );
	  
	  return $html;
	}

}
add_shortcode( 'yoast_breadcrumbs', 'yoast_breadcrumbs_shortcode' );