To add a breadcrumb menu to Shop Front, we’re going to use a plugin that most of you will be familiar with, WordPress SEO by Yoast. It’s a great plugin for SEO, but it also has built-in breadcrumb support.
Once you have the WordPress SEO plugin installed and activated, head over to the plugin’s internal links page at SEO → Internal Links and enable the checkbox labelled Enable Breadcrumbs (don’t forget to save the options page).
Finally, paste the code below into your child theme’s functions.php. This function simply hooks the breadcrumbs onto one of Shop Front’s action hooks. The breadcrumb menu will now be outputted to the start of the content area.