<?php
get_header();
?>
<div id="content">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<!-- <?php the_date('','<h2>','</h2>'); ?> -->
<div class="post">
<h3 class="posttitle" id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h3>
<div class="meta">نێردراو لهلایهن <?php the_author() ?>....له كاتژمێر<?php the_time('H:i:s') ?>ڕێكهوتی<?php the_time('Y.m.d') ?><?php edit_post_link('دهستكاری بكه',' | ',''); ?></div>
<div class="postcontent">
<?php the_content(__('(درێژهی بابهتهكه.....)')); ?>
<?php wp_link_pages(); ?>
</div>
<div class="feedback">لههاوپۆلی <strong><?php if (! is_page()) { ?><?php the_category(',') ?><?php } ?></strong> |
<?php comments_popup_link(__('هیچ بۆچوونێك نییه'), __('یهك بۆچوون ههیه'), __('% بۆچوون')); ?>
</div>
<!--
<?php trackback_rdf(); ?>
-->
</div>
<?php endwhile; else: ?>
<p><?php _e('ببوره هیچ بابهتێك نههاتوه'); ?></p>
<?php endif; ?>
<div class="navigation">
<div class="left"><?php next_posts_link('<span> « </span> پێشوو ') ?></div>
<div class="right"><?php previous_posts_link(' داهاتوو <span>»</span>') ?></div>
<div class="clear"></div>
</div>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Alles anzeigen
Es ist eine einfache Abfrage drin:
Wenn keine Page, dann Category.
Wenn Page, dann keine Category.
Also im Prinzip habe ich the_category nur um das erweitert:
<?php if (! is_page()) { ?><?php the_category(',') ?><?php } ?>
Am besten kopierst du nur diesen Code rein, da ein paar der kurdischen Schriftzeichen "kaputt" gegangen sein dürften.