• Hey Guys! Can someone please tell me why this code below does not link to the individual posts in this category please?

    <?php
    query_posts(‘cat=1138’);
    while (have_posts()) : the_post();
    the_title(‘“>’,’‘);
    if ( has_post_thumbnail() ) {
    the_post_thumbnail(‘thumbnail’);
    }
    if ( 0 == $count%1 ) {
    echo ‘<hr />’;
    }
    endwhile;
    ?>

    I also tried this code:

    <?php
    query_posts(‘cat=1138’);
    while (have_posts()) : the_post();
    the_title(‘” title=”<?php the_title_attribute(); ?>”><?php the_title(); ?>’,’‘);
    if ( has_post_thumbnail() ) {
    the_post_thumbnail(‘thumbnail’);
    }
    if ( 0 == $count%1 ) {
    echo ‘<hr />’;
    }
    endwhile;
    ?>

    But all i get is a redirect to the same page I am on with”/?php%20the_permalink();%20?>” on the end?

    Would really appreciate the support! ??

  • The topic ‘Page titles wont link to individual posts?’ is closed to new replies.