Dear Customers! We're out of the office from the 6th of October to the 11th of October. We sincerely apologize for the inconvenience. For WordPress 5.5.* related issues, please visit this article.
<?php
// If a user has filled out their description, show a bio on their entries.
// Added 25.05.2018
// Source: https://code.tutsplus.com/articles/how-to-create-a-wordpress-authors-page-template--wp-23573
if ( get_the_author_meta( 'description' ) ) : ?>
<div id="author-info">
<div id="author-description">
<h3><?php printf( __( '%s', 'engage' ), get_the_author() ); ?--></h3>
<!--?php the_author_meta( 'description' ); ?-->
</div><!-- #author-description -->
<hr style="margin-top:50px;margin-bottom:50px;">
</div><!-- #entry-author-info -->
<!--?php endif; ?-->
Hello Support,
Engage puts a beautiful Author bio under each post.
How can i include this author bio on top of the authors archive site?
Example site: https://www.videospielgeschichten.de/police-quest-streng-nach-vorschrift/
Kind regards
Andre
Hi VSG_DE,
You would need to add your own custom code to correct file.
Which part did you want to add the bio to? Let me know and I'll point out which file to add your custom code to
Kind regards,
Joanna
Veented Support
Find a helpful article for your theme here: https://veented.ticksy.com/articles/#article-categories
Check out our latest article: How to Improve Page Loading Times
Don't forget to hit the like button below if you are happy with your support answer :)
The perfect place would be between the header and the list of posts from the author.
I made a red line in the image attached.
The page should display exactly the same author bio like the one at the end of each post.
Kind regards
Andre
Hi VSG_DE,
You would need to edit the archive.php, after line 29 where it says:
I would then write a function where it if was a author archive list, display that person's bio there
We offer a custom work service if you are unable to code this:
Theme Customization
Kind regards,
Joanna
Veented Support
Find a helpful article for your theme here: https://veented.ticksy.com/articles/#article-categories
Check out our latest article: How to Improve Page Loading Times
Don't forget to hit the like button below if you are happy with your support answer :)
Could this be something for the wishlist?
Almost any other theme puts the author bio on top of the authors archive.
Kind regards
Andre
I think I got this one.
This code goes into archive.php after line 29:
The result can be seen here: https://www.videospielgeschichten.de/author/yannic-hertel/
I'll add the avatar probably later.
Kind regards
andre
Hi VSG_DE,
That's the one! Good job
Kind regards,
Joanna
Veented Support
Find a helpful article for your theme here: https://veented.ticksy.com/articles/#article-categories
Check out our latest article: How to Improve Page Loading Times
Don't forget to hit the like button below if you are happy with your support answer :)
Thanks! I also implemented an title and description section in archive.php for categories as well. Works like charm ;)
See: https://www.videospielgeschichten.de/category/spielebranche/
This thing might go into dev enhancements for the theme maybe.
Hi VSG_DE,
Nice!
Kind regards,
Joanna
Veented Support
Find a helpful article for your theme here: https://veented.ticksy.com/articles/#article-categories
Check out our latest article: How to Improve Page Loading Times
Don't forget to hit the like button below if you are happy with your support answer :)
Thank you ;) This issue can be closed then.