?>

<?php 
do_action('bp_docs_before_doc_header_content');
?>

<?php 
if (bp_docs_is_existing_doc()) {
    ?>

	<div id="bp-docs-single-doc-header">
		<?php 
    if (!bp_docs_is_theme_compat_active()) {
        ?>
			<h2 class="doc-title"><?php 
        bp_docs_the_breadcrumb();
        if (bp_docs_is_doc_trashed()) {
            ?>
 <span class="bp-docs-trashed-doc-notice" title="<?php 
            esc_html_e('This Doc is in the Trash', 'bp-docs');
            ?>
">Trash</span><?php 
        }
        ?>
</h2>
		<?php 
    }
    ?>

		<?php 
    do_action('bp_docs_single_doc_header_fields');
/**
 * Add breadcrumbs to Started and Edited screens.
 */
function bp_docs_user_breadcrumbs_in_doc_list()
{
    if (!bp_docs_is_started_by() && !bp_docs_is_edited_by()) {
        return;
    }
    ?>

	<div class="list-item-breadcrumb">
		<?php 
    bp_docs_the_breadcrumb(array('include_doc' => false, 'doc_id' => get_the_ID()));
    ?>
	</div><?php 
}