Hi Marcus, thank you.
I found another CSS solution that may help not touching the source file.
/* Limit breacrumbs characters */
.entry-crumbs {
-o-text-overflow: ellipsis; /* […] Opera */
text-overflow: ellipsis; /* […] IE, Safari (WebKit) */
overflow: hidden; /* don’t show excess chars */
white-space: nowrap; /* force single line */
width: 600px; /* fixed width */
}
Anyone?
Emil, can I make this change using the child theme files?
Or should I do in the parent theme files?
Thank you.
Bump!
Bump!
BTW, the blog is multilingual and this solution and may not work for us.
How about the next theme update? Will it overwrite the file?
Hi, can I save and modify the td_module_blog.php inside the child?
Or should I tweak the parent?
Thank you,
Hi Lucian, thank you.
I did it for the loop-single.php and worked like this:
if ( 1 !== get_the_author_meta( ‘ID’ ) ) {
echo $td_mod_single->get_author_box();
}
Where should I add the same conditional to stop listing everywhere in the site like on archives.php, search.php etc?
Steven, it’s a multi blog with 65,000 authors and 40,000 pages.
This plugin unfortunately can’t handle it.
Thank you anyways.
Anyone has an idea how to start the hook for the conditional coding?
Yep, see above:
“I am looking for the conditional coding, because it is a multi author blog.”
Thank you!
Anyone could help me with the code?
Steven, let me clarify, I need to show ALL authors, but the admin.
Thank you,
Hi Steven,
We cannot turn off for a specific author. I am looking for the conditional coding, because it is a multi author blog.
Thank you anyways.
Emil, thank you.
I need to load the author avatar if there is no featured image for the post, and list it everywhere in the site. See what I have so far inside functions.php:
/* == Place the Avatar as Featured Image == */
add_filter( ‘get_image’, ‘my_avatar_image’ );
function my_avatar_image( $image ) {
return get_avatar( get_the_author_meta( ’email’ ) );
}”
What I am doing wrong?
Regards,
-
This reply was modified 12 years by
rbaccaro.