Breadcrumbs in SEO Yoast plugin

Adding Yoast SEO breadcrumbs in WordPress.

Just add the below PHP code where you want to show breadcrumbs on your page.


<?php
if ( function_exists('yoast_breadcrumb') ) {
  yoast_breadcrumb( '<p id="breadcrumbs">','</p>' );
}
?>

You can use shortcode instead of PHP code.


[wpseo_breadcrumb]