Tüm kodum:
<!-- featured entries -->
<div id="slider2" class="sliderwrapper">
<?php $a = 1; $query1 = new WP_Query();$query1->query('showposts='.$theme_options["feaPostCount"].'&&cat='.$theme_options["featuredCatID"]); ?>
<?php while ($query1->have_posts()) : $query1->the_post(); ?>
<div class="contentdiv">
<a href="<?php the_permalink() ?>" rel="bookmark"><img src="<?php echo catch_that_image() ?> " alt="" height="270" width="495" /></a>
<h2 class="featuredTitle"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?> »</a></h2>
</div>
<?php $a++; endwhile; wp_reset_query(); ?>
</div>
<div id="paginate-slider2" class="pagination">
<?php $b = 1; $query2 = new WP_Query();$query2->query('showposts='.$theme_options["feaPostCount"].'&cat='.$theme_options["featuredCatID"]); ?>
<?php while ($query2->have_posts()) : $query2->the_post(); ?>
<a href="#" class="toc"><img src="<?php echo catch_that_image() ?> " alt="" height="50" width="75" /></a>
<?php $b++; endwhile; wp_reset_query(); ?>
<div class="clear"></div>
</div>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/javascript/slideItFeatured.js"></script>
<!-- End of featured entries -->10 sonuç çekiyor ben 6 tane göstermek istiyorum