Adding author box to content

Hi there!
Is it possible to add the author box to the blog post content itself? Like this screenshot:

Hi @suzannereid,

Thank you for reaching out to us. You can add the author box to each of your posts by adding the following code in your child theme’s functions.php file:

// Author Bio below the post content - Single page only.
// =============================================================================

add_action( "x_after_the_content_end", "add_post_shortcode" );

function add_post_shortcode() {
    if( is_singular( 'post' ) ){
        echo do_shortcode('[author title="About the Author"]');
    }
}
// =============================================================================

To learn more about author shortcode, please visit http://demo.theme.co/integrity-1/shortcodes/author/

Hope this helps!

Thanks, but I actually would like the author box to be inside the content itself. so the content wraps around it. Like in my screenshot. Do I accomplish this by editing theme files?

UPDATE: I actually went ahead and edited _content-the-content.php file in the child theme and got it to work

ok so I edited the ‘_content-the-content.php’ page so that my author shows on the post. See https://distillerycreative.com/target-audience-focused-web-design/. How would I best go about making the author name link and show the social media icons without the text?

  <?php

// =============================================================================
// VIEWS/GLOBAL/_CONTENT-THE-CONTENT.PHP
// -----------------------------------------------------------------------------
// Display of the_content() for various entries.
// =============================================================================

?>

<?php do_action( 'x_before_the_content_begin' ); ?>

<div class="entry-content content">

<?php do_action( 'x_after_the_content_begin' ); ?>
<?php echo do_shortcode('[author title="About the Author"]'); ?>
  <?php the_content(); ?>
  <?php x_link_pages(); ?>

<?php do_action( 'x_before_the_content_end' ); ?>

</div>

<?php do_action( 'x_after_the_content_end' ); ?>

Hi @suzannereid,

Regretfully, this particular customization request is outside the scope of our support as this is not related to an issue with the theme and instead has to do with your customization of it. You might want to use a plugin to display your author box as you like.

https://wordpress.org/plugins/search/Post+Author/

Thank you for your understanding.

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