Our Voice theme currently support the breadcrumbs generated by Yoast SEO plugin. If you do not want use this plugin and you still want to have the breadcrumbs present, you can easily installĀ the Breadcrumb NavXT plugin, see here: https://wordpress.org/plugins/breadcrumb-navxt/
After you install the plugin, the breadcrumbs can be easily added by altering couple of theme files. For example you could open up the page.php, single.php, category.php and files located in the theme root folder and start editing them.
Find the part of the PHP code related to the Yoast breadcrumbs, its usually located at the page top and it looks like this.
1 2 3 | <?php if ( function_exists('yoast_breadcrumb') ) : ?> <?php yoast_breadcrumb('<div id="mks-breadcrumbs" class="container mks-bredcrumbs-container"><p id="breadcrumbs">','</p></div>'); ?> <?php endif; ?> |
Then just add this PHP code right after it.
1 2 3 4 | <?php if ( function_exists('bcn_display')): ?> <?php echo '<div id="mks-breadcrumbs" class="container mks-bredcrumbs-container">'; { bcn_display(); } ?> <?php endif; ?> |
This code should check if the plugin is installed and if it is, then the breadcrumbs will start appearing.