SEO caused PHP category LOOP Query to stop working i.e. $query_string . '&cat=*
-
I integrated wordpress into my website by using pho framework to list all articles within a set category
<?php query_posts($query_string . '&cat=3'); ?>
the whole code was
<?php query_posts($query_string . '&cat=3'); ?> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <div class="post"> <!-- Display the Title as a link to the Post's permalink. --> <h4><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h4> <!-- Display the date (November 16th, 2009 format) and a link to other posts by this posts author. --> <small>Posted <?php the_time('F jS, Y') ?> by <?php the_author_posts_link() ?></small> <div class="entry"> <?php the_content(); ?> </div> <hr></hr> <p></p> </div> <!-- closes the first div box --> <?php endwhile; else: ?> <p>Sorry, no posts matched your criteria.</p> <?php endif; ?>
this no longer works, I have tried replace the number with the catagory name used by the SEO but that does not work either.
Please help
THanks
Damien
- The topic ‘SEO caused PHP category LOOP Query to stop working i.e. $query_string . '&cat=*’ is closed to new replies.