How to display breadcrumbs on pages built by the page builder
By default, the breadcrumbs bar doesn't appear on the pages built by the page builders, to display it on those pages, add this code to your child theme’s functions.php
file or via a plugin that allows custom functions to be added, such as the Code snippets plugin. Avoid adding custom code directly to your parent theme’s functions.php
file, as this will be wiped entirely when you update the theme.
add_action( 'TieLabs/Builder/before', 'jannah_custom_builder_before' ); function jannah_custom_builder_before(){ echo '<div id="page-builder-breadcrumbs" class="container">'; tie_breadcrumbs(); echo '</div>'; }