Support » Fixing WordPress » How can I UNlink my post title?
9 years, 10 months ago
I’m trying to unlink my post title. Has anyone had any experience with this particular issue? I assume it’s to be done somewhere in the single.php file. But I just can’t figure it out yet…
Thanks ahead of time for any advice you can offer.
If you want to unlink the post title on single post pages then yes you edit single.php if however you want to edit the front page you edit index.php if you want to do this on archive pages you edit single.php
Look for this line (or something like it):
<h1 title="<?php the_title(); ?>" id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h1>
Make it look like this:
<h1 id="post-<?php the_ID(); ?>"><?php the_title(); ?></h1>
Hope it helps. 🙂