Einzelnen Beitrag anzeigen
Alt 19.11.2006, 12:38   #1 (permalink)
F.LM
PostRank: 4
 
Registriert seit: 24.07.2005
Beiträge: 192
Eine Kategorie auf der Startseite ausblenden

Hallo,

ich suche eine Modifikation, mit der ich eine Kategorie (ID=7) auf der Startseite ausblenden kann. Mein template sieht derzeit so aus:

Code:
<div id="content">

<?php if (have_posts()) : ?>
		
	<?php while (have_posts()) : the_post(); ?>
			
		<div class="post" id="post-<?php the_ID(); ?>">

   <p class="info"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/document.gif" alt="" /> <?php the_time('j. F Y, H:i \U\h\r') ?>, Autor: <?php the_author_posts_link(); ?>, in: <?php the_category(', ') ?></p><h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
   <div class="entry">
	 <?php the_content('[weiter]'); ?>
   </div>
   <p class="info"><?php edit_post_link('Edit','','<strong>|</strong>'); ?>  <img src="<?php bloginfo('stylesheet_directory'); ?>/images/comments.gif" alt="" /> <?php comments_popup_link('kommentieren &raquo;', '1 Kommentar &raquo;', '% Kommentare &raquo;'); ?></p>
</div>

	<?php comments_template(); ?>
	<?php endwhile; ?>

		<p align="center"><?php next_posts_link('&laquo; Previous Entries') ?>   <?php previous_posts_link('Next Entries &raquo;') ?></p>

	<?php else : ?>
		<h3 align="center">Not Found</h3>
		<p align="center">Sorry, but you are looking for something that isn't here.</p>
	<?php endif; ?>
		</div>

<!-- end content-->
Kann mir da jemand eine IF-Anweisung o.ä. einbauen, damit Kategorie "7" dort nicht mit angezzeigt wird?

Ich hab mit der Suche "Kategorie ausblenden" leider keine passende Antwort auf mein Problem finden können.
F.LM ist offline   Mit Zitat antworten