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,16 +10,18 @@
$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>
<a href="<?php echo get_author_posts_url($post->post_author); ?>" class="st-article-page__author-link"> <div style="max-width: fit-content">
<div class="st-article__author-box"> <a href="<?php echo get_author_posts_url($post->post_author); ?>" class="st-article-page__author-link">
<div class="st-article__author-name"> <div class="st-article__author-box">
<?php the_author() ?> <div class="st-article__author-name">
<?php the_author() ?>
</div>
<div>
<?php the_date() ?>
</div>
</div> </div>
<div> </a>
<?php the_date() ?> </div>
</div>
</div>
</a>
<?php the_content(); ?> <?php the_content(); ?>
<?php <?php
$tags = get_the_tags(); $tags = get_the_tags();