Wordpress - Remove hyperlink from post title
It should be something like this:
<h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
Once you find the line you will need to remove the parts that make the title an active link, which include the <a href="<?php the_permalink() ?>"> and </a> tags. The final line should look like this:
<h2><?php the_title(); ?></h2>