Multiple Author with link and image

You can use get_the_author_meta to retrieve the username for the author of the current post in the loop. You could then use that in the image URL. <?php _e(‘Posted by’); ?> <a href=”https://wordpress.stackexchange.com/questions/147891/<?php echo get_author_posts_url(get_the_author_meta(“ID’)); ?>” rel=”author”> <img src=”/wp-content/themes/mytheme/img/<?php echo esc_attr( get_the_author_meta( ‘user_login’ ) ); ?>.png” alt=”author” /> <?php the_author_meta(‘display_name’); ?> </a> You can also … Read more

How to add an inline word after post author commenter name?

Just wanted to mention some alternatives: Alternative #1 You say you don’t want to edit the comments.php file in the current theme directory. If we need to change how the wp_list_comments() works, we can always modify it through the wp_list_comments_args filter. For example to add our own callback: add_filter( ‘wp_list_comments_args’, function( $r ) { if( … Read more