author link on article page
This commit is contained in:
parent
81d022f8e8
commit
1708916680
16
single.php
16
single.php
@ -10,14 +10,16 @@
|
||||
$post_id = get_the_ID();
|
||||
?>
|
||||
<h1 class="st-article__title"> <?php the_title(); ?> </h1>
|
||||
<div class="st-article__author-box">
|
||||
<div class="st-article__author-name">
|
||||
<?php the_author() ?>
|
||||
<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>
|
||||
<?php the_content(); ?>
|
||||
<?php
|
||||
if (function_exists('get_field')) {
|
||||
|
Loading…
Reference in New Issue
Block a user