Support » Fixing WordPress » Post/Page Title Links

  • Resolved columbo

    (@columbo)


    Hi,

    Can anyone tell me how to have post and page titles link to the individual post/page?

    For example, if i have a page titled ‘page 1’, how do i have the title be a link when i am on that page?

    A wordpress theme, Precious by Kristin K. Wangen, has this feature and i’d like mine to be like it.

    I don’t have a site to show but if someone could help with the info i’ve provided i’d be grateful.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Code from the TwentyTen theme:

    <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>

    ah, didn’t realize TwentyTen was like that as well.
    Many thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Post/Page Title Links’ is closed to new replies.