PHP code/hook to add to author.php page
-
I love the fancier Author box. I want it to show up on the Author page if possible (I created this page using these instructions: https://divibooster.com/customizing-divi-author-pages/).
The code to include WordPress’s author bio page looks like this:
`<div id=”author-info”>
<div id=”author-img”><?php echo get_avatar(get_the_author_meta(’email’), 90); ?></div>
<h2 id=”author-name”><?php esc_html_e(get_the_author_meta(‘display_name’));?></h2>
<p id=”author-desc”><?php esc_html_e(get_the_author_meta(‘user_description’)); ?></p>
<p id=”author-url”><a href=”<?php esc_attr_e(get_the_author_meta(‘user_url’)); ?>”>Website</a></p>
</div>
`What PHP code will trigger showing the Fancier Author box?
The page I need help with: [log in to see the link]
- The topic ‘PHP code/hook to add to author.php page’ is closed to new replies.