Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
baztanet
tagDiv Member

Hi,

Found the solution, I have to changed this code is td_module.php.

function get_author() {
$buffy = '';

if ($this->is_review === false or td_util::get_option('tds_m_show_review') == 'hide') {
if (td_util::get_option('tds_m_show_author_name') != 'hide') {
$author_alias = get_post_meta($this->post->ID, 'author_alias', true);
$author_name = !empty($author_alias)? $author_alias : get_the_author_meta('display_name', $this->post->post_author);

$buffy .= '<span class="td-post-author-name">';
$buffy .= 'post->post_author) . '">' . $author_name . '' ;
if (td_util::get_option('tds_m_show_author_name') != 'hide' and td_util::get_option('tds_m_show_date') != 'hide') {
$buffy .= ' <span>-</span> ';
}
$buffy .= '</span>';
}

}
return $buffy;

}

td_module.php file is ignored in Child Theme? If I make there the change nothing changes.
Any option to keep this modification and not lost it in the next update?

Thanks

baztanet
tagDiv Member

Hi,

I know how I have to enable the option to display author name. As you said in module 6 is deactivated by default.

The problem is that I’m not able to display the alias. I changed code in td_module.php but I get always the same name. How can I get the Author Alias of the Post?

This is a must for my client so I’ll be very gratefull if you can provide me as much informacion as you can.

Thanks!

baztanet
tagDiv Member

I found in td_module_6.php and other modules Author name is disabled.
I enabled and now it’s showing the Author name, but not the Author Alias.
What I have to change to display Author Alias in this kind of blocks? You can check http://www.nabarralde.eus to realize the author name in the preview and inside the article it’s not the same.
Thanks,

baztanet
tagDiv Member

Thanks, I changed the file in the Child theme and I fix the problem.

I have another question related to this one… How can I display Author name in all article preview in block.
For example in Block 4 there is a related article where it’s display Author name and Date but in the right column there are more articles that only shows the Date.
I checked Theme Panel and activated Author name, but nothing changes.
I want the author name in all kind of Blocks.

baztanet
tagDiv Member

Hi Simon,

You can see the issue here http://nabarralde.eus/sobre-urnas-y-orinales/ or in other post.

Thanks,

baztanet
tagDiv Member

Hi,

Sorry about my comment if it’s not appropiate here, but I have the same problem, so maybe it’s a general Bug you have to fix.
Did you find a solution?

Thanks

baztanet
tagDiv Member

Hi,

I don’t have any custom CSS or any plugin installed.
The webpage it’s located in http://nabarralde.eus/.
Can I write here WordPress background access? Or do I need to write the password in a specific way?

Thanks,

Viewing 7 posts - 1 through 7 (of 7 total)