Viewing 13 replies - 1 through 13 (of 13 total)
  • Take an example from the WordPress Default Kubrick theme and use something like this:

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

    Related:
    Stepping Into Templates
    Template Tags

    Thread Starter san

    (@sandesh)

    Hmm,
    How do i do it then? is it possible that you make it more simple please?

    Try changing to the WordPress Default theme.

    If you continue this thread, please report a link to download the theme you are using.

    Thread Starter san

    (@sandesh)

    I want to make this happen while using this theme.
    If u can find any solution here is the link:
    http://www.rockettheme.com/wordpress-themes/afterburner

    Afterburner is a Theme distributed by RocketTheme, a commercial Theme development shop, and whose support offerings you should consult for support specific to this Theme.

    But for the general answer, @michaelh already answered the question. You need to find the appropriate Theme template file that outputs the Post Title, and make the modification that MichaelH suggested.

    Thread Starter san

    (@sandesh)

    🙁 so sad

    Okay, in that theme’s index.php change this:

    <h1><?php the_title(); ?></h1>

    to

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

    Marking this resolved.

    Thread Starter san

    (@sandesh)

    I changed the line. Still the same, didn’t work.:(
    check out http://sandeshmalla.com.np/blog/

    Oops sorry, that was the showcase post.

    Later in that file I changed

    <h2 class="contentheading"><?php the_title(); ?></h2>

    to

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

    But by now you are seeing what it takes to make a title be a link, so if there are other places in that theme where the title is not linkable you have the basis to change it.

    Please review the following articles:
    Stepping Into Templates
    Template Tags
    Template Hierarchy

    Thread Starter san

    (@sandesh)

    I don see this working too.
    still the title is not linked to any

    Sorry it doesn’t work for you…works for me.

    Please consider taking Chip’s advice and asking at the theme’s forum as they will have more insight into their theme.

    Thread Starter san

    (@sandesh)

    Did it work for you in the same theme?

    Thread Starter san

    (@sandesh)

    Its very disappointing not being able to resolve

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘How to make my post titles linked to its pages’ is closed to new replies.