Going Out $posts = get_posts (“cat=$cat&showposts=5”); if ($posts) { foreach ($posts as $post): setup_postdata($post); ?>