Viewing 1 post (of 1 total)
You must be logged in to reply to this topic.
Hi Ahmed,
this is a piece of code from single.php of theme (AVADA theme).
It is about “author box”.
1- How do I have change this code in order to link post’s user name, with his
userpro Profile, that show in “my Profile” page ?
2- How change code to add also the budges ?
etc….
<?php endif; ?>
<?php if($data[‘author_info’]): ?>
<div class=”about-author”>
<div class=”title”><h2><?php echo __(‘About the Author:’, ‘Avada’); ?>
<?php the_author_posts_link(); ?></h2><div class=”title-sep-container”><div class=”title-sep”></div></div></div>
<div class=”about-author-container”>
<div class=”avatar”>
<?php echo get_avatar(get_the_author_meta(’email’), ’72’); ?>
</div>
<div class=”description”>
<?php the_author_meta(“description”); ?>
</div>
</div>
</div>
<?php endif; ?>
Thanks
You must be logged in to reply to this topic.