Bump to 1.4.0, made some fixes for 8.2+

This commit is contained in:
2025-05-11 16:58:27 -07:00
parent 75cbf48af8
commit 5fd30040a4
14 changed files with 428 additions and 439 deletions

View File

@ -14,30 +14,32 @@ $author_url = get_the_author_meta( 'user_url' );
?>
<div class="mt-author-box">
<?php if ( $author_avatar ) { ?>
<?php if ( $author_avatar ) : ?>
<div itemprop="image" class="mt-author__avatar">
<?php echo wp_kses_post( $author_avatar ); ?>
</div>
<?php } ?>
<?php endif; ?>
<div class="mt-author-info">
<?php if ( $author_post_link ) { ?>
<h5 itemprop="name" class="mt-author-name"><?php echo wp_kses_post( $author_post_link ); ?></h5>
<?php } ?>
<?php if ( $author_post_link ) : ?>
<h5 itemprop="name" class="mt-author-name"><?php echo wp_kses_post( $author_post_link ); ?></h5>
<?php endif; ?>
<?php if ( $author_bio ) { ?>
<?php if ( $author_bio ) : ?>
<div class="mt-author-bio">
<?php echo wp_kses_post( $author_bio ); ?>
</div>
<?php } ?>
<?php endif; ?>
<div class="mt-author-meta">
<?php if ( $author_url ) { ?>
<?php if ( $author_url ) : ?>
<div class="mt-author-meta">
<div class="mt-author-website">
<span><?php esc_html_e( 'Website', 'sophia-after-dark' ); ?>&#58;</span>
<a href="<?php echo esc_url( $author_url ); ?>" target="_blank"><?php echo esc_url( $author_url ); ?></a>
<span><?php esc_html_e( 'Website', 'sophia-after-dark' ); ?>:</span>
<a href="<?php echo esc_url( $author_url ); ?>" target="_blank" rel="noopener noreferrer">
<?php echo esc_url( $author_url ); ?>
</a>
</div>
<?php } ?>
</div>
</div>
<?php endif; ?>
</div>
</div>