<div id="mainTab">
<ul class="nav">
<li id="tab1" class="activeTab"> اخبار </li>
<li id="tab2">اطلاعیه و آگهی</li>
<li id="tab3">فرم ها و فایل ها</li>
<li id="tab4">خدمات الکترونیک</li>
<li id="tab5">مقالات پژوهشی</li>
<li id="tab6">نظرسنجی</li>
</ul>
<div class="list-wrap-top"></div>
<div class="list-wrap">
<!------------------ NEWS ----------- تب اول ----->
<div id="tab1_content" class="tab_content active">
<?php $my_query = new WP_Query('category_name=news&showposts=10');
if($my_query->have_posts()) : while ($my_query->have_posts()) : $my_query->the_post(); ?>
<div class="post"> <!-- Start Post -->
<div class="post-thumb">
<a target="_blank" href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
<?php the_post_thumbnail( 'micro-thumb', array( 'title' => the_title_attribute( 'echo=0' ), 'alt' => the_title_attribute( 'echo=0' ) ) ); ?> </a>
<span class="post-edit-link"><?php edit_post_link('[Edit Post]', '',''); ?></span>
</div> <!--END Thumb-->
<h2 class="post-title"><a target="_blank" href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
<div class="post-text"><?php the_content_rss('', TRUE, '', 40); ?> <?php /* the_content(); */ ?></div> <!--END posd-text -->
</div> <!-- END post -->
<?php endwhile; ?> <?php endif; ?>
<div id="page-navi"> <?php custome_pagination(); ?> </div> <!-- End Post-nav -->
<a style="float:left;" href="<?php bloginfo('url'); ?>/category/news">آرشیو اخبار</a>
<div class="clear"></div> <!--end clear div-->
<?php wp_reset_query(); ?>
</div> <!--End Tab Content-->
<!------------------ Etelaeeyeh & Aghahi ----------- تب دوم ------>
<div id="tab2_content" class="tab_content hide">
<div><a href="mozayedeh" style="font:14px NazaninB;color:red;margin:5px;">مناقصه ها و مزایده ها</a></div>
<?php query_posts('cat=2&post_status=publish&posts_per_page=10'); /*insert Etela Cat ID*/
if (have_posts()): ?> <?php while(have_posts()): the_post(); ?>
<div class="post"> <!-- Start Post -->
<div class="post-thumb">
<a target="_blank" href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
<?php the_post_thumbnail( 'micro-thumb', array( 'title' => the_title_attribute( 'echo=0' ), 'alt' => the_title_attribute( 'echo=0' ) ) ); ?> </a>
<span class="post-edit-link"><?php edit_post_link('[Edit Post]', '',''); ?></span>
</div> <!--END Thumb-->
<h2 class="post-title"><a target="_blank" href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
</div> <!-- END post -->
<?php endwhile; ?> <?php endif; ?>
<a href="<?php bloginfo('url'); ?>/category/notifications"><img class="tab-logo" src="<?php bloginfo('template_url'); ?>/images/etela-logo.jpg"/></a>
<div class="clear"></div> <!--end clear div-->
<?php wp_reset_query(); ?>
</div> <!--End Tab Content-->
<!------------------ Forms & Files ---------------------->
<div id="tab3_content" class="tab_content hide">
<?php if ( !function_exists('dynamic_sidebar')|| !dynamic_sidebar('forms-files') ) : ?><?php endif; ?>
</div> <!--End Tab Content-->
<!------------------ Electronics ------------------>
<div id="tab4_content" class="tab_content hide">
<?php if ( !function_exists('dynamic_sidebar')|| !dynamic_sidebar('electronics') ) : ?><?php endif; ?>
</div> <!--End Tab Content-->
<!------------------ Electronics ------------------>
<div id="tab5_content" class="tab_content hide">
<?php if ( !function_exists('dynamic_sidebar')|| !dynamic_sidebar('maghalat') ) : ?><?php endif; ?>
</div> <!--End Tab Content-->
<!----------------- Polls - نظرسنجی ------------>
<div id="tab6_content" class="tab_content hide">
<?php if ( !function_exists('dynamic_sidebar')|| !dynamic_sidebar('polls') ) : ?><?php endif; ?>
</div> <!--End Tab Content-->
<!----------------------------->
</div> <!-- END List Wrap -->
<div class="list-wrap-bottom"></div>
</div> <!-- mainTab -->
برام صفحه بندی تب اخبار توی اولویت هست. بعدش هم اگر بشود تب اطلاعیه ها.
خیلی ممنون