<?php /** * Template part for displaying author information in single.php * * @since Gutener 1.0.0 */ ?> <div class="author-content-wrap"> <div class="author"> <a href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>"> <?php echo get_avatar( get_the_author_meta( 'ID' ), 100 ); ?> </a> </div> <div class="author-content <?php echo ( '' !== wpautop( get_the_author_meta( 'description' ) ) ? '' : esc_attr( 'no-author-text' )); ?>"> <h3 class="author-name"> <a href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>"> <?php echo get_the_author(); ?> </a> </h3> <?php if( '' !== wpautop( get_the_author_meta( 'description' ) ) ): ?> <div class="text"> <?php echo wp_kses_post( wpautop( get_the_author_meta( 'description' ) ) ); ?> </div> <?php endif; ?> </div> </div>
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
feature-posts | Folder | 0755 |
|
|
footer | Folder | 0755 |
|
|
header | Folder | 0755 |
|
|
highlight-posts | Folder | 0755 |
|
|
slider | Folder | 0755 |
|
|
content-author.php | File | 912 B | 0644 |
|
content-none.php | File | 1.27 KB | 0644 |
|
content-page.php | File | 1.04 KB | 0644 |
|
content-related-posts.php | File | 1.43 KB | 0644 |
|
content-search.php | File | 1.2 KB | 0644 |
|
content-single.php | File | 772 B | 0644 |
|
content.php | File | 6.23 KB | 0644 |
|
header-contact.php | File | 1.01 KB | 0644 |
|
offcanvas-menu.php | File | 1.92 KB | 0644 |
|
site-branding.php | File | 1.71 KB | 0644 |
|
site-info.php | File | 515 B | 0644 |
|