سلام به دوستان.
توی قالب خبری مطالب تو صفحه نخست نمیاد؟
هرکاری کردم نشد که نشد.کد index:
<?php get_header(); ?>
<div class="main">
<div class="featured">
<div class="feat-top"></div>
<div class="feat-mid">
<?php $my_query = new WP_Query('category_name=feat&posts_per_page=1'); ?>
<?php while ($my_query->have_posts()) : $my_query->the_post(); ?>
<?php $thumb = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID) , ''); $img = $thumb[0]; ?>
<div class="feat-img"><a>"><img src="<?php bloginfo('template_directory'); ?>/timthumb.php?src=<?php echo $img ?>&w=192&&zc=1" alt="<?php the_title(); ?>" /></a></div>
<div class="text">
<h2><a>" rel="bookmark" title="<?php the_date() ?>: <?php the_time() ?>"><?php the_title(); ?></a></h2>
<div class="lead1">
<?php
$excerpt = get_the_excerpt();
echo string_limit_words($excerpt,80);
?>
</div>
</div>
<div class="clr"></div>
<?php endwhile; ?>
<?php wp_reset_query(); ?>
</div>
<div class="feat-bot"></div>
</div>
<div class="special">
<div class="spc-top">
<div class="spc-right"><div class="boxtitle">گزارش ويژه </div></div>
<div class="spc-left">
<a></a>
<a></a>
</div></div>
<!--<div class="clr"></div>-->
<div class="spc-mid">
<?php include('special.php'); ?>
</div>
<div class="spc-bot"></div>
</div>
<div class="bottom">
<div id="bottom-right">
<div class="note">
<div class="note-top"><div class="miniboxtitle">یادداشت</div></div>
<div class="note-mid">
<?php $my_query = new WP_Query('category_name=note&posts_per_page=5'); ?>
<?php while ($my_query->have_posts()) : $my_query->the_post(); ?>
<div class="note1">
<?php $newsimg = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID) , ''); $img = $newsimg[0]; ?>
<div class="note-img">
<a>"><img src="<?php bloginfo('template_directory'); ?>/timthumb.php?src=<?php echo $img ?>&w=50&h=59&zc=1" /></a>
</div>
<div class="lead1"><h2><a>" rel="bookmark" title="<?php the_date() ?> - <?php the_time() ?>"><?php the_title(); ?></a></h2><?php
$excerpt = get_the_excerpt();
echo string_limit_words($excerpt,10);
?></div>
</div>
<?php endwhile; ?>
<?php wp_reset_query(); ?>
</div>
<div class="note-bot"></div>
</div>
<div class="note">
<div class="note-top"><div class="miniboxtitle">گفتگو</div></div>
<div class="note-mid">
<?php $my_query = new WP_Query('category_name=talk&posts_per_page=5'); ?>
<?php while ($my_query->have_posts()) : $my_query->the_post(); ?>
<div class="note1">
<?php $newsimg = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID) , ''); $img = $newsimg[0]; ?>
<div class="note-img">
<a>"><img src="<?php bloginfo('template_directory'); ?>/timthumb.php?src=<?php echo $img ?>&w=50&h=59&zc=1" /></a>
</div>
<div class="lead1"><h2><a>" rel="bookmark" title="<?php the_date() ?> - <?php the_time() ?>"><?php the_title(); ?></a></h2><?php
$excerpt = get_the_excerpt();
echo string_limit_words($excerpt,10);
?></div>
</div>
<?php endwhile; ?>
<?php wp_reset_query(); ?>
</div>
<div class="note-bot"></div>
</div>
<div class="note">
<div class="note-top"><div class="miniboxtitle">پیام شما</div></div>
<div class="note-mid">
<!-- BEGIN MyShoutbox.com CODE -->
<iframe src="http://627881.myshoutbox.com/?extcss=http://beta.shamag.ir/wp-content/uploads/2011/05/sensegray.css" width="180" height="300" frameborder="0" allowTransparency="true"></iframe>
<!-- END MyShoutbox.com CODE-->
</div>
<div class="note-bot"></div>
</div>
</div>
<div id="bottom-left">
<div class="news">
<?php $news = new WP_Query('category_name=news&posts_per_page=13'); ?>
<?php while ($news->have_posts()) : $news->the_post(); ?>
<h2><a>" rel="bookmark" title="<?php the_date() ?> - <?php the_time() ?>"><?php the_title(); ?></a></h2>
<?php $newsimg = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID) , ''); $img = $newsimg[0]; ?>
<div class="news-img">
<a>"><img src="<?php bloginfo('template_directory'); ?>/timthumb.php?src=<?php echo $img ?>&w=65&h=97&zc=1" alt="<?php the_title(); ?>" /></a>
</div>
<div class="lead1"><?php
$excerpt = get_the_excerpt();
echo string_limit_words($excerpt,80);
?></div>
<div class="clr"></div>
<?php endwhile; ?>
</div>
</div>
<div class="clr"></div>
</div>
</div>
<div class="sidebar">
<?php if ( is_active_sidebar( 'main-widget-area' ) ) : ?>
<?php dynamic_sidebar( 'main-widget-area' ); ?>
<?php endif; ?>
<div class="single-tabber">
<?php include('tabber-home.php'); ?>
</div>
</div>
<div class="adv">
<div class="adv-top"></div>
<div class="adv-mid">
<?php if ( ! dynamic_sidebar( 'primary-widget-area' ) ) : ?>
<li>
<a href="http://hamedmalek.com"><img src="<?php bloginfo( 'stylesheet_directory' ); ?>/images/sing-adv-left.jpg"></a>
</li>
<?php endif; ?>
</div>
<div class="adv-bot"></div>
</div>
<div class="clr"></div>
<?php get_footer(); ?>
میگین چیکار کنم؟