Tagged: 

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #802270

    Good evening,

    My client wants to display the author bio on the bottom of all the individual blog posts. Right now, it has name and date at top, but we want to add author bio on the bottom. Is that possible?

    Site is http://trustytails.staging.wpengine.com/pet-learning-center/blog (hosted on WPengine)

    Thanks!

    #802328

    Hey jgraddy,

    Thank you for using Enfold.

    You can edit single.php, find this code:

      get_template_part( 'includes/loop', 'index' );
    

    Add this below:

    if(is_single()) get_template_part( 'includes/loop', 'about-author' );
    

    Best regards,
    John Torvik

    #802543

    Thanks so much, awesome support as always!
    Ok, I have another question about the blogs. If the advanced editor (Avia builder) is used to create the blog, it does not show author at the bottom nor does it show the date or author at the top. You can see what I mean on http://trustytails.staging.wpengine.com/dog-grooming/hoboken-dog-groomer/ (hosted on WPengine)

    If I don’t use the advanced editor (Avia builder), it shows all that stuff like on http://trustytails.staging.wpengine.com/hiring-a-pet-sitter/professional-pet-sitter/

    Thoughts? Just asking because I know my client will ask. :)

    #802732

    Hi jgraddy,

    You have to add those things manually when you are making posts via Advanced Layout Builder.

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #954459

    Hello Support,
    I successfully added the authors bio at the end of the post with the snippet above. Works great.
    The only thing that bothers me:
    – On the authors page the text in the right side is aligned correctly: https://www.videospielgeschichten.de/author/yannic-hertel/
    – On the blog post (bottom) it’s not. The texts floats around the avatar: https://www.videospielgeschichten.de/mea-culpa-kingdom-come-deliverance/
    How can I correct this?
    Kind regards
    Andre

    #955006

    Hi Andre,

    Please try the following in Quick CSS under Enfold->General Styling:

    @media only screen and (min-width: 768px) {
    .single .author_description_text p {
        margin-left: 130px;
    }
    }

    Best regards,
    Rikard

    #955131

    Thanks for your support Rikard, now it’s perfect!

    I added a little extra space on the right side (50 Pixel), so that the text is not running against the border. Now both views (Author page und post) are equal and looking great.

    https://www.videospielgeschichten.de/mea-culpa-kingdom-come-deliverance/

    @media only screen and (min-width: 768px) {
    .single .author_description_text p {
        margin-left: 130px;
        margin-right: 50px;
    }
    }

    Would it be possible to link the authors name to the authors page?

    #955481

    Hi,

    You would need to edit the element to make it link to the author page.
    Unfortunately, there is not an easier way at all.

    Best regards,
    Basilis

    #955627

    Hi Basilis,

    You would need to edit the element to make it link to the author page.

    How can I do this?
    Kind regards
    Andre

    #956941

    Hi,

    Replace the whole includes > loop-about-author.php file with this code.

    // https://pastebin.com/FVjw0ZVZ

    We just added this line inside the file.

    $author_link = get_author_posts_url($post->post_author);
    	$link = is_single() ? "<a href='{$author_link}' class='post-author-format-type'>{$heading}</a>" : $heading;
    

    Best regards,
    Ismael

    #957170

    Hi Ismael,
    it’s working!
    Thank you so much.
    This should maybe be the standard in Enfold as many people would have a shortcut to the authors page.
    Andre

    #958418

    Hi,

    Yeah, I agree. It looks good. However, I’m not sure if this is going to be included by default.

    Glad we could help! We’ll close this thread now. :)

    Best regards,
    Ismael

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.