# betterdocs/4.9.3/views/template-parts/author-header.php

BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ &amp; Chatbot, version 4.9.3. 24 lines.

- Page: https://pluginprobe.com/plugins/betterdocs/4.9.3/code/views/template-parts/author-header.php
- Raw: https://pluginprobe.com/plugins/betterdocs/4.9.3/raw/views/template-parts/author-header.php
- Modified: 2026-06-23T11:52:12+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/betterdocs/4.9.3/code/views/template-parts/author-header.php#L10-L20`.

```php
<?php
    
if ( ! defined( 'ABSPATH' ) ) {
    exit;
}
if ( empty( $author_name ) || empty( $author_docs_count ) ) {
        return;
    }
?>

<div class="betterdocs-main-category-folder">
    <div class="betterdocs-category-header">
        <div class="betterdocs-category-header-inner">
            <div class="betterdocs-category-icon">
                <?php echo wp_kses_post( $avatar_tag ); ?>
            </div>
            <h2 class="betterdocs-category-title"><?php echo esc_html( $author_name ); ?></h2>
            <div data-count="2" class="betterdocs-sub-category-items-counts">
                <span><?php echo esc_html( $author_docs_count . ' ' . __( 'Docs', 'betterdocs' ) ); ?></span>
            </div>
        </div>
    </div>
</div>

```
