Author box for ETHOS stack and PRO

Hi,
I would like exactly this type of author box described here (https://theme.co/apex/forums/topic/how-to-display-the-author-with-photo-in-blog-posts/#post-758349)
Full Name, photo and bio.

I would need the code for X ETHOS and for PRO.

Thank you,
Matt

Hi Mex,

Thanks for writing in!

The same code will work for Ethos and Pro. Please try and let us know if that helps!

Thanks

Thanks, I am going to test it.
All the best,
M

Hey M,

You can also use author element or the shortcode in your posts to show the author box, please see http://demo.theme.co/ethos-1/shortcodes/author/

To add it automatically in the posts then add the following code in your child theme’s functions.php file:

function show_author_box_in_posts() {
		if ( is_single() ) {
  			echo do_shortcode('[author title="About the Author"]');
		}
}
add_action('x_before_the_content_end', 'show_author_box_in_posts');

Hope this helps!

Thank you,
even better :slightly_smiling_face:
All the very best,
M

On behalf of my colleaague, you’re welcome. Cheers! :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.