Support » Themes and Templates » Removing Permalink on blog title on single post only

  • I’d like to remove the link that is encapsulating the blog post title on a single blog post page, but when viewing multiple posts (a list) I’d like to have them there. From what I can tell, these are handled by the same line of code:

    <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>

    Such that if I remove the link tag it removes it in both locations. Thanks for the help!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Removing Permalink on blog title on single post only’ is closed to new replies.