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();
?>
<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 class="st-article__author-box">
<div class="st-article__author-name">
<?php the_author() ?>
<div style="max-width: fit-content">
<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-name">
<?php the_author() ?>
</div>
<div>
<?php the_date() ?>
</div>
</div>
<div>
<?php the_date() ?>
</div>
</div>
</a>
</a>
</div>
<?php the_content(); ?>
<?php
$tags = get_the_tags();