<?php $my_query = new WP_Query('category_name=uncategorised&showposts=1');//Change the category name to any of your existing category name //
while ($my_query->have_posts()) : $my_query->the_post();$do_not_duplicate = $post->ID; ?>
<h2><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
<span class="cats"> Posted under <?php the_category(', '); ?> </span>
<div class="hentry">
<?php $homethumb = get_post_meta($post->ID,'homethumb', true); ?>
<img src="<?php bloginfo('url'); ?>/wp-content/uploads/<? echo strtolower($homethumb); ?>.jpg" width="200" height="120" >
<?php the_excerpt(); ?>
</div>
<?php endwhile; ?>
</div>
Tamam işte dostum burda "category_name" yazan yerlere ekliycen kategori isimlerini dikkatli bakarsan 6 tane böyle dizin var her dizine bir kategori ismi yazacan