How can I remove the link from the page title in my WordPress theme?
Here's the link to my test site and below is the code responsible for that:
<h1 class='post-title <?php echo $titleClass; ?>'> <a href="<?php echo get_permalink() ?>" rel="bookmark" title="<?php _e('Permanent Link:','avia_framework')?> <?php the_title(); ?>"><?php the_title(); ?></a> </h1>
When I removed
<a href=""> </a>, it removed the complete title and nothing is visible.
Edit: I want the title to remain on the page, but not linked to the post.