Authors Box Doesn't Show Bio

Posted in: Newspaper
Post count: 13

I want to create a separate page with Authors Boxes in them but the Authors Box doesn’t show the bio or the social links. How can I change this?

In other words, I want the Authors Box to look the exact same as it does at the bottom of a post.

Thanks!

Chris

Post count: 3343

Hello,
We have this on our todo list for the following updates, to make the author box(from posts) as a widget.

Thanks for the message!

Post count: 13

Any time line when this feature will get added? It would look really nice on my Author’s page if the info was with the image. Thanks!

Post count: 3343

Hi,
We will try to make it in the next update, this week.

Thanks!

Post count: 1

This is a feature I have been looking for diligently. Are you still on track for the update this week?

Thanks for all your help!

Post count: 3343

Hi,
Is still on track. Until that you can change like here:
Add this code in td_authors.php here: http://screencast.com/t/XfDOSGxu

$buffy .= '<div class="vcard author"><span class="fn">';
$buffy .=  td_util::excerpt(get_the_author_meta('description', $td_author->ID), 200);
$buffy .= '</span></div>';

$buffy .= '<div class="td-author-social">';
foreach (td_social_icons::$td_social_icons_array as $td_social_id => $td_social_name) {
    //echo get_the_author_meta($td_social_id) . '<br>';
    $authorMeta = get_the_author_meta($td_social_id);
    if (!empty($authorMeta)) {

        //the theme can use the twitter id instead of the full url. This avoids problems with yoast plugin
        if ($td_social_id == 'twitter') {
            if(filter_var($authorMeta, FILTER_VALIDATE_URL)){

            } else {
                $authorMeta = str_replace('@', '', $authorMeta);
                $authorMeta = 'http://twitter.com/' . $authorMeta;
            }
        }
        $buffy .= td_social_icons::get_icon($authorMeta, $td_social_id, 4, 16);
    }
}
$buffy .= '</div>';

Then add this CSS in Theme panel -> Custom CSS

.td_top_authors img {
    height: 100px !important;
    max-width: 100px !important;
    width: 100px !important;
}
.td_top_authors .item-details {
    margin-left: 122px !important;
}
.td_top_authors .item-details {
    height: auto !important;
}
div.vcard .fn {
    color: #444444 !important;
}
.td_top_authors .td_mod_wrap {
    min-height: 100px;
}
.td_top_authors .author .fn {
    font-family: 'PT Sans',sans-serif;
    font-size: 14px;
    font-style: normal;
    line-height: 21px;
    margin: 5px 10px 10px 0px;
    padding: 0px;
    display: inline-block;
}
.td_top_authors .item-details .td-social-icon-wrap,
.td_top_authors .item-details .td-social-icon-wrap span {
   padding: 0px;
}
.td_top_authors .item-details .td-social-icon-wrap {
   margin: 0px;
}

Thanks!

Post count: 45

Hi,

I tried to update the td_authors.php in the child theme, but it is not working.

The only way it works is if I edit the file directly in the parent theme. Is there a way to fix this? I don’t like editing the original files.

Cheers!

Post count: 9544

Some elements in child them won’t over-ride certain custom modules, so to “hack” a new feature into an existing module (not a page template), it requires hacking the parent, unfortunately.

Post count: 6600

Hi,

Thanks @Christopher!

@SnakeEater

Unfortunately you can’t modify the td_authors.php file using the child theme, you will need to modify the parent theme, you can find here the files that can be changed via child theme: https://forum.tagdiv.com/child-theme-documentation/

Thanks

Post count: 1

I got it working but would like to customize look also I want their social icons on this page. Right now social signals not showing on authors list page (they show on individual author’s page).

For example instead of list we can have box structure like 2-3 in a row… it will look better then default list.

  • This reply was modified 11 years by bizroot.
Viewing 10 posts - 1 through 10 (of 10 total)
The forum ‘Newspaper’ is closed to new topics and replies.