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!
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!
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!
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
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.