Site icon Catch Themes

yoast breadcrumbs

Hi Sakin, I have the Yoast SEO plugin installed and would like to use their breadcrumbs. I've read on the forum the code that I need for this, but it was for the Adventurous theme. I've tried to edit it for Kathmandu Pro, but can't make it work. This i the code I added to the child theme functions.php:
function kathmandu_breadcrumb_display() {
	if ( function_exists('yoast_breadcrumb') ) {
		yoast_breadcrumb('<div class="breadcrumb container">','</div>');
	} 
}
Could you please help me out?
Exit mobile version