My site will not split categories
-
Hello,
For some reason the following code shows all the latest categories instead of the one asked for. As you cna see below the name of the category is OnTheShow and the ID is 3. But another category named BillBlog and id 5 is showing up in there as well.
Can anyone tell me why??
Thanks in advance
George<?php if (have_posts()) : ?> <h3 class="liveblog_heading"><a href="/category/OnTheShow/">ON THE SHOW</a></h3> <?php //query_posts('category_name=OnTheShow&showposts=1'); query_posts('category_id=3&showposts=1')?> <?php while (have_posts()) : the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> <h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3> <p><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></p> <?php the_content('Read the rest of this entry »'); ?> <p><?php the_tags('Tags: ', ', ', '<br />'); ?> <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p> </div> <?php endwhile; ?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘My site will not split categories’ is closed to new replies.