Snippets: Add Breadcrumbs Under Header when Page Title is Disabled

// Add breadcrumbs under the site header if page header is disabled
add_action( 'wpex_hook_header_after', function() {
	if ( ! wpex_has_page_header() ) {
		wpex_display_breadcrumbs();
	}
} );

// Set the breadcrumbs position to custom when page header is disabled
add_filter( 'wpex_breadcrumbs_position', function( $position ) {
	if ( ! wpex_has_page_header() ) {
		$position = 'custom';
	}
	return $position;
} );
All PHP snippets should be added via a child theme's functions.php file.