Colocar código no Widget

<ul> <?php $recent = new WP_Query(“cat=5&showposts=10&order=desc&orderby=date”); while($recent->have_posts()) :

$recent->the_post();?> <li><a href=”<?php the_permalink(); ?>”><?php the_title(); ?></a></li>

<?php endwhile; ?> </ul>

 

APSW