<dl id="wlistb">   
        
		  <?php global $post; $args = array( 'posts_per_page' => 5 ,'cat' => '4,5,6,7' );
          $myposts = get_posts( $args );
          foreach( $myposts as $post ) {
            setup_postdata($post);
            ?>
            <?php $cat = get_the_category(); $cat = $cat[0]; ?>
            
              

<dt class="<?php echo $cat->category_nicename; ?>" id="post-<?php the_ID(); ?>" <?php post_class( 'post' ); ?>><?php the_time('Y.m.d') ?> </dt>


<dd><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></dd>

              
            
            <?php } wp_reset_postdata(); ?>
     </dl>

 

 

&nbsp;
<dl><!--?php foreach($my_posts as $post): setup_postdata($post); ?-->
 	<dt id="post-&lt;?php the_ID(); ?&gt;" class="&lt;?php echo $cat-&gt;category_nicename; ?&gt;">&gt;<!--?php the_time('Y.m.d') ?--></dt>
 	<dd><a href="”&lt;?php">”&gt;<!--?php the_title(); ?--></a></dd>
</dl>
<!--?php endforeach; ?-->
<!--?php wp_reset_postdata(); ?-->