• Hi all,

    I am trying to get my blog’s post titles to be links…so when I click them it will just be the post on the page instead of the whole blog.

    How can I get my post title to be a permalink?

    I saw someone posted a similar question a year ago, and someone else suggested he edit his theme. I didn’t understand what to do and now that forum post is closed.

    Can anyone suggest what I can do? I’m not good at coding and in fact I’m not sure which WordPress version I’m using!!

    Thanks all.

Viewing 3 replies - 1 through 3 (of 3 total)
  • It will depend upon your theme but something like:

    <h2 class="post-title">><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title_attribute( array('before' => __('Permalink to '), 'after' => '') ); ?>"><?php the_title();?></a></h2>

    in your theme’s index.php template file should do the trick.

    Thread Starter Snax

    (@snax)

    Thanks…..but “something like” this will work?

    I don’t want to screw up my theme!

    Thread Starter Snax

    (@snax)

    Oh God…and I have to change permissions and all that. I don’t know what the hell I’m doing. I thought WordPress was supposed to make things easy!

    Looks like I gotta find someone who knows coding….

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Permalinking a Post title’ is closed to new replies.