WordPress.org

Ready to get started?Download WordPress

Forums

How can I UNlink my post title? (2 posts)

  1. rynsa
    Member
    Posted 7 years ago #

    Greetings,

    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.

    Sincerely,

    Ryn

  2. BPartch
    Member
    Posted 7 years ago #

    Hello

    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. :)

Topic Closed

This topic has been closed to new replies.

About this Topic