Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author itthinx

    (@itthinx)

    Many thanks Ursula ??

    Regarding the author link, currently there is no option to change it in the plugin. You could add the following filter:

    add_filter( 'get_comment_author_url', 'my_get_comment_author_url' );
    
    function my_get_comment_author_url( $url ) {
        return null;
    }

    but that will act everywhere, so it might not be the ideal …

    I like this plugin too, but this would be a nice option to have in the future!

    One minor issue with the current implementation though — if the user has no URL set, the href attribute ends up blank, so the avatar is treated as a link to the same page you are on. Can you make it skip the “a” and “/a” tags when the URL is blank, so that the avatar still appears but is not a link?

    Plugin Author itthinx

    (@itthinx)

    Done ??

    Great, thanks!

    Thread Starter ursula-s

    (@ursula-s)

    Thank you so much – it’s great!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Comment authors name without link’ is closed to new replies.