Showing just one category WITHOUT using the cat-ID
-
Hello,
I just want to create a php file which includes the following code:
<?php while (have_posts()) : the_post(); ?> <h3 id="post-<?php the_ID(); ?>"> <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a> </h3> <?php endwhile; ?>
But I just want to show the content of one of my categories (Category 13). The term
<h3 id="post-13; ?>">
does not work. What do i have to change that just the entries of this category are shown? Is this possible?Thanks,
Karin
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Showing just one category WITHOUT using the cat-ID’ is closed to new replies.