comment_author_url example

<?php comment_author( $comment ); ?></td> </tr> <?php if ( get_comment_author_email( $comment ) ) { ?> <tr> <th scope="row"><?php _e( 'Email' ); ?></th> <td><?php comment_author_email( $comment ); ?></td> </tr> <?php } ?> <?php if ( get_comment_author_url( $comment ) ) { ?> <tr> <th scope="row"><?php _e( 'URL' ); ?></th> <td><a href="<?php comment_author_url( $comment ); ?>"><?php comment_author_url( $comment ); ?></a></td> </tr> <?php } ?> <tr> <th scope="row"><?php /* translators: Column name or table row header. */ _e( 'In response to' ); ?></th> <td> <?php         $post_id = $comment->comment_post_ID;
        if ( current_user_can( 'edit_post', $post_id ) ) {
            $post_link  = "<a href='" . esc_url( get_edit_post_link( $post_id ) ) . "'>";
            $post_link .= esc_html( get_the_title( $post_id ) ) . '</a>';
        } else {
            
Home | Imprint | This part of the site doesn't use cookies.