I'm using Drupal 7. When I post a comment to an article, its title looks like
<a class="permalink" rel="bookmark" href="/comment/9#comment-9">comment title</a>.
I need only the “comment title” to be displayed, without the link.
I found the code in the comment.tpl.php template where the title of the comment is printing.
<?php print render($title_prefix); ?> <h2<?php print $title_attributes; >><b><?php print $title></b></h2> <?php print render($title_suffix); ?>
As is said in the file description,
$title already contains the link, so I can’t change it!
$title: Linked title
Does anybody know if there is a way to print the comment's title without a link?