Wrapped author link in containing div

This commit is contained in:
carly 2025-01-17 13:27:51 -07:00
parent 80a680cf96
commit a2a7dbe169

View File

@ -10,6 +10,7 @@
$post_id = get_the_ID(); $post_id = get_the_ID();
?> ?>
<h1 class="st-article__title"> <?php the_title(); ?> </h1> <h1 class="st-article__title"> <?php the_title(); ?> </h1>
<div style="max-width: fit-content">
<a href="<?php echo get_author_posts_url($post->post_author); ?>" class="st-article-page__author-link"> <a href="<?php echo get_author_posts_url($post->post_author); ?>" class="st-article-page__author-link">
<div class="st-article__author-box"> <div class="st-article__author-box">
<div class="st-article__author-name"> <div class="st-article__author-name">
@ -20,6 +21,7 @@
</div> </div>
</div> </div>
</a> </a>
</div>
<?php the_content(); ?> <?php the_content(); ?>
<?php <?php
$tags = get_the_tags(); $tags = get_the_tags();