Link to comment without showing post title
-
Hi,
I saw an earlier post about this, which was closed. I have a solution that works for me, and just thought I would share.
I edited lines 399 to 403 in class-decent-comments-renderer.php with the following:
if ( $show_comment ) { $output .= '<span class="comment-link">'; $output .= sprintf( _x( ' %s', 'comment-link', DC_PLUGIN_DOMAIN ), '<a href="' . esc_url( get_comment_link( $comment->comment_ID ) ) . '">' ); $output .= self::get_comment( $comment, array( "ellipsis" => $ellipsis, "excerpt" => $excerpt, "max_excerpt_words" => $max_excerpt_words, "max_excerpt_characters" => $max_excerpt_characters ) ); $output .= '</a>'; // .comment-link $output .= '</span>'; // .comment-body or .comment-excerpt }
- The topic ‘Link to comment without showing post title’ is closed to new replies.