Ich verstehe es immer noch nicht, daher hier der Thread.
Ich möchte die Kategorie 218 aus folgenden Code ausschliessen. Kann mir mal bitte jemand helfen ?
Danke
PHP
<div id="homebox">
<?php if ($aOptions['homebox-id'] != '') { query_posts('showposts=7&cat=' . $aOptions['homebox-id']); } ?>
<?php if(have_posts()) : the_post() ?>
<div id="boxmain">
<a href="<?php the_permalink() ?>" title="<?php the_title() ?>"><img src="<?php $key="thumbnail"; echo get_post_meta($post->ID, $key, true); ?>" alt="<?php the_title() ?>" /></a>
<h3><a href="<?php the_permalink() ?>" title="<?php the_title() ?>"><?php the_title() ?></a></h3>
<?php the_excerpt(); ?>
<span class="itemdets">
<strong>geschrieben am:</strong> <?php the_time('d. m. Y'); ?><br />
<strong>abgelegt unter:</strong> <?php the_category(', ') ?><br />
<strong>Kommentare:</strong> <a href="<?php the_permalink() ?>#comments" title="<?php the_title() ?>"><?php comments_number('leider nix vorhanden','1 Antwort','% Antworten'); ?></a>
</span>
</div>
Alles anzeigen