Tried removing that code, it didn’t display the categories for posts or pages… and I want it to show the categories for posts. Here is my index.php:
<?php
if (!$_SERVER['QUERY_STRING']) {
$shwSpr = 1;
}
get_header();
?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post">
<div class="data">
<?php the_time('F jS, Y') ?>
</div>
<h3 class="storytitle" id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>">
<?php the_title(); ?>
</a></h3>
<div class="autor">Posted by
<?php the_author() ?>
in
<?php the_category(', ') ?>
<?php if( !is_page() ) the_category(); ?>
[Moderated: snip]