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 :)
rbaccaro
tagDiv Member

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 */
}

rbaccaro
tagDiv Member

Anyone?

rbaccaro
tagDiv Member

Emil, can I make this change using the child theme files?

Or should I do in the parent theme files?

Thank you.

rbaccaro
tagDiv Member

Bump!

rbaccaro
tagDiv Member

Bump!

rbaccaro
tagDiv Member

BTW, the blog is multilingual and this solution and may not work for us.

rbaccaro
tagDiv Member

How about the next theme update? Will it overwrite the file?

rbaccaro
tagDiv Member

Hi, can I save and modify the td_module_blog.php inside the child?

Or should I tweak the parent?

Thank you,

rbaccaro
tagDiv Member

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?

rbaccaro
tagDiv Member

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?

rbaccaro
tagDiv Member

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?

rbaccaro
tagDiv Member

Steven, let me clarify, I need to show ALL authors, but the admin.

Thank you,

rbaccaro
tagDiv Member

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.

rbaccaro
tagDiv Member

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.
Viewing 14 posts - 26 through 39 (of 39 total)