hallo leute ich bräuchte dringend eure hilfe..., und zwar versuche ich grade bei der ausgabe von artikeln eine bestimmte kategorie einfach nicht anzuzeigen. ich hab schon rausgefunden das ich dazu am besten das template bearbeite allerdings bekomm ich das mit dem php nicht so richtig hin...
hier mal ein kleiner ausschnitt aus der templet datei die ich verwende:
PHP
<?php if (have_posts()) : ?>
<?php if (is_category('Referenzprojekte')) : ?>
<?php while (have_posts()) : the_post(); ?>
<div <?php post_class(); ?> id="post-<?php the_ID(); ?>">
<br />
<h5 class="pageTitle"><?php the_title(); ?></h5>
<?
?>
<small><?php //the_time(__('F jS, Y', 'kubrick')) ?> <!-- by <?php the_author() ?> --></small>
<div class="entry">
<?php the_content(__('Read the rest of this entry »', 'kubrick')); ?>
</div>
<p class="postmetadata"><?php the_tags(__('Tags:', 'kubrick') . ' ', ', ', '<br />'); ?> <?php //printf(__('Posted in %s', 'kubrick'), //get_the_category_list(', ')); ?> <?php //edit_post_link(__('Edit', 'kubrick'), '', ' | '); ?> <?php //comments_popup_link(__('No Comments »', 'kubrick'), __('1 Comment »', 'kubrick'), __('% Comments »', 'kubrick'), '', __('Comments Closed', 'kubrick') ); ?></p>
</div>
<?php endwhile; ?>
<div class="navigation">
<div class="alignleft"><?php next_posts_link(__('« Older Entries', 'kubrick')) ?></div>
<div class="alignright"><?php previous_posts_link(__('Newer Entries »', 'kubrick')) ?></div>
</div>
<?php else : ?>
<h5 class="center"><?php _e('Not Found', 'kubrick'); ?></h5>
<p class="center"><?php _e('Sorry, but you are looking for something that isn’t here.', 'kubrick'); ?></p>
<?php get_search_form(); ?>
<?php endif; ?>
<?php endif; ?>
Alles anzeigen
bitte bin dankbar für jede hilfe bin schon total verzweifelt...
MFG Michael...