made post loop vars gloabal in show_recent_posts