I have these lines in my single.php document.
<h2><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
I tried removing the
<a> tags and the permalink section so it looked like this:
<h2><?php the_title(); ?></h2>
but my page still shows it as a hyperlink. How can this be? Yes I have saved the changes and I’ve tried multiple times with slightly different variations of
<h2><?php the_title(); ?></h2> but to no avail.
Does anyone know if there is something overriding the changes I’m making, or if I’m just doing it wrong? Thanks.