WordPress custom breadcrumbs without plugin

Breadcrumbs are the important part of our website, in wordpress there are several plugins are available for this, but below i posted the code for custom breadcrumbs for our wordpress site. Just add this below code in to your current wordpress theme functions.php and call the second step.

Step 1

Step 2

After adding the code into functions.php add the below code to where you want to use this function.

I'm a web developer / PHP programmer. I am also working on custom plugin development of wordpress.